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
d4aadb06
Commit
d4aadb06
authored
Nov 21, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get name for .reject and .log files from result file name
parent
0bfad0da
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
mysql-test/lib/mtr_report.pl
mysql-test/lib/mtr_report.pl
+6
-1
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+1
-1
No files found.
mysql-test/lib/mtr_report.pl
View file @
d4aadb06
...
@@ -34,7 +34,12 @@ sub mtr_verbose (@);
...
@@ -34,7 +34,12 @@ sub mtr_verbose (@);
# We can't use diff -u or diff -a as these are not portable
# We can't use diff -u or diff -a as these are not portable
sub
mtr_show_failed_diff
($)
{
sub
mtr_show_failed_diff
($)
{
my
$tname
=
shift
;
my
$result_file_name
=
shift
;
# The reject and log files have been dumped to
# to filenames based on the result_file's name
my
$tname
=
basename
(
$result_file_name
);
$tname
=~
s/\..*$//
;
my
$reject_file
=
"
r/
$tname
.reject
";
my
$reject_file
=
"
r/
$tname
.reject
";
my
$result_file
=
"
r/
$tname
.result
";
my
$result_file
=
"
r/
$tname
.result
";
...
...
mysql-test/mysql-test-run.pl
View file @
d4aadb06
...
@@ -3203,7 +3203,7 @@ sub report_failure_and_restart ($) {
...
@@ -3203,7 +3203,7 @@ sub report_failure_and_restart ($) {
my
$tinfo
=
shift
;
my
$tinfo
=
shift
;
mtr_report_test_failed
(
$tinfo
);
mtr_report_test_failed
(
$tinfo
);
mtr_show_failed_diff
(
$tinfo
->
{'
nam
e
'});
mtr_show_failed_diff
(
$tinfo
->
{'
result_fil
e
'});
print
"
\n
";
print
"
\n
";
if
(
$opt_force
)
if
(
$opt_force
)
{
{
...
...
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