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-Tag: 2018-10.4-thud~435 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=5bc862d8f16df5611537cb51da95812e519c61f6;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. (From OE-Core rev: 080d8900d470a8e7f929b0c5c2765ad461744fbb) Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oeqa/core/runner.py b/meta/lib/oeqa/core/runner.py index 034f223240..e8f9ee0109 100644 --- a/meta/lib/oeqa/core/runner.py +++ b/meta/lib/oeqa/core/runner.py @@ -76,9 +76,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):