summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/core
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:50:00 +0100
commitaf87cc83cf4c02ce59e8896f1148a31603e914a7 (patch)
tree1646ea174973a7511e494f86d6675087ee668ed5 /meta/lib/oeqa/core
parentf2288adb579de09a1a638514b204d3d8160c43d2 (diff)
downloadpoky-af87cc83cf4c02ce59e8896f1148a31603e914a7.tar.gz
oeqa/runner: Use the proper logger functions instead of print()
(From OE-Core rev: 5ccd2284e5dd994230e9e229b7931d049c9f46c0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/core')
-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):
54 self.endtime[test.id()] = time.time() 54 self.endtime[test.id()] = time.time()
55 super(OETestResult, self).stopTest(test) 55 super(OETestResult, self).stopTest(test)
56 if test.id() in self.progressinfo: 56 if test.id() in self.progressinfo:
57 print(self.progressinfo[test.id()]) 57 self.tc.logger.info(self.progressinfo[test.id()])
58 58
59 def logSummary(self, component, context_msg=''): 59 def logSummary(self, component, context_msg=''):
60 elapsed_time = self.tc._run_end_time - self.tc._run_start_time 60 elapsed_time = self.tc._run_end_time - self.tc._run_start_time