summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnel Husakovic <anel@mariadb.org>2022-06-30 06:54:07 -0500
committerAnel Husakovic <anel@mariadb.org>2022-07-01 05:25:12 -0500
commit2e449a62783bfe4b9dac1df78cc7cadc3b46a1d1 (patch)
treed3c4454dadb6fd8bae8743c8c4fcf0c100e6c074
parent90792e4a437e68be86627797229d54e82648cc25 (diff)
downloadmariadb-git-bb-10.6-anel-mtr-not-completed-test.tar.gz
Format properly mtr report for the test case that is not completedbb-10.6-anel-mtr-not-completed-test
- Fixes 29e8c154172bd6b9dccd9757fddace93be6ad194 (MDEV-25857) Review by: <@mariadb.com>
-rwxr-xr-xmysql-test/mariadb-test-run.pl5
1 files changed, 3 insertions, 2 deletions
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");
}