Skip to content

Commit

Permalink
tests: Change test result statistics condition
Browse files Browse the repository at this point in the history
As it comes with more combinations of compiler and flags,
it's better to update the condition to print the test stats.
Specifically we want to print it when there are more than
300 test runs or more than 10 kind of tests were run.

Fixed: #1770

Signed-off-by: Jungmin Kim <jungmin82@gmail.com>
  • Loading branch information
coyotek authored and namhyung committed Jul 30, 2023
1 parent b2ab34d commit 9a85495
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/runtest.py
Expand Up @@ -1135,5 +1135,5 @@ class dotdict(dict):
sys.stdout.write("\n")
sys.stdout.flush()

if shared.total >= 30:
if shared.progress >= 10 or shared.total >= 300:
print_test_report(color, shared)

0 comments on commit 9a85495

Please sign in to comment.