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
b1dd74d0
Commit
b1dd74d0
authored
Aug 25, 2008
by
Magnus Svensson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#39011 mtr reports test failure without any message or log - part 1
parent
cf1771ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
5 deletions
+14
-5
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+14
-5
No files found.
mysql-test/mysql-test-run.pl
View file @
b1dd74d0
...
...
@@ -3508,12 +3508,21 @@ sub report_failure_and_restart ($) {
if
(
!
defined
$tinfo
->
{
logfile
}
)
{
my
$logfile
=
$path_current_testlog
;
if
(
defined
$logfile
and
-
f
$logfile
)
if
(
defined
$logfile
)
{
# Test failure was detected by test tool and its report
# about what failed has been saved to file. Save the report
# in tinfo
$tinfo
->
{
logfile
}
=
mtr_fromfile
(
$logfile
);
if
(
-
f
$logfile
)
{
# Test failure was detected by test tool and its report
# about what failed has been saved to file. Save the report
# in tinfo
$tinfo
->
{
logfile
}
=
mtr_fromfile
(
$logfile
);
}
else
{
# The test tool report didn't exist, display an
# error message
$tinfo
->
{
logfile
}
=
"
Could not open test tool report '
$logfile
'
";
}
}
}
...
...
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