From: Bjorn Munch Date: July 1 2011 11:18am Subject: bzr push into mysql-5.5-mtr branch (bjorn.munch:3223 to 3225) List-Archive: http://lists.mysql.com/commits/140145 Message-Id: <201107011118.p61BIrMK008581@khepri15.norway.sun.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 3225 Bjorn Munch 2011-07-01 [merge] null upmerge 11757091 3224 Bjorn Munch 2011-06-30 11766640 addendum: disable unit tests in MTR with --do-test or --start-from modified: mysql-test/lib/mtr_cases.pm mysql-test/mysql-test-run.pl 3223 Bjorn Munch 2011-06-29 [merge] null upmerge === modified file 'mysql-test/lib/mtr_cases.pm' --- a/mysql-test/lib/mtr_cases.pm 2011-05-24 08:54:34 +0000 +++ b/mysql-test/lib/mtr_cases.pm 2011-06-30 14:51:02 +0000 @@ -111,6 +111,9 @@ sub collect_test_cases ($$$$) { my $opt_skip_test_list= shift; my $cases= []; # Array of hash(one hash for each testcase) + # Unit tests off by default also if using --do-test or --start-from + $::opt_ctest= 0 if $::opt_ctest == -1 && ($do_test || $start_from); + $do_test_reg= init_pattern($do_test, "--do-test"); $skip_test_reg= init_pattern($skip_test, "--skip-test"); === modified file 'mysql-test/mysql-test-run.pl' --- a/mysql-test/mysql-test-run.pl 2011-06-16 13:55:11 +0000 +++ b/mysql-test/mysql-test-run.pl 2011-06-30 14:51:02 +0000 @@ -197,7 +197,7 @@ our $opt_debug_server; our @opt_cases; # The test cases names in argv our $opt_embedded_server; # -1 indicates use default, override with env.var. -my $opt_ctest= env_or_val(MTR_UNIT_TESTS => -1); +our $opt_ctest= env_or_val(MTR_UNIT_TESTS => -1); # Unit test report stored here for delayed printing my $ctest_report; No bundle (reason: useless for push emails).