summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-aspectlib
diff options
context:
space:
mode:
authorTim Orling <ticotimo@gmail.com>2023-04-02 15:29:36 -0700
committerKhem Raj <raj.khem@gmail.com>2023-04-02 17:43:22 -0700
commitec3760af48a141a5c6896e6ec8b986af909de95b (patch)
tree6955a66325be37305c9441c0751d6e6d97436ed8 /meta-python/recipes-devtools/python/python3-aspectlib
parentd094f80089428438b9681a52108aa9b63cbd2884 (diff)
downloadmeta-openembedded-ec3760af48a141a5c6896e6ec8b986af909de95b.tar.gz
meta-oe-ptest*-image: enable BBCLASSEXTEND parallel execution
Similar to "core-image-ptest: Switch to BBCLASSEXTEND parallel execution" Refactor meta-oe-ptest-image.bb for an image per ptest in the form of meta-oe-ptest-image-XXX using class extensions. * Add meta-oe-ptest-all-image.bb depends on ALL meta-oe-ptest-image-XXX in meta-oe * Add meta-oe-ptest-fast-image.bb depends on meta-oe ptests which take less than ~30s 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 individually. Add to local.conf: IMAGE_CLASSES += "testimage" All the meta-oe-ptest-image-XXX can be built with: $ bitbake meta-oe-ptest-all-image Subsequently, all the ptest images can be run with: $ bitbake -c testimage meta-oe-ptest-all-image You will likely want to limit the number of parallel image tests: BB_NUMBER_THREADS = "4" based on the number of TAP devices you have defined or the number of simultaneous QEMU sessions your server can support. Results can be summarized with: $ resulttool report tmp/log/oeqa/testresult.json Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-aspectlib')
0 files changed, 0 insertions, 0 deletions