[OE-core] [PATCH 1/2] oeqa/runner: Use the proper logger functions instead of print()
Richard Purdie
richard.purdie at linuxfoundation.org
Thu Aug 23 06:32:14 UTC 2018
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/lib/oeqa/core/runner.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/core/runner.py b/meta/lib/oeqa/core/runner.py
index 6650a63ce73..73f41d9f1cf 100644
--- a/meta/lib/oeqa/core/runner.py
+++ b/meta/lib/oeqa/core/runner.py
@@ -54,7 +54,7 @@ class OETestResult(_TestResult):
self.endtime[test.id()] = time.time()
super(OETestResult, self).stopTest(test)
if test.id() in self.progressinfo:
- print(self.progressinfo[test.id()])
+ self.tc.logger.info(self.progressinfo[test.id()])
def logSummary(self, component, context_msg=''):
elapsed_time = self.tc._run_end_time - self.tc._run_start_time
--
2.17.1
More information about the Openembedded-core
mailing list