summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2017-06-12 16:41:17 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-13 10:46:34 +0100
commit3c5c8ccee1074d0b2ea02fe81dd24de01755d378 (patch)
tree0eb6eb350da6fd1c6bfc1010283bb2805342defc
parent5c987a34a388eace954052566d6903dfe328e9e7 (diff)
downloadpoky-3c5c8ccee1074d0b2ea02fe81dd24de01755d378.tar.gz
oeqa/core/runner: Don't log details twice if test fails
The details of a test failure is upper on the unittest output so don't log twice the actual failure. [YOCTO #11622] (From OE-Core rev: 0f2e81c2a4458ad0ec6bab2710952ac2c2bbf1af) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/core/runner.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/meta/lib/oeqa/core/runner.py b/meta/lib/oeqa/core/runner.py
index 532b25b98a..8a55c24c78 100644
--- a/meta/lib/oeqa/core/runner.py
+++ b/meta/lib/oeqa/core/runner.py
@@ -129,8 +129,6 @@ class OETestResult(_TestResult):
129 if fail: 129 if fail:
130 self.tc.logger.info("RESULTS - %s - Testcase %s: %s" % (case.id(), 130 self.tc.logger.info("RESULTS - %s - Testcase %s: %s" % (case.id(),
131 oeid, desc)) 131 oeid, desc))
132 if msg:
133 self.tc.logger.info(msg)
134 else: 132 else:
135 self.tc.logger.info("RESULTS - %s - Testcase %s: %s" % (case.id(), 133 self.tc.logger.info("RESULTS - %s - Testcase %s: %s" % (case.id(),
136 oeid, 'PASSED')) 134 oeid, 'PASSED'))