瀏覽代碼

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>
Aníbal Limón 8 年之前
父節點
當前提交
3c5c8ccee1
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      meta/lib/oeqa/core/runner.py

+ 0 - 2
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'))