Loading .bzrignore +3 −0 Original line number Diff line number Diff line Loading @@ -1278,3 +1278,6 @@ include/openssl mysql-test/r/bdb.log mysql-test/r/im_client_port.log mysql-test/r/udf.log extra/yassl/taocrypt/benchmark/benchmark extra/yassl/taocrypt/test/test extra/yassl/testsuite/testsuite mysql-test/mysql-test-run.pl +44 −38 Original line number Diff line number Diff line Loading @@ -1223,6 +1223,7 @@ sub signal_setup () { $SIG{INT}= \&handle_int_signal; } sub handle_int_signal () { $SIG{INT}= 'DEFAULT'; # If we get a ^C again, we die... mtr_warning("got INT signal, cleaning up....."); Loading Loading @@ -1438,7 +1439,6 @@ sub check_ndbcluster_support () { return; } # FIXME why is there a different start below?! sub ndbcluster_install () { Loading @@ -1465,6 +1465,7 @@ sub ndbcluster_install () { return 0; } sub ndbcluster_start ($) { my $use_ndbcluster= shift; Loading Loading @@ -1497,6 +1498,7 @@ sub ndbcluster_start ($) { return 0; } sub ndbcluster_stop () { if ( ! $using_ndbcluster_master or $glob_use_running_ndbcluster ) { Loading Loading @@ -1594,6 +1596,7 @@ sub run_tests () { run_suite($opt_suite); } sub run_suite () { my $suite= shift; Loading Loading @@ -2125,6 +2128,7 @@ sub run_testcase ($) { } } # # Save a snapshot of the installed test db(s) # I.e take a snapshot of the var/ dir Loading Loading @@ -2161,6 +2165,7 @@ sub save_files_before_restore($$) { } } # # Restore snapshot of the installed test db(s) # if the snapshot exists Loading Loading @@ -2230,9 +2235,9 @@ sub report_failure_and_restart ($) { # ############################################################################## # The embedded server needs the cleanup so we do some of the start work # but stop before actually running mysqld or anything. sub do_before_start_master ($$) { my $tname= shift; my $init_script= shift; Loading Loading @@ -2272,6 +2277,7 @@ sub do_before_start_master ($$) { # chdir($glob_basedir); } sub do_before_start_slave ($$) { my $tname= shift; my $init_script= shift; Loading Loading @@ -2309,6 +2315,7 @@ sub do_before_start_slave ($$) { } } sub mysqld_arguments ($$$$$$) { my $args= shift; my $type= shift; # master/slave/bootstrap Loading Loading @@ -2532,14 +2539,6 @@ sub mysqld_arguments ($$$$$$) { return $args; } # FIXME # if ( $type eq 'master' and $glob_use_embedded_server ) # { # # Add a -A to each argument to pass it to embedded server # my @mysqltest_opt= map {("-A",$_)} @args; # $opt_extra_mysqltest_opt= \@mysqltest_opt; # return; # } ############################################################################## # Loading Loading @@ -2639,6 +2638,7 @@ sub mysqld_start ($$$$$) { return 0; } sub stop_masters_slaves () { print "Ending Tests\n"; Loading @@ -2656,6 +2656,7 @@ sub stop_masters_slaves () { print "Slave(s) shutdown finished\n"; } sub stop_masters () { my @args; Loading Loading @@ -2685,6 +2686,7 @@ sub stop_masters () { mtr_stop_mysqld_servers(\@args); } sub stop_slaves () { my $force= shift; Loading Loading @@ -2761,6 +2763,7 @@ sub im_start($$) { mtr_get_pid_from_file($instance_manager->{'path_pid'}); } sub im_stop($) { my $instance_manager = shift; Loading Loading @@ -2801,6 +2804,7 @@ sub im_stop($) { $instance_manager->{'pid'} = undef; } # # Run include/check-testcase.test # Before a testcase, run in record mode, save result file to var Loading Loading @@ -2849,6 +2853,7 @@ sub run_check_testcase ($) { } } sub run_mysqltest ($) { my $tinfo= shift; Loading Loading @@ -3185,6 +3190,7 @@ sub gdb_arguments { $$exe= "xterm"; } # # Modify the exe and args so that program is run in ddd # Loading Loading
.bzrignore +3 −0 Original line number Diff line number Diff line Loading @@ -1278,3 +1278,6 @@ include/openssl mysql-test/r/bdb.log mysql-test/r/im_client_port.log mysql-test/r/udf.log extra/yassl/taocrypt/benchmark/benchmark extra/yassl/taocrypt/test/test extra/yassl/testsuite/testsuite
mysql-test/mysql-test-run.pl +44 −38 Original line number Diff line number Diff line Loading @@ -1223,6 +1223,7 @@ sub signal_setup () { $SIG{INT}= \&handle_int_signal; } sub handle_int_signal () { $SIG{INT}= 'DEFAULT'; # If we get a ^C again, we die... mtr_warning("got INT signal, cleaning up....."); Loading Loading @@ -1438,7 +1439,6 @@ sub check_ndbcluster_support () { return; } # FIXME why is there a different start below?! sub ndbcluster_install () { Loading @@ -1465,6 +1465,7 @@ sub ndbcluster_install () { return 0; } sub ndbcluster_start ($) { my $use_ndbcluster= shift; Loading Loading @@ -1497,6 +1498,7 @@ sub ndbcluster_start ($) { return 0; } sub ndbcluster_stop () { if ( ! $using_ndbcluster_master or $glob_use_running_ndbcluster ) { Loading Loading @@ -1594,6 +1596,7 @@ sub run_tests () { run_suite($opt_suite); } sub run_suite () { my $suite= shift; Loading Loading @@ -2125,6 +2128,7 @@ sub run_testcase ($) { } } # # Save a snapshot of the installed test db(s) # I.e take a snapshot of the var/ dir Loading Loading @@ -2161,6 +2165,7 @@ sub save_files_before_restore($$) { } } # # Restore snapshot of the installed test db(s) # if the snapshot exists Loading Loading @@ -2230,9 +2235,9 @@ sub report_failure_and_restart ($) { # ############################################################################## # The embedded server needs the cleanup so we do some of the start work # but stop before actually running mysqld or anything. sub do_before_start_master ($$) { my $tname= shift; my $init_script= shift; Loading Loading @@ -2272,6 +2277,7 @@ sub do_before_start_master ($$) { # chdir($glob_basedir); } sub do_before_start_slave ($$) { my $tname= shift; my $init_script= shift; Loading Loading @@ -2309,6 +2315,7 @@ sub do_before_start_slave ($$) { } } sub mysqld_arguments ($$$$$$) { my $args= shift; my $type= shift; # master/slave/bootstrap Loading Loading @@ -2532,14 +2539,6 @@ sub mysqld_arguments ($$$$$$) { return $args; } # FIXME # if ( $type eq 'master' and $glob_use_embedded_server ) # { # # Add a -A to each argument to pass it to embedded server # my @mysqltest_opt= map {("-A",$_)} @args; # $opt_extra_mysqltest_opt= \@mysqltest_opt; # return; # } ############################################################################## # Loading Loading @@ -2639,6 +2638,7 @@ sub mysqld_start ($$$$$) { return 0; } sub stop_masters_slaves () { print "Ending Tests\n"; Loading @@ -2656,6 +2656,7 @@ sub stop_masters_slaves () { print "Slave(s) shutdown finished\n"; } sub stop_masters () { my @args; Loading Loading @@ -2685,6 +2686,7 @@ sub stop_masters () { mtr_stop_mysqld_servers(\@args); } sub stop_slaves () { my $force= shift; Loading Loading @@ -2761,6 +2763,7 @@ sub im_start($$) { mtr_get_pid_from_file($instance_manager->{'path_pid'}); } sub im_stop($) { my $instance_manager = shift; Loading Loading @@ -2801,6 +2804,7 @@ sub im_stop($) { $instance_manager->{'pid'} = undef; } # # Run include/check-testcase.test # Before a testcase, run in record mode, save result file to var Loading Loading @@ -2849,6 +2853,7 @@ sub run_check_testcase ($) { } } sub run_mysqltest ($) { my $tinfo= shift; Loading Loading @@ -3185,6 +3190,7 @@ sub gdb_arguments { $$exe= "xterm"; } # # Modify the exe and args so that program is run in ddd # Loading