oeqa/runner: Use the proper logger functions instead of print()

(From OE-Core rev: 5ccd2284e5dd994230e9e229b7931d049c9f46c0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2018-08-22 23:10:51 +01:00
parent f2288adb57
commit af87cc83cf

View File

@ -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