Bug #40602 mysql-test-run --start-from doesn't run any tests anymore
Submitted: 9 Nov 2008 17:58 Modified: 19 Jun 2009 12:13
Reporter: Sergey Petrunya Email Updates:
Status: Can't repeat Impact on me:
None 
Category:Tools: MTR / mysql-test-run Severity:S3 (Non-critical)
Version:6.0.9-bzr OS:Any
Assigned to: Bjørn Munch CPU Architecture:Any
Tags: regression

[9 Nov 2008 17:58] Sergey Petrunya
Description:
mysql-test-run --start-from=testname doesn't work anymore - it runs zero tests no matter what test name I specify.

How to repeat:
Run mysql-test-run --start-from=something  and see something like this:

[spetrunia@dl145s mysql-test]$ ./mysql-test-run --start-from=select
Logging: ./mysql-test-run --start-from=select
MySQL Version 6.0.9
Using dynamic switching of binlog format
Using ndbcluster when necessary, mysqld supports it
Setting mysqld to support SSL connections
Binaries are debug compiled
Using MTR_BUILD_THREAD      = 0
Using MASTER_MYPORT         = 9306
Using MASTER_MYPORT1        = 9307
Using SLAVE_MYPORT          = 9308
Using SLAVE_MYPORT1         = 9309
Using SLAVE_MYPORT2         = 9310
Using NDBCLUSTER_PORT       = 9311
Using NDBCLUSTER_PORT_SLAVE = 9312
 - adding combinations
 - adding combinations
Killing Possible Leftover Processes
Removing Stale Files
Creating Directories
Installing Master Database
Installing Master Database
Installing Slave1 Database
Installing Master Cluster
Installing Slave Cluster
=======================================================

TEST                           RESULT         TIME (ms)
-------------------------------------------------------

-------------------------------------------------------
Stopping All Servers
All 0 tests were successful.
The servers were restarted 0 times
Spent 0.000 of 52 seconds executing testcases

Suggested fix:
Find who/what broke it and make it work again.
[9 Nov 2008 17:59] Sergey Petrunya
Works in main 5.0 tree from about a week ago.  Didn't check 5.1.
[10 Nov 2008 5:29] Valeriy Kravchuk
Verified with recent 6.0-bzr. Works as expected with recent 5.0-bzr anf 5.1-bzr.
[19 Jun 2009 12:13] Bjørn Munch
Seems to work in both 5.1 and 6.0 branches now