tests: cleanup metadata and filtering

- Add integration_platforms to avoid excessive filtering
- Make sure integration platforms are actually part of the filter
- Fix some tags and test meta data

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2023-06-09 12:30:46 +00:00
commit b835b02136
52 changed files with 156 additions and 57 deletions

View file

@ -6,5 +6,7 @@ tests:
- button
- gpio
filter: dt_enabled_alias_with_parent_compat("sw0", "gpio-keys")
integration_platforms:
- nrf52833dk_nrf52820
depends_on: gpio
harness: button

View file

@ -8,3 +8,5 @@ tests:
depends_on: pwm
harness: led
filter: dt_alias_exists("pwm-led0") and dt_compat_enabled("pwm-leds")
integration_platforms:
- nrf51dk_nrf51422

View file

@ -2,10 +2,12 @@ sample:
name: RGB LED
tests:
sample.basic.rgb_led:
filter: dt_alias_exists("red-pwm-led") and dt_alias_exists("green-pwm-led") and
dt_alias_exists("blue-pwm-led")
filter: dt_alias_exists("red-pwm-led") and dt_alias_exists("green-pwm-led")
and dt_alias_exists("blue-pwm-led")
tags:
- drivers
- pwm
depends_on: pwm
harness: led
integration_platforms:
- nrf52840_mdk

View file

@ -8,3 +8,5 @@ tests:
depends_on: pwm
harness: motor
filter: dt_compat_enabled("pwm-servo")
integration_platforms:
- bbc_microbit

View file

@ -9,6 +9,8 @@ tests:
- gpio
filter: dt_enabled_alias_with_parent_compat("led0", "gpio-leds") and
dt_enabled_alias_with_parent_compat("led1", "gpio-leds")
integration_platforms:
- nrf52833dk_nrf52820
depends_on: gpio
harness: console
harness_config: