summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-22 23:10:51 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-23 07:32:53 +0100
commit5ccd2284e5dd994230e9e229b7931d049c9f46c0 (patch)
treebfcbb850d19b34d395996abfaf9a6372ab9460c5
parente2c66aa0f74d19fbc7e56af1fb440ad6473d3a8e (diff)
downloadopenembedded-core-contrib-5ccd2284e5dd994230e9e229b7931d049c9f46c0.tar.gz
openembedded-core-contrib-5ccd2284e5dd994230e9e229b7931d049c9f46c0.tar.bz2
openembedded-core-contrib-5ccd2284e5dd994230e9e229b7931d049c9f46c0.zip
oeqa/runner: Use the proper logger functions instead of print()
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/core/runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/core/runner.py b/meta/lib/oeqa/core/runner.py
index 6650a63ce7..73f41d9f1c 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