mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-23 19:31:44 +00:00
tests: fix output of end timestamp
This commit is contained in:
parent
4d81aa099c
commit
1cdbe9215e
@ -68,10 +68,11 @@ class Controller
|
||||
self.run_threads
|
||||
self.join_threads
|
||||
|
||||
duration = Time.now - start
|
||||
test_end = Time.now
|
||||
duration = test_end - start
|
||||
|
||||
show_message "#{@num_failed}/#{num_tests} failed (" + (num_tests > 0 ? (@num_failed * 100 / num_tests).to_s : "0") + "%). " +
|
||||
"Tests took #{duration}s (#{start.strftime("%Y-%m-%m %H:%M:%S")} – #{duration.strftime("%Y-%m-%m %H:%M:%S")})"
|
||||
"Tests took #{duration}s (#{start.strftime("%Y-%m-%m %H:%M:%S")} – #{test_end.strftime("%Y-%m-%m %H:%M:%S")})"
|
||||
end
|
||||
|
||||
def run_threads
|
||||
|
Loading…
Reference in New Issue
Block a user