diff options
author | Rasmus Johansson <razze@iki.fi> | 2020-04-17 08:28:31 +0000 |
---|---|---|
committer | Rasmus Johansson <razze@iki.fi> | 2020-05-04 15:53:04 +0000 |
commit | dc2a858bed2ba12080f915a2550e5d46286e52a1 (patch) | |
tree | da9dc502127066a735d341bad884b8f6e41911e1 /mysql-test/lib | |
parent | 2748c4993c68aa4b03049a97f3657de42dd01c52 (diff) | |
download | mariadb-git-dc2a858bed2ba12080f915a2550e5d46286e52a1.tar.gz |
MDEV-22270 JUnit patch: test name contains classname
Diffstat (limited to 'mysql-test/lib')
-rw-r--r-- | mysql-test/lib/mtr_report.pm | 1 |
1 files changed, 1 insertions, 0 deletions
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<testcase assertions="" classname="$current_suite" name="$test->{'name'}" status="$test->{'result'}" time="$test_time"); my $comment = $test->{'comment'}; |