From dc2a858bed2ba12080f915a2550e5d46286e52a1 Mon Sep 17 00:00:00 2001 From: Rasmus Johansson Date: Fri, 17 Apr 2020 08:28:31 +0000 Subject: MDEV-22270 JUnit patch: test name contains classname --- mysql-test/lib/mtr_report.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/mysql-test/lib/mtr_report.pm b/mysql-test/lib/mtr_report.pm index a3282704dd2..6c65982bafa 100644 --- a/mysql-test/lib/mtr_report.pm +++ b/mysql-test/lib/mtr_report.pm @@ -466,6 +466,7 @@ sub mtr_report_stats ($$$$) { } $test_time = sprintf("%.3f", $test->{timer} / 1000); + $test->{'name'} =~ s/$current_suite\.//; $xml_report .= qq(\t\t{'comment'}; -- cgit v1.2.1