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-06 13:49:11 +0000 |
commit | 5942318a261ce7a885f351e214669068ff9d8931 (patch) | |
tree | 00a4f58738bfbdc8ce59fec033c90cd0b73c2e70 /meta/lib | |
parent | 526ceab9d0e43f73635bb92e8dd7763ef75ad33b (diff) | |
download | openembedded-core-contrib-5942318a261ce7a885f351e214669068ff9d8931.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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-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 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): |