From 1123da436851f22100e9a69ac37a31b69ab0bfaf Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 13 Nov 2018 21:10:43 +0000 Subject: oeqa/runner: Always show a summary of success/fail/error/skip counts Its useful to have the counts of success/failure/error/skipped at the end of the results to allow for easier human reading of what happened. (From OE-Core rev: 5942318a261ce7a885f351e214669068ff9d8931) Signed-off-by: Richard Purdie --- meta/lib/oeqa/core/runner.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'meta/lib/oeqa/core/runner.py') diff --git a/meta/lib/oeqa/core/runner.py b/meta/lib/oeqa/core/runner.py index 9a64e494f4..0cb1a95c1e 100644 --- a/meta/lib/oeqa/core/runner.py +++ b/meta/lib/oeqa/core/runner.py @@ -61,9 +61,7 @@ class OETestResult(_TestResult): msg = "%s - OK - All required tests passed" % component else: msg = "%s - FAIL - Required tests failed" % component - skipped = len(self.skipped) - if skipped: - msg += " (skipped=%d)" % skipped + msg += " (successes=%d, skipped=%d, failures=%d, errors=%d)" % (len(self.successes), len(self.skipped), len(self.failures), len(self.errors)) self.tc.logger.info(msg) def _getTestResultDetails(self, case): -- cgit v1.2.3-54-g00ecf