twister: filters: add ability to filter by vendor

add vendor_allow and vendor_exclude to the list of filters. The vendor
data is maintained in the board.yml files.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2024-11-21 10:31:46 -05:00
commit 48ddfe7c4a
4 changed files with 29 additions and 0 deletions

View file

@ -455,6 +455,17 @@ arch_allow: <list of arches, such as x86, arm, arc>
arch_exclude: <list of arches, such as x86, arm, arc>
Set of architectures that this test scenario should not run on.
vendor_allow: <list of vendors>
Set of platform vendors that this test scenario should only be run for. The
vendor is defined as part of the board definition. Boards associated with
this vendors will be included. Other boards, including those without a
vendor will be excluded.
vendor_exclude: <list of vendors>
Set of platform vendors that this test scenario should not run on.
The vendor is defined as part of the board. Boards associated with this
vendors will be excluded.
platform_allow: <list of platforms>
Set of platforms that this test scenario should only be run for. Do not use
this option to limit testing or building in CI due to time or resource