diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-11-13 21:10:43 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-11-14 11:14:40 +0000 |
commit | cc08d4bad268aa24f1b6db4b831c5ba65d6e74b1 (patch) | |
tree | 1f0230e7eacfc5c5dad13ff9e1a9cfaf3a8d498d /meta | |
parent | 0577d02faecb0f76045863c33598edc426ee9534 (diff) | |
download | poky-cc08d4bad268aa24f1b6db4b831c5ba65d6e74b1.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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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): |