[oe-commits] [openembedded-core] 03/33: oeqa/runner: Use the proper logger functions instead of print()
git at git.openembedded.org
git at git.openembedded.org
Thu Aug 23 06:51:27 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master
in repository openembedded-core.
commit 5ccd2284e5dd994230e9e229b7931d049c9f46c0
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Wed Aug 22 23:10:51 2018 +0100
oeqa/runner: Use the proper logger functions instead of print()
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 6650a63..73f41d9 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
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list