Bug #26876 mysql-test-run.pl fails without sensible error if ndb/ exists in 5.1
Submitted: 6 Mar 2007 15:19 Modified: 19 Feb 2009 15:50
Reporter: Stewart Smith Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Tests Severity:S7 (Test Cases)
Version:5.1 OS:Any
Assigned to: Magnus Blåudd CPU Architecture:Any
Tags: 51rpl, new_mtr

[6 Mar 2007 15:19] Stewart Smith
Description:
mkdir ndb
cd mysql-test
./mysql-test-run.pl --do-test=ndb

get "Failed to find cluster binaries"

How to repeat:
see above

Suggested fix:
at least print a message in executable_setup_ndb() for verbose running of where it's looking for NDB binaries, or what binary (and path) it didn't find.

this probably just consumed 20+ minutes of my time.
[22 Dec 2007 3:39] Kent Boortz
If you have an ndb enabled server, and you don't
have any ndb binaries, you get this error message.
The output from "mysql-test-run.pl" could be more
clear, but it does tell the most important thing,
that it can't find the ndb binaries.

I think this could be handled in a more general
cleanup, as there are other cases where you also
want to know where this script searched for
things before failing.
[1 Aug 2008 13:48] Magnus Blåudd
New mtr.pl in 5.1-rpl will explicitly print the paths it looked in when it failed to find the binary.
[19 Feb 2009 15:50] Paul DuBois
Test suite changes. No changelog entry needed.