Fix div 0 error and add new tests to list

This commit is contained in:
Kegan Dougal 2020-06-26 11:34:25 +01:00
parent 4897beabee
commit 9592d53364
2 changed files with 7 additions and 1 deletions

View file

@ -159,6 +159,8 @@ def print_stats(header_name, gid_to_tests, gid_to_name, verbose):
total_tests = 0
for gid, tests in gid_to_tests.items():
group_total = len(tests)
if group_total == 0:
continue
group_passing = 0
test_names_and_marks = []
for name, passing in tests.items():