Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
a6b4d4be
Commit
a6b4d4be
authored
May 20, 2020
by
Rasmus Johansson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-22631 fix
parent
6b2c8cac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
mysql-test/lib/mtr_report.pm
mysql-test/lib/mtr_report.pm
+11
-1
No files found.
mysql-test/lib/mtr_report.pm
View file @
a6b4d4be
...
@@ -467,7 +467,17 @@ sub mtr_report_stats ($$$$) {
...
@@ -467,7 +467,17 @@ sub mtr_report_stats ($$$$) {
$test_time
=
sprintf
("
%.3f
",
$test
->
{
timer
}
/
1000
);
$test_time
=
sprintf
("
%.3f
",
$test
->
{
timer
}
/
1000
);
$test
->
{'
name
'}
=~
s/$current_suite\.//
;
$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
$test_result
;
# if a test case has to be retried it should have the result MTR_RES_FAILED in jUnit XML
if
(
$test
->
{'
retries
'}
>
0
)
{
$test_result
=
"
MTR_RES_FAILED
";
}
else
{
$test_result
=
$test
->
{'
result
'};
}
$xml_report
.=
qq(\t\t<testcase assertions="" classname="$current_suite" name="$test->{'name'}" status="$test_result" time="$test_time")
;
my
$comment
=
$test
->
{'
comment
'};
my
$comment
=
$test
->
{'
comment
'};
$comment
=~
s/[\"]//g
;
$comment
=~
s/[\"]//g
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment