Skip to content

Commit

Permalink
sanitycheck: improve summary output
Browse files Browse the repository at this point in the history
Show how many tests passed out of those that were actually
performed, not including skipped tests (which we also report
a count of)

Signed-off-by: Andrew Boie <[email protected]>
  • Loading branch information
Andrew Boie authored and nashif committed Jan 15, 2020
1 parent d3bdb67 commit 75bd9b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/sanitycheck
Original file line number Diff line number Diff line change
Expand Up @@ -2414,7 +2414,7 @@ class TestSuite:
"{}{} of {}{} tests passed ({:.2%}), {}{}{} failed, {} skipped with {}{}{} warnings in {:.2f} seconds".format(
Fore.RED if failed else Fore.GREEN,
self.total_tests - self.total_failed - self.total_skipped,
self.total_tests,
self.total_tests - self.total_skipped,
Fore.RESET,
pass_rate,
Fore.RED if self.total_failed else Fore.RESET,
Expand Down

0 comments on commit 75bd9b6

Please sign in to comment.