]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/concurrencytest: Fix display of test stdout/stderr
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 4 Apr 2021 10:33:14 +0000 (11:33 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 Apr 2021 08:30:05 +0000 (09:30 +0100)
commit6a954ce5834c8026adecff8478c3d827640bc647
treecf8412195f7c413b86ce920ed18c29b3f1a57cba
parente39d97c0b191add9281bac463ca059685288c81a
oeqa/concurrencytest: Fix display of test stdout/stderr

If oe-selftest is run with -j, the output to stdout/stderr is being
lost at present. Capture this and display it upon test failure. We
have code that previously tried to enable this but it wasn't functioning
correctly. This should give more usable error reports on the autobuilder.

This code will mix stdout and stderr as the output is streamed from the test
server without markup. This is most in keeping with subunit/testools though
and the easiest way to handle the various challenges here as far as I can
see.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/core/utils/concurrencytest.py