| Summary: | Add option to oe-selftest to list all tests in a comprehensive manner | ||
|---|---|---|---|
| Product: | [QA/Testing] Build Testing | Reporter: | Daniel Istrate <daniel.alexandrux.istrate> |
| Component: | general | Assignee: | Daniel Istrate <daniel.alexandrux.istrate> |
| Status: | VERIFIED FIXED | QA Contact: | Bogdan Alexandru Voiculescu <bogdanx.a.voiculescu> |
| Severity: | enhancement | ||
| Priority: | Medium | CC: | alexandru.c.georgescu, richard.purdie, ross.burton |
| Version: | 2.0 | ||
| Target Milestone: | 2.1 M2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | New (Never tested) |
| Verified: | Documentation change: | Yes (doc changes required) | |
|
Description
Daniel Istrate
2016-01-04 15:38:12 UTC
Patch sent to ML: http://lists.openembedded.org/pipermail/openembedded-core/2016-January/114761.html Fixed in oe-core 8b9ea3ee39bceef7ee6faeef64f33bd9dbad2e4b. Verified on master (b567235c0ce427e2cd478a0268a295c74208e917") using all command bellow:
1. 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
2. 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')) for multiple tags
|