We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3fb858 commit 01ce679Copy full SHA for 01ce679
scripts/ctest_parser.py
@@ -24,7 +24,7 @@ def get_cts_test_suite_names(working_directory):
24
]
25
26
def percent(amount, total):
27
- return round((amount / total) * 100, 2)
+ return round((amount / (total or 1)) * 100, 2)
28
29
def summarize_results(results):
30
total = results['Total']
0 commit comments