]> code.ossystems Code Review - openembedded-core.git/commit
scripts: oe-selftest Added new features.
authorDaniel Istrate <daniel.alexandrux.istrate@intel.com>
Wed, 2 Dec 2015 14:40:53 +0000 (16:40 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 12 Dec 2015 23:31:39 +0000 (23:31 +0000)
commit2d3a6d22e155911e39e4b7e323317f4a7cb1cb95
tree2dd73254180e94351759a3b798de62749a3639cd
parent826ae02c08b2210aa39ed51e1a9e50d40f33afb4
scripts: oe-selftest Added new features.

[YOCTO #8750] Allow oe-selftest to run custom test suites based on different criteria

1. Can run custom lists of tests based on different criteria:
   --run-tests-by <name|class|module|id|tag> <list of tests|classes|modules|ids|tags>
   eg: --run-tests-by module imagefeatures signing recipetool
       --run-tests-by id 1377 1273 935
       --run-tests-by tag wic sstate bitbake
2. Can list tests based on different criteria:
   --list-tests-by <name|class|module|id|tag> <list of tests|classes|modules|ids|tags>
   eg: --list-tests-by module imagefeatures signing recipetool
       --list-tests-by id 1377 1273 935
       --list-tests-by tag wic sstate bitbake
3. Can list all tags that have been set to test cases:
   --list-tags
   The list of tags should be kept as minimal as possible.
   This helps preview the tags used so far.

   To take advantage of the 'tag' feature:
   - add @tag(feature=<>) to testcases
   eg: @tag(feature='signing') for a single tag
       @tag(feature=(('signing', 'sstate')) or
       @tag(feature=['signing', 'sstate']) for multiple tags

Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/oe-selftest