[OE-core] [PATCH] oeqa: enable testresults.json for testexport
Stefan Kral
sk at typedivision.de
Wed Mar 11 20:38:00 UTC 2020
Hi Richard,
I just started to evaluate the use of testexport.
If you think about removing that feature, what is the preferred way to
test a deployed target image?
The idea here is to have two separate pipelines:
1. build
- a target-image-test (same as target-image but additional test
facilities enabled, like ptest)
- the testexport output
2. test
- fetch build results and install the target-image-test to the real hardware
- run the exported runtime tests (host and target based cases)
- check/save the generated testresults.json
BR
Stefan
Am 11.03.20 um 18:22 schrieb Richard Purdie:
> On Wed, 2020-03-11 at 17:37 +0100, Stefan Kral wrote:
>> Add the option --json-result-dir to oeqa core context to enable
>> testresults.json creation for test runs via testexport.
>>
>> Eg. oe-test runtime --json-result-dir .
>>
>> Signed-off-by: Stefan Kral <sk at typedivision.de>
> Out of interest are you actively using testexport? I've been wondering
> if we should remove that support as it does complicate the code a lot
> and ironically, isn't well tested.
>
> Cheers,
>
> Richard
>
More information about the Openembedded-core
mailing list