diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-07 10:49:19 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-03 08:32:13 +0000 |
commit | ee13216284c4d49b762eaab488f21de573d2079d (patch) | |
tree | 660a436349b21a03e48529d2dcf1e652c2d9a1dd /meta/recipes-core | |
parent | 4234ea8aae52347e49f848292deb0936ffd905ae (diff) | |
download | openembedded-core-ee13216284c4d49b762eaab488f21de573d2079d.tar.gz |
oeqa/qemurunner: Improve logging
Python unittest intercepts stdout and stderr however qemurunner sets
up a streamhandler before that interception occurs, hence the messages
spam the unittest output.
By moving the logging init to the class init time, we use the unittest
stdout/stderr and this means unittest can only show the log output upon
failure. This cleans up the selftest and testimage output whilst still
showing logging upon failure.
(From OE-Core rev: 9099cecc727fe0ae5f1559582426d30ba7a9f4d3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta/recipes-core')
0 files changed, 0 insertions, 0 deletions