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
84034458
Commit
84034458
authored
Jun 21, 2007
by
msvensson@pilot.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add name of test that generated the warning to "warnings" file
parent
c021fc9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
mysql-test/lib/mtr_report.pl
mysql-test/lib/mtr_report.pl
+6
-1
No files found.
mysql-test/lib/mtr_report.pl
View file @
84034458
...
@@ -272,6 +272,7 @@ sub mtr_report_stats ($) {
...
@@ -272,6 +272,7 @@ sub mtr_report_stats ($) {
{
{
foreach
my
$errlog
(
sort
glob
("
$::opt_vardir/log/*.err
")
)
foreach
my
$errlog
(
sort
glob
("
$::opt_vardir/log/*.err
")
)
{
{
my
$testname
=
"";
unless
(
open
(
ERR
,
$errlog
)
)
unless
(
open
(
ERR
,
$errlog
)
)
{
{
mtr_warning
("
can't read
$errlog
");
mtr_warning
("
can't read
$errlog
");
...
@@ -287,10 +288,14 @@ sub mtr_report_stats ($) {
...
@@ -287,10 +288,14 @@ sub mtr_report_stats ($) {
{
{
next
;
# Skip these lines
next
;
# Skip these lines
}
}
if
(
/CURRENT_TEST: (.*)/
)
{
$testname
=
$1
;
}
if
(
/$pattern/
)
if
(
/$pattern/
)
{
{
$found_problems
=
1
;
$found_problems
=
1
;
print
WARN
basename
(
$errlog
)
.
"
:
$_
";
print
WARN
basename
(
$errlog
)
.
"
:
$
testname
:
$
_
";
}
}
}
}
}
}
...
...
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