From 0c62b6d5652a66fa654e91dd27e0a16433920e5c Mon Sep 17 00:00:00 2001 From: Anel Husakovic Date: Thu, 30 Jun 2022 06:54:07 -0500 Subject: Format properly mtr report for the test case that is not completed - Fixes 29e8c154172bd6b9dccd9757fddace93be6ad194 (MDEV-25857) Review by: <@mariadb.com> --- mysql-test/mariadb-test-run.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mysql-test/mariadb-test-run.pl') diff --git a/mysql-test/mariadb-test-run.pl b/mysql-test/mariadb-test-run.pl index 1ee515c190a..4fb814a86e3 100755 --- a/mysql-test/mariadb-test-run.pl +++ b/mysql-test/mariadb-test-run.pl @@ -509,11 +509,12 @@ sub main { } if ( not @$completed ) { - my $test_name= mtr_grab_file($path_current_testlog); + my $test_name= mtr_grab_file($path_testlog); $test_name =~ s/^CURRENT_TEST:\s//; + chomp($test_name); my $tinfo = My::Test->new(name => $test_name); $tinfo->{result}= 'MTR_RES_FAILED'; - $tinfo->{logfile}=$path_current_testlog; + $tinfo->{comment}=' '; mtr_report_test($tinfo); mtr_error("Test suite aborted"); } -- cgit v1.2.1