[OE-core] [PATCH] oeqa: enable testresults.json for testexport

Alexander Kanavin alex.kanavin at gmail.com
Wed Mar 11 20:46:19 UTC 2020


On Wed, 11 Mar 2020 at 21:38, Stefan Kral <sk at typedivision.de> wrote:

> 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
>

You can do all of these in a single pipeline using testimage:

1. built target-image-test
2. flash target-image-test to real hardware
3. bitbake -c testimage target-image-test (set TEST_TARGET to
'simpleremote', and ip/port for ssh access in local.conf)

Is there a reason you need two pipelines?

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20200311/13f0d102/attachment-0001.html>


More information about the Openembedded-core mailing list