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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
1cffb192
Commit
1cffb192
authored
Dec 12, 2012
by
sayantan.dutta@oracle.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #14737171:MTR DOES NOT PRESERVE TEST CASE LOGS ON RETRY-FAIL
parent
7ff0d02d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+3
-1
No files found.
mysql-test/mysql-test-run.pl
View file @
1cffb192
...
...
@@ -616,7 +616,9 @@ sub run_test_server ($$$) {
else
{
mtr_report
("
\n
Retrying test
$tname
,
"
.
"
attempt(
$retries
/
$opt_retry
)...
\n
");
my
$log_file_name
=
$opt_vardir
.
"
/log/
"
.
$result
->
{
shortname
}
.
"
.log
";
#saving the log file as filename.failed in case of retry
my
$worker_logdir
=
$result
->
{
savedir
};
my
$log_file_name
=
dirname
(
$worker_logdir
)
.
"
/
"
.
$result
->
{
shortname
}
.
"
.log
";
rename
$log_file_name
,
$log_file_name
.
"
.failed
";
delete
(
$result
->
{
result
});
$result
->
{
retries
}
=
$retries
+
1
;
...
...
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