[OE-core] [PATCH] oeqa/core/runner: dump stdout and stderr of each test case

Richard Purdie richard.purdie at linuxfoundation.org
Wed Apr 24 17:24:43 UTC 2019


On Wed, 2019-04-24 at 14:12 +0000, Mardegan, Alberto wrote:
> Some CI pipelines might perform further processing of the test output
> (for instance, to plot some metrics into a chart). However, Since
> `thud`
> we switched away from the XML-based jUnit reporting, and at the same
> time we lost the ability of collecting the stdout and stderr of the
> various tests.
> 
> We now restore this functionality by adding `stdout` and `stderr`
> keys to the JSON reports.

This is nearly there, thanks!

I think we need a better name than "TEST_WRITE_OUTPUT". That variable
could be about enabling some tests of writing output or several other
things. How about TESTREPORT_FULLLOGS?

The variable name needs to be mentioned in the commit message and we
should cc: Scott so we can add to the manual.

Cheers,

Richard





More information about the Openembedded-core mailing list