aboutsummaryrefslogtreecommitdiffstats
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:31 +0100
commit0f2e81c2a4458ad0ec6bab2710952ac2c2bbf1af (patch)
treef8a86018ccf72c27b1d046c45e136f1ab3c23aec
parent2a6fe7c6c1e113d930ddc8e06717747a779b46f1 (diff)
downloadopenembedded-core-contrib-0f2e81c2a4458ad0ec6bab2710952ac2c2bbf1af.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] 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):
if fail:
self.tc.logger.info("RESULTS - %s - Testcase %s: %s" % (case.id(),
oeid, desc))
- if msg:
- self.tc.logger.info(msg)
else:
self.tc.logger.info("RESULTS - %s - Testcase %s: %s" % (case.id(),
oeid, 'PASSED'))