Round execution time

This commit is contained in:
Daniel Bovensiepen
2015-01-03 17:53:32 +08:00
parent 3dea108857
commit a3111f144c
+2 -1
View File
@@ -228,7 +228,8 @@ def report()
t_print("Crash: #{$kill_test}\n")
if Object.const_defined?(:Time)
t_print(" Time: #{Time.now - $test_start} seconds\n")
t_time = Time.now - $test_start
t_print(" Time: #{t_time.round(2)} seconds\n")
end
end