diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-09 14:35:03 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-22 00:31:49 +0100 |
commit | 8356d0f38c675f6cdc3fe73f6c1198b5e65f2fb2 (patch) | |
tree | 15da0391a2e1c03efe3c785f056d690ce937e504 /meta/lib/oeqa/sdk | |
parent | 63bea82d93a48c3dbc17477fb6b54a71ad4bc363 (diff) | |
download | poky-8356d0f38c675f6cdc3fe73f6c1198b5e65f2fb2.tar.gz |
oeqa/concurrenttest: Patch subunit module to handle classSetup failures
Currently setupClass errors were not being mapped back to the failing tests
and they were hence being marked as UNKNOWN and the test statistics were
inaccurate.
This is because whilst the errors were being encoded into the test results
stream, the decoder doesn't cope with an error outside a testStart event.
We patch in an addError handler to the outsideTest parser so that this
does get handled in a way similar to the non-concurrent case.
It would be nice if we didn't have to do this but there doesn't seem
to be any other way to fix this other than forking subunit.
We also make a minor change so another of our changes can cope with
tests without a start time.
(From OE-Core rev: 6f58c301e2d3463848df35c5b5c55d167ab34035)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/sdk')
0 files changed, 0 insertions, 0 deletions