]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/core: Implement proper extra result collection and serialization
authorNathan Rossi <nathan@nathanrossi.com>
Sat, 7 Sep 2019 12:55:06 +0000 (12:55 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 7 Sep 2019 20:47:35 +0000 (21:47 +0100)
commitb0831d43606415807af80e2aa1d0566d0b8c209c
treeb82dd6a9f0ce4078ff847aa0f2569b48c3196c17
parent15c279da465323cab86635e5b5cdb46bf254fa66
oeqa/core: Implement proper extra result collection and serialization

Implement handling of extra result (e.g. ptestresult) collection with
the addition of a "extraresults" extraction function in OETestResult. In
order to be able to serialize and deserialize the extraresults data,
allow OETestResult add* calls to take a details kwarg. The subunit
module can handle cross-process transfer of binary data for the details
kwarg. With a TestResult proxy class to sit inbetween to encode and
decode to and from json.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/core/runner.py
meta/lib/oeqa/core/utils/concurrencytest.py