From 75bd9b6ce0095bdbab0e8732a953ccfafc156f11 Mon Sep 17 00:00:00 2001 From: Andrew Boie Date: Tue, 14 Jan 2020 15:04:06 -0800 Subject: [PATCH] sanitycheck: improve summary output 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 --- scripts/sanitycheck | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sanitycheck b/scripts/sanitycheck index ac202829ad78b7..bfbf67d6bbbdd0 100755 --- a/scripts/sanitycheck +++ b/scripts/sanitycheck @@ -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,