]> code.ossystems Code Review - openembedded-core.git/commit
context: Include a command line argument to run all except certain tests
authorLeonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Thu, 3 Aug 2017 14:01:38 +0000 (07:01 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Aug 2017 23:08:31 +0000 (00:08 +0100)
commite40eeaa790b95d9c25832405c0b0d5b3a0d0292b
tree890cee666239426b14186747106497c734a31e71
parentc7ef6000b11f1b1cd27c9bc408eea9f76bb94a3b
context: Include a command line argument to run all except certain tests

A new command line argument (-R, which is the oposite of current -r) that allows
to run all test cases except the ones indicated through the command line.

Some command line examples:

* Run all except the distro test case:
$ oe-selftest -R distrodata

* Run all except the archiver test case and a single bblayers unit test
$ oe-selftest -R archiver bblayers.BitbakeLayers.test_bitbakelayers_add_remove

[YOCTO #11847]

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oeqa/core/context.py
meta/lib/oeqa/selftest/context.py