mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
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:
parent
f2288adb57
commit
af87cc83cf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user