diff options
author | unknown <msvensson@neptunus.(none)> | 2006-06-11 19:03:33 +0200 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2006-06-11 19:03:33 +0200 |
commit | b6296a9cc002e434d9d61c50d3c57678625bc83d (patch) | |
tree | 490eb8e8ea773fa305fe1df1a87c21c816cc6ccf /mysql-test/lib | |
parent | 36495cba3ba65bb92d7388c67aae9ba056611ac0 (diff) | |
download | mariadb-git-b6296a9cc002e434d9d61c50d3c57678625bc83d.tar.gz |
Print total time spent exectuing test cases
Diffstat (limited to 'mysql-test/lib')
-rw-r--r-- | mysql-test/lib/mtr_report.pl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mysql-test/lib/mtr_report.pl b/mysql-test/lib/mtr_report.pl index d79c9bcc622..20ec6bc09e4 100644 --- a/mysql-test/lib/mtr_report.pl +++ b/mysql-test/lib/mtr_report.pl @@ -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 |