From: Richard Purdie Date: Tue, 13 Nov 2018 21:10:43 +0000 (+0000) Subject: oeqa/runner: Always show a summary of success/fail/error/skip counts X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=5942318a261ce7a885f351e214669068ff9d8931;p=openembedded-core.git 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. Signed-off-by: Richard Purdie --- 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):