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
86487223
Commit
86487223
authored
Jun 11, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Print total time spent exectuing test cases
parent
582bf12f
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 @
86487223
...
...
@@ -108,7 +108,7 @@ sub mtr_report_test_passed ($) {
if
(
$::opt_timer
and
-
f
"
$::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
;
}
$tinfo
->
{'
result
'}
=
'
MTR_RES_PASSED
';
...
...
@@ -204,7 +204,8 @@ sub mtr_report_stats ($) {
"
http://www.mysql.com/doc/en/MySQL_test_suite.html
\n
";
}
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
...
...
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