diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-07 10:49:19 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-07 11:46:32 +0100 |
commit | 9099cecc727fe0ae5f1559582426d30ba7a9f4d3 (patch) | |
tree | 61d2cc9317d448b838ba475da3019866638886ba /meta/lib/oeqa/selftest/case.py | |
parent | cc319b6dcc5b4a5019fb91c9771b12ce17f3c953 (diff) | |
download | openembedded-core-9099cecc727fe0ae5f1559582426d30ba7a9f4d3.tar.gz openembedded-core-9099cecc727fe0ae5f1559582426d30ba7a9f4d3.tar.bz2 openembedded-core-9099cecc727fe0ae5f1559582426d30ba7a9f4d3.zip |
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/case.py')
0 files changed, 0 insertions, 0 deletions