summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/core/runner.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-13 21:10:43 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-16 14:31:27 +0000
commit1123da436851f22100e9a69ac37a31b69ab0bfaf (patch)
tree638d0a3d8e15b5911fa5d1adc60ea8a98a8b509d /meta/lib/oeqa/core/runner.py
parented5c12f11f7e18006f2de9eace333523ffb07002 (diff)
downloadpoky-1123da436851f22100e9a69ac37a31b69ab0bfaf.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: 5942318a261ce7a885f351e214669068ff9d8931) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/core/runner.py')
-rw-r--r--meta/lib/oeqa/core/runner.py4
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):
61 msg = "%s - OK - All required tests passed" % component 61 msg = "%s - OK - All required tests passed" % component
62 else: 62 else:
63 msg = "%s - FAIL - Required tests failed" % component 63 msg = "%s - FAIL - Required tests failed" % component
64 skipped = len(self.skipped) 64 msg += " (successes=%d, skipped=%d, failures=%d, errors=%d)" % (len(self.successes), len(self.skipped), len(self.failures), len(self.errors))
65 if skipped:
66 msg += " (skipped=%d)" % skipped
67 self.tc.logger.info(msg) 65 self.tc.logger.info(msg)
68 66
69 def _getTestResultDetails(self, case): 67 def _getTestResultDetails(self, case):