[oe-commits] [openembedded-core] 10/11: oeqa/core/runner: Don't log details twice if test fails

git at git.openembedded.org git at git.openembedded.org
Tue Jun 13 09:47:45 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 0f2e81c2a4458ad0ec6bab2710952ac2c2bbf1af
Author: Aníbal Limón <anibal.limon at linux.intel.com>
AuthorDate: Mon Jun 12 16:41:17 2017 -0500

    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 at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/lib/oeqa/core/runner.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta/lib/oeqa/core/runner.py b/meta/lib/oeqa/core/runner.py
index 532b25b..8a55c24 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'))

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list