]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
core-image-ptest: Switch to BBCLASSEXTEND parallel execution
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 Mar 2023 22:00:08 +0000 (22:00 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 14 Mar 2023 07:16:29 +0000 (07:16 +0000)
commitf3f63ff01971df7d67213a7e7b1294489a5d3c0f
tree23880eca22813b097907d05945a16b0aefd41ea5
parente730d005fa8aec07f9ae25c58d4566eaa92a6997
core-image-ptest: Switch to BBCLASSEXTEND parallel execution

Replace the two images where tests are run serially with an image
per ptest in the form core-image-ptest-XXX using class extensions.

The original two images are then replaced with dependencies on these
images. This allows parallel execution of the tests.

The downside to this approach is the parsing time of an image generating
this number of class extensions is slow but making it easier to execute
and collect test data should outweigh that.

A useful advantage is that the dependencies of each ptest package are
checked/tested indvidually.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/images/core-image-ptest-all.bb
meta/recipes-core/images/core-image-ptest-fast.bb
meta/recipes-core/images/core-image-ptest.bb [new file with mode: 0644]