test.py: Show progress of tests in numbers

This commit is contained in:
SaiMyGuy (GCI 2019)
2020-02-02 17:50:37 +05:30
committed by Mohit P. Tahiliani
parent 8b2f8e8abe
commit 6a2d9d1bed

View File

@@ -1744,6 +1744,7 @@ def run_tests():
status = "CRASH"
status_print = colors.PINK + status + colors.NORMAL
print("[%d/%d]" % (passed_tests + failed_tests + skipped_tests + crashed_tests, total_tests), end=' ')
if options.duration or options.constrain == "performance":
print("%s (%.3f): %s %s" % (status_print, job.elapsed_time, kind, job.display_name))
else: