We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4fbec1 commit 43dc423Copy full SHA for 43dc423
mysql-test/mariadb-test-run.pl
@@ -516,12 +516,15 @@ sub main {
516
517
if ( not @$completed ) {
518
my $test_name= mtr_grab_file($path_testlog);
519
- $test_name =~ s/^CURRENT_TEST:\s//;
520
- chomp($test_name);
521
- my $tinfo = My::Test->new(name => $test_name);
522
- $tinfo->{result}= 'MTR_RES_FAILED';
523
- $tinfo->{comment}=' ';
524
- mtr_report_test($tinfo);
+ if (defined($test_name))
+ {
+ $test_name =~ s/^CURRENT_TEST:\s//;
+ chomp($test_name);
+ my $tinfo = My::Test->new(name => $test_name);
+ $tinfo->{result}= 'MTR_RES_FAILED';
525
+ $tinfo->{comment}=' ';
526
+ mtr_report_test($tinfo);
527
+ }
528
mtr_error("Test suite aborted");
529
}
530
0 commit comments