[poky] XML test runner, or how to override Poky's python code
Richard Purdie
richard.purdie at linuxfoundation.org
Thu Apr 18 01:31:52 PDT 2019
On Thu, 2019-04-18 at 06:31 +0000, Mardegan, Alberto wrote:
> Hi there!
> Since Yocto "thud", the test suite no longer supports outputting
> the
> test report in XML format.
>
> While I'm not especially fond of that format, it had one feature
> which
> was quite important for our further processing of test results: the
> stdout from the test was captured and included in the test report
> (now
> the JSON test report only contains the stdout and stderr for the
> failing
> tests).
>
> Is it possible from a layer to alter the implementation of the
> OETestRunner, so that the bitbake testimage command would behave the
> way
> we want to?
Its certainly possible to alter pretty much any of the code but it
would probably involve duplication which would be ugly. A better way
may be to send patches which optionally allow the test output to be
stored in the json output based upon configuration?
Cheers,
Richard
More information about the poky
mailing list