Skip to content

Commit

Permalink
tester: Emit test duration
Browse files Browse the repository at this point in the history
  • Loading branch information
dinfuehr committed Nov 16, 2024
1 parent 415f148 commit 7ccac3e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tools/tester.rb
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,7 @@ def run_tests
passed = 0
failed = 0
ignore = 0
start_time = Time.now

threads = []

Expand Down Expand Up @@ -545,6 +546,12 @@ def run_tests
puts "#{passed}; #{failed}"
end

if !$stress
end_time = Time.now
duration = end_time - start_time
puts "Ran in %.1f seconds." % duration
end

ret_success
end

Expand Down

0 comments on commit 7ccac3e

Please sign in to comment.