Bug #24274 option "--big-test" of mysql-test-run.pl does not work anymore
Submitted: 13 Nov 2006 18:43 Modified: 13 Dec 2006 19:46
Reporter: Hakan Küçükyılmaz Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Tests Severity:S7 (Test Cases)
Version:5.1.13 OS:Linux (Linux)
Assigned to: Magnus Blåudd CPU Architecture:Any

[13 Nov 2006 18:43] Hakan Küçükyılmaz
Description:
The --big-test switch does not work anymore for mysql-test-run.pl

How to repeat:
Create test file big_test.test

hakan@lu0008:~/work/mysql/mysql-5.1/mysql-test> more t/big_test.test
# Test whether --big-test switch of mysql-test-run.pl works

--source include/big_test.inc

Try to run it with mysql-test-run.pl

hakan@lu0008:~/work/mysql/mysql-5.1/mysql-test> ./mysql-test-run.pl big_test
Logging: ./mysql-test-run.pl big_test
MySQL Version 5.1.14
Using binlog format 'mixed'
Skipping ndbcluster, mysqld not compiled with ndbcluster
Setting mysqld to support SSL connections
Binaries are debug compiled
Killing Possible Leftover Processes
Removing Stale Files
Installing Master Database
Installing Master Database
=======================================================
Starting Tests in the 'main' suite

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

big_test                       [ skipped ]   Test need 'big-test' option
-------------------------------------------------------
Stopping All Servers
All 0 tests were successful.
The servers were restarted 0 times
Spent 0 seconds actually executing testcases

Which means we need the --big-test switch. Let's try it with the switch:
hakan@lu0008:~/work/mysql/mysql-5.1/mysql-test> ./mysql-test-run.pl --big-test big_test
Logging: ./mysql-test-run.pl --big-test big_test
MySQL Version 5.1.14
Using binlog format 'mixed'
Skipping ndbcluster, mysqld not compiled with ndbcluster
Setting mysqld to support SSL connections
Binaries are debug compiled
Killing Possible Leftover Processes
Removing Stale Files
Installing Master Database
Installing Master Database
=======================================================
Starting Tests in the 'main' suite

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

big_test                       [ fail ]

Errors are (from /home/hakan/work/mysql/mysql-5.1/mysql-test/var/log/mysqltest-time) :
/home/hakan/work/mysql/mysql-5.1/client/.libs/lt-mysqltest: unknown option '--big-test'
(the last lines may be the most important ones)

Aborting: big_test failed in default mode. To continue, re-run with '--force'.
Stopping All Servers

Regards, Hakan
[14 Nov 2006 9:27] Valeriy Kravchuk
Thank you for a bug report. Verified just as described with 5.1.13-BK on Linux.
[17 Nov 2006 10:01] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/15478

ChangeSet@1.2316, 2006-11-17 11:01:09+01:00, msvensson@neptunus.(none) +2 -0
  Bug#24274  option "--big-test" of mysql-test-run.pl does not work anymore
   - Set environment variable BIG_TEST when using --big-test
   - Skip comment lines when looking for features a test case supports.
[17 Nov 2006 12:14] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/15483

ChangeSet@1.2553, 2006-11-17 13:14:07+01:00, msvensson@neptunus.(none) +2 -0
  BUG#24274 option "--big-test" of mysql-test-run.pl does not work anymore
[13 Dec 2006 19:46] Paul DuBois
No changelog entry needed.