generic-poky/meta/lib/oeqa
Richard Purdie 50750e1572 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)

(From OE-Core rev: ee13216284c4d49b762eaab488f21de573d2079d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-04 11:11:58 +00:00
..
buildperf oeqa.buildperf: limit the length of error output 2017-03-27 08:15:07 +01:00
controllers gummiboot: Remove/change gummiboot references with systemd-boot 2017-01-09 13:39:11 +00:00
core oeqa/core/runner: Append PID in the test result folder name 2017-04-13 10:54:10 +01:00
files oeqa: Move common files to oeqa/files instead of runtime only 2017-01-23 12:05:19 +00:00
runtime oeqa/runtime: Replace buildiptables for buildlzip on runtime tests 2017-11-05 22:39:48 +00:00
sdk oeqa/sdk: Replace buildiptables for buildlzip tests 2017-11-05 22:39:48 +00:00
sdkext oeqa/sdkext/devtool: Ensure dependencies for test_extend_autotools_recipe_creation are present 2017-03-03 11:16:12 +00:00
selftest selftest/archiver: only execute deploy_archives task 2017-11-05 22:39:47 +00:00
utils oeqa/qemurunner: Improve logging 2018-03-04 11:11:58 +00:00
oetest.py testimage.bbclass: fix runtime test for rpm, port smart tests to dnf 2017-03-14 14:42:17 +00:00
runexported.py meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
targetcontrol.py oeqa: allow persistent image writes in runqemu() 2017-03-28 10:34:37 +01:00