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
b6296a9c
Commit
b6296a9c
authored
Jun 11, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Print total time spent exectuing test cases
parent
36495cba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
mysql-test/lib/mtr_report.pl
mysql-test/lib/mtr_report.pl
+3
-2
No files found.
mysql-test/lib/mtr_report.pl
View file @
b6296a9c
...
@@ -108,7 +108,7 @@ sub mtr_report_test_passed ($) {
...
@@ -108,7 +108,7 @@ sub mtr_report_test_passed ($) {
if
(
$::opt_timer
and
-
f
"
$::opt_vardir/log/timer
"
)
if
(
$::opt_timer
and
-
f
"
$::opt_vardir/log/timer
"
)
{
{
$timer
=
mtr_fromfile
("
$::opt_vardir/log/timer
");
$timer
=
mtr_fromfile
("
$::opt_vardir/log/timer
");
$::glob_tot_real_time
+=
$timer
;
$::glob_tot_real_time
+=
(
$timer
/
1000
)
;
$timer
=
sprintf
"
%12s
",
$timer
;
$timer
=
sprintf
"
%12s
",
$timer
;
}
}
$tinfo
->
{'
result
'}
=
'
MTR_RES_PASSED
';
$tinfo
->
{'
result
'}
=
'
MTR_RES_PASSED
';
...
@@ -204,7 +204,8 @@ sub mtr_report_stats ($) {
...
@@ -204,7 +204,8 @@ sub mtr_report_stats ($) {
"
http://www.mysql.com/doc/en/MySQL_test_suite.html
\n
";
"
http://www.mysql.com/doc/en/MySQL_test_suite.html
\n
";
}
}
print
print
"
The servers were restarted
$tot_restarts
times
\n
";
"
The servers were restarted
$tot_restarts
times
\n
",
"
Spent $::glob_tot_real_time seconds actually executing testcases
\n
";
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
# If a debug run, there might be interesting information inside
# If a debug run, there might be interesting information inside
...
...
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