Currently we only can run oe-selftest for an arch defined in conf/local.conf. We can add an option for oe-selftest to choose a random arch or all arch. For example: ./scripts/oe-selftest --arch=random # this will choose a random arch to test ./scripts/oe-selftest --arch=all # this will run the test on all of the archs.
oe-selftest now has option parsing features; we now only need implement the MACHINE randomisation. Moving to 1.8 and assigning to Costin.
Sent patch to ML: http://lists.openembedded.org/pipermail/openembedded-core/2015-December/114225.html http://lists.openembedded.org/pipermail/openembedded-core/2015-December/114224.html Hi, Please give it a try and let me know if you are happy with the results. Thanks, --Daniel
Patch resent to ML: http://lists.openembedded.org/pipermail/openembedded-core/2015-December/114271.html http://lists.openembedded.org/pipermail/openembedded-core/2015-December/114270.html Hi, Added warning messages to tests that override MACHINE set by --arch option. Also noted that not all oe-selftest test cases can run on all architectures (eg. wic) Thanks, --Daniel
Resent patches to ML: http://lists.openembedded.org/pipermail/openembedded-core/2015-December/114403.html http://lists.openembedded.org/pipermail/openembedded-core/2015-December/114404.html Hi, Updated the patches according to RP, Ross feedback. I renamed the --arch option to --machine. Usage: oe-selftest --run-tests signing --machine random oe-selftest --run-tests signing --machine all oe-selftest --run-all-tests --machine random Thanks, --Daniel
Fixed in oe-core 0f3ad7c77aa0f8bb7641af1886e1420cdfa8419f
Verified on master: da43a56d3533db37592a1698777af08f51a5800f