aboutsummaryrefslogtreecommitdiffstats
path: root/meta-multimedia
diff options
context:
space:
mode:
authorTim Orling <tim.orling@konsulko.com>2023-04-02 14:38:51 -0700
committerTim Orling <tim.orling@konsulko.com>2023-04-02 15:04:06 -0700
commit6ce55616d1db9dbd490032581f89e1033aad9bb3 (patch)
treeddf8cd23359c4651883e54e3ac4ccd75b7488e06 /meta-multimedia
parent8641dfe33feea365918907299622794be00fe3f2 (diff)
downloadmeta-openembedded-contrib-timo/ptest-refactoring.tar.gz
meta-perl-ptest*-image: enable BBCLASSEXTEND parallel executiontimo/ptest-refactoring
Similar to "core-image-ptest: Switch to BBCLASSEXTEND parallel execution" Refactor meta-perl-ptest-image.bb for an image per ptest in the form of meta-perl-ptest-image-XXX using class extensions. * Add meta-perl-ptest-all-image.bb depends on ALL meta-perl-ptest-image-XXX in meta-perl * Add meta-perl-ptest-fast-image.bb depends on meta-perl 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-perl-ptest-image-XXX can be built with: $ bitbake meta-perl-ptest-all-image Subsequently, all the ptest images can be run with: $ bitbake -c testimage meta-perl-ptest-all-image You may 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/testresults.json Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Diffstat (limited to 'meta-multimedia')
0 files changed, 0 insertions, 0 deletions