diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-04 12:54:58 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-05 13:10:41 +0000 |
commit | b5686fc07d06e1f0a55161b5ebcec6552d74ceff (patch) | |
tree | d5de7f79c9ecb225fb9742dfabe27cebaea3ff06 /toaster-requirements.txt | |
parent | 7c0b84cac892744225fa0462f918ea9a79b356cb (diff) | |
download | bitbake-b5686fc07d06e1f0a55161b5ebcec6552d74ceff.tar.gz |
main: Don't use print() directly, use logger
Avoid failures like:
2018-12-04 03:30:56,033 - oe-selftest - INFO - ======================================================================
2018-12-04 03:30:56,033 - oe-selftest - INFO - FAIL: pkgdata.OePkgdataUtilTests.test_find_path (subunit.RemotedTestCase)
2018-12-04 03:30:56,033 - oe-selftest - INFO - ----------------------------------------------------------------------
2018-12-04 03:30:56,033 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
[...]
AssertionError: 'Previous bitbake instance shutting down?,[77 chars]xist' != 'ERROR: Unable to find any package produci[14 chars]xist'
- Previous bitbake instance shutting down?, waiting to retry...
ERROR: Unable to find any package producing path /not/exist
We need to use the logger so output is correctly handled in such cases.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'toaster-requirements.txt')
0 files changed, 0 insertions, 0 deletions