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-11 17:30:27 +0100 |
commit | f981059be1572d4f3322e30c8ff98d7447c7daa6 (patch) | |
tree | 0504382f65238511fc8c03058c0965ad763897ee /meta/recipes-multimedia | |
parent | 2e8256d0c75aaf66f88ccc18084187ab16aec17e (diff) | |
download | poky-f981059be1572d4f3322e30c8ff98d7447c7daa6.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>
Diffstat (limited to 'meta/recipes-multimedia')
0 files changed, 0 insertions, 0 deletions