Re: [OE-core] [PATCH 2/7] oeqa/runqemu: Only show stdout/stderr upon test failure

2017-11-09 Thread Richard Purdie
On Thu, 2017-11-09 at 14:04 +0100, Patrick Ohly wrote: > On Thu, 2017-11-09 at 11:55 +, Richard Purdie wrote: > > > > +    # We only want to print runqemu stdout/stderr if there is a > > test > > case failure > > +    buffer = True > Does the value matter? The other code only seems to check

Re: [OE-core] [PATCH 2/7] oeqa/runqemu: Only show stdout/stderr upon test failure

2017-11-09 Thread Patrick Ohly
On Thu, 2017-11-09 at 11:55 +, Richard Purdie wrote: > +    # We only want to print runqemu stdout/stderr if there is a test > case failure > +    buffer = True Does the value matter? The other code only seems to check for the presence of the "buffer" attribute. Changing this to "buffer =

[OE-core] [PATCH 2/7] oeqa/runqemu: Only show stdout/stderr upon test failure

2017-11-09 Thread Richard Purdie
In general we don't need to see the output of runqemu however if it fails we do. Use the buffer option that already exists in TestResult but allow us to trigger it on a per test basis. Signed-off-by: Richard Purdie --- meta/lib/oeqa/core/runner.py