From 0f2e81c2a4458ad0ec6bab2710952ac2c2bbf1af Mon Sep 17 00:00:00 2001 From: Aníbal Limón Date: Mon, 12 Jun 2017 16:41:17 -0500 Subject: oeqa/core/runner: Don't log details twice if test fails MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Richard Purdie --- meta/lib/oeqa/core/runner.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'meta/lib/oeqa') 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')) -- cgit 1.2.3-korg