Skip to content

Commit dc2a858

Browse files
committed
MDEV-22270 JUnit patch: test name contains classname
1 parent 2748c49 commit dc2a858

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mysql-test/lib/mtr_report.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,7 @@ sub mtr_report_stats ($$$$) {
466466
}
467467

468468
$test_time = sprintf("%.3f", $test->{timer} / 1000);
469+
$test->{'name'} =~ s/$current_suite\.//;
469470
$xml_report .= qq(\t\t<testcase assertions="" classname="$current_suite" name="$test->{'name'}" status="$test->{'result'}" time="$test_time");
470471

471472
my $comment = $test->{'comment'};

0 commit comments

Comments
 (0)