twister: add support for platform_type filter

Instead of relying on runtime filter to limit scope to emulation
platforms, use the type attribute for each platform and do the filtering
very early on. This will speed things up for tests where we only run on
emulation platforms.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2022-05-14 09:00:04 -04:00
commit a6f924db7f
9 changed files with 33 additions and 7 deletions

View file

@ -1,5 +1,7 @@
common:
filter: CONFIG_QEMU_TARGET or CONFIG_BOARD_NATIVE_POSIX
platform_type:
- qemu
- native
tags: log_api logging
integration_platforms:
- native_posix