mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
Don't print stats when test run is abort because of test failure
This commit is contained in:
parent
fcc697d29c
commit
b1d7f68443
1 changed files with 7 additions and 0 deletions
|
@ -291,6 +291,7 @@ sub main {
|
|||
mtr_print_thick_line();
|
||||
mtr_print_header();
|
||||
|
||||
my $num_tests= @$tests;
|
||||
my $completed= run_test_server($server, $tests, $opt_parallel);
|
||||
|
||||
# Send Ctrl-C to any children still running
|
||||
|
@ -308,6 +309,12 @@ sub main {
|
|||
}
|
||||
}
|
||||
|
||||
if ( @$completed != $num_tests){
|
||||
# Not all tests completed, failure
|
||||
mtr_error("Test failed.",
|
||||
"To continue, re-run with '--force'");
|
||||
}
|
||||
|
||||
mtr_verbose("Server exit\n");
|
||||
|
||||
mtr_print_line();
|
||||
|
|
Loading…
Reference in a new issue