diff options
author | Daniel Istrate <daniel.alexandrux.istrate@intel.com> | 2016-01-05 16:53:34 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-07 13:40:04 +0000 |
commit | 4a9c3653eecd9a3c1b45bab5e16c8d679c55f8bd (patch) | |
tree | eab3d99f1ee5c9001be340cbbb6e98ce539de161 /meta/recipes-extended | |
parent | d6ee070127a08be98958bbb8b11c80bb64165dc7 (diff) | |
download | openembedded-core-4a9c3653eecd9a3c1b45bab5e16c8d679c55f8bd.tar.gz openembedded-core-4a9c3653eecd9a3c1b45bab5e16c8d679c55f8bd.tar.bz2 openembedded-core-4a9c3653eecd9a3c1b45bab5e16c8d679c55f8bd.zip |
scripts/oe-selftest: Allow to run tests on random/all MACHINEs
Add an option for random MACHINE into oe-selftest:
--machine [random/all]
1. random: will set a random MACHINE for each test
2. all: will run tests for all machines
Custom machine sets only weak default values (??=) for MACHINE in machine.inc.
This let test cases that require a specific MACHINE to be able to
override it, using (?= or =).
e.g.:
oe-selftest --run-tests signing --machine random -->
will run all tests switching MACHINE randomly for each test
oe-selftest --run-tests signing --machine all -->
for each machine will run all tests
oe-selftest --run-all-tests --machine random
Also update oeqa/selftest/base.py to accomodate this feature.
Fix for [YOCTO #5880].
Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-extended')
0 files changed, 0 insertions, 0 deletions