diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-11-13 21:10:43 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-16 14:31:33 +0000 |
commit | 359ce89adfa8d437c43eff9f665d5fc45512f11f (patch) | |
tree | 0c09185470b0fbcc535cbb0154e1672c13f86c79 | |
parent | 510e6e2143c86deda8ad88d451e234e18e08811f (diff) | |
download | poky-359ce89adfa8d437c43eff9f665d5fc45512f11f.tar.gz |
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)
(From OE-Core rev: 5bc862d8f16df5611537cb51da95812e519c61f6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/lib/oeqa/core/runner.py | 4 |
1 files changed, 1 insertions, 3 deletions
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): | |||
76 | msg = "%s - OK - All required tests passed" % component | 76 | msg = "%s - OK - All required tests passed" % component |
77 | else: | 77 | else: |
78 | msg = "%s - FAIL - Required tests failed" % component | 78 | msg = "%s - FAIL - Required tests failed" % component |
79 | skipped = len(self.skipped) | 79 | msg += " (successes=%d, skipped=%d, failures=%d, errors=%d)" % (len(self.successes), len(self.skipped), len(self.failures), len(self.errors)) |
80 | if skipped: | ||
81 | msg += " (skipped=%d)" % skipped | ||
82 | self.tc.logger.info(msg) | 80 | self.tc.logger.info(msg) |
83 | 81 | ||
84 | def _getTestResultDetails(self, case): | 82 | def _getTestResultDetails(self, case): |