diff options
author | unknown <kent@mysql.com> | 2005-08-25 16:25:54 +0200 |
---|---|---|
committer | unknown <kent@mysql.com> | 2005-08-25 16:25:54 +0200 |
commit | d45a6828957db3fa8ecd012a71878b11adb5943b (patch) | |
tree | 32d9c12b59118f113d0d57f40a7c8649e31d991d /mysql-test/mysql-test-run.pl | |
parent | 077c842032f67d4fbcf67b45207fa2ea482ef69f (diff) | |
download | mariadb-git-d45a6828957db3fa8ecd012a71878b11adb5943b.tar.gz |
mtr_process.pl:
Call mtr_timer_stop_all() at exit
mtr_report.pl, mysql-test-run.pl:
Added default/ps-protocol/embedded to abort and summary line
mtr_timer.pl:
Added function mtr_timer_stop_all()
mysql-test/mysql-test-run.pl:
Added default/ps-protocol/embedded to abort and summary line
mysql-test/lib/mtr_timer.pl:
Added function mtr_timer_stop_all()
mysql-test/lib/mtr_report.pl:
Added default/ps-protocol/embedded to abort and summary line
mysql-test/lib/mtr_process.pl:
Call mtr_timer_stop_all() at exit
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-x | mysql-test/mysql-test-run.pl | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index 25bc63a57eb..a59cce4b0eb 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -142,6 +142,7 @@ our $glob_timers= undef; our $glob_use_running_server= 0; our $glob_use_running_ndbcluster= 0; our $glob_use_embedded_server= 0; +our @glob_test_mode; our $glob_basedir; @@ -606,6 +607,7 @@ sub command_line_setup () { if ( $opt_embedded_server ) { $glob_use_embedded_server= 1; + push(@glob_test_mode, "embedded"); $opt_skip_rpl= 1; # We never run replication with embedded if ( $opt_extern ) @@ -614,6 +616,11 @@ sub command_line_setup () { } } + if ( $opt_ps_protocol ) + { + push(@glob_test_mode, "ps-protocol"); + } + # FIXME don't understand what this is # if ( $opt_local_master ) # { @@ -1562,8 +1569,9 @@ sub report_failure_and_restart ($) { print "\n"; if ( ! $opt_force ) { - print "Aborting: $tinfo->{'name'} failed. To continue, re-run with '--force'."; - print "\n"; + my $test_mode= join(" ", @::glob_test_mode) || "default"; + print "Aborting: $tinfo->{'name'} failed in $test_mode mode. "; + print "To continue, re-run with '--force'.\n"; if ( ! $opt_gdb and ! $glob_use_running_server and ! $opt_ddd and ! $glob_use_embedded_server ) { |