diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-19 15:18:44 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-21 08:44:19 +0100 |
commit | 3c479fb17ae4d3e7e5f0889af0f68257ef66475c (patch) | |
tree | f970b9a2ac792a0c88ef82ff0778d53e25d98bd0 /LICENSE | |
parent | 39c1bf1feccc8dca57160a1e3cd8a50e8c30ef02 (diff) | |
download | openembedded-core-3c479fb17ae4d3e7e5f0889af0f68257ef66475c.tar.gz openembedded-core-3c479fb17ae4d3e7e5f0889af0f68257ef66475c.tar.bz2 openembedded-core-3c479fb17ae4d3e7e5f0889af0f68257ef66475c.zip |
devtool: Setup logging before calling prepare
This avoids test failures like:
INFO - ======================================================================
INFO - FAIL [1.755s]: test_devtool_layer_plugins (devtool.DevtoolTests)
INFO - ----------------------------------------------------------------------
INFO - Traceback (most recent call last):
File "/media/build1/poky/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
return func(*args, **kwargs)
File "/media/build1/poky/meta/lib/oeqa/selftest/cases/devtool.py", line 1354, in test_devtool_layer_plugins
self.assertEqual(result.output, s[::-1])
AssertionError: "NOTE: Starting bitbake server...\noY senu[36 chars]rciM" != "oY senuZ s'enoynA morF tiforP oN edaM tfosorciM"
- NOTE: Starting bitbake server...
oY senuZ s'enoynA morF tiforP oN edaM tfosorciM
INFO - ----------------------------------------------------------------------
since there is corruption in the output. Setting the logging up before
calling tinfoil.prepare() resolves this.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions