twister: allow filtering based on modules
Support new keyword in the testcase.yaml to allow filtering based on enabled modules. This is useful when you only whitelist a limited set of modules in your project and want to only run those samples that have their dependencies satisfied and those modules available. The option allows adding multiple modules, all of which need to be enabled in the manifest. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
b48fc1d0f2
commit
f429f339fc
3 changed files with 31 additions and 1 deletions
|
@ -88,6 +88,11 @@ mapping:
|
|||
"min_flash":
|
||||
type: int
|
||||
required: false
|
||||
"modules":
|
||||
type: seq
|
||||
required: false
|
||||
sequence:
|
||||
- type: str
|
||||
"platform_exclude":
|
||||
type: str
|
||||
required: false
|
||||
|
@ -221,6 +226,11 @@ mapping:
|
|||
"min_flash":
|
||||
type: int
|
||||
required: false
|
||||
"modules":
|
||||
type: seq
|
||||
required: false
|
||||
sequence:
|
||||
- type: str
|
||||
"platform_exclude":
|
||||
type: str
|
||||
required: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue