tests/samples: use integration platforms where possible

When possible, add integration_platforms to samples/tests.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif
2025-03-01 08:37:06 -05:00
committed by Benjamin Cabé
parent 9ca316bef4
commit 895d91169e
17 changed files with 41 additions and 27 deletions

View File

@@ -7,3 +7,5 @@ tests:
tags:
- mpu
harness: shell
integration_platforms:
- mps2/an385

View File

@@ -3,6 +3,8 @@ sample:
tests:
sample.basic.blink_led:
filter: dt_alias_exists("pwm-led0") and dt_compat_enabled("pwm-leds")
integration_platforms:
- esp32c3_devkitm
tags:
- drivers
- pwm

View File

@@ -6,3 +6,7 @@ tests:
depends_on: backup_sram
build_only: true
filter: dt_compat_enabled("st,stm32-backup-sram")
vendor_allow:
- st
integration_platforms:
- nucleo_f207zg/stm32f207xx

View File

@@ -5,7 +5,8 @@ common:
tags:
- drivers
- i2s
depends_on: i2s
tests:
sample.drivers.i2s.output:
filter: dt_alias_exists("i2s-tx")
integration_platforms:
- mimxrt1060_evk@B/mimxrt1062/qspi

View File

@@ -14,3 +14,5 @@ tests:
fixture: fixture_connect_keyboard
depends_on: kscan
filter: dt_chosen_enabled("zephyr,keyboard-scan")
integration_platforms:
- mec1501modular_assy6885

View File

@@ -6,3 +6,5 @@ tests:
filter: dt_compat_enabled("issi,is31fl3733")
tags: LED
depends_on: i2c
integration_platforms:
- frdm_k22f

View File

@@ -7,6 +7,8 @@ tests:
tags: LED
depends_on: pwm
platform_exclude: reel_board
integration_platforms:
- frdm_k22f
timeout: 20
harness: console
harness_config:

View File

@@ -20,3 +20,5 @@ tests:
- "Attempting to write 4 bytes"
- "Data read matches data written. Good!!"
depends_on: mspi
integration_platforms:
- apollo3p_evb

View File

@@ -1,44 +1,27 @@
sample:
name: SPI Flash AT45 Sample
common:
depends_on: spi
filter: dt_compat_enabled("atmel,at45")
integration_platforms:
- sam4l_wm400_cape
tags:
- spi
- flash
tests:
sample.drivers.spi.flash.at45.build:
tags:
- spi
- flash
depends_on: spi
filter: dt_compat_enabled("atmel,at45")
build_only: true
sample.drivers.spi.flash.at45.build.page_layout:
extra_args: EXTRA_CONF_FILE="overlay-page_layout.conf"
tags:
- spi
- flash
depends_on: spi
filter: dt_compat_enabled("atmel,at45")
build_only: true
sample.drivers.spi.flash.at45.build.pm:
extra_args: EXTRA_CONF_FILE="overlay-pm.conf"
tags:
- spi
- flash
depends_on: spi
filter: dt_compat_enabled("atmel,at45")
build_only: true
sample.drivers.spi.flash.at45.build.page_layout_pm:
extra_args: EXTRA_CONF_FILE="overlay-page_layout.conf;overlay-pm.conf"
tags:
- spi
- flash
depends_on: spi
filter: dt_compat_enabled("atmel,at45")
build_only: true
sample.drivers.spi.flash.at45:
extra_args: EXTRA_CONF_FILE="overlay-page_layout.conf;overlay-pm.conf"
tags:
- spi
- flash
depends_on: spi
filter: dt_compat_enabled("atmel,at45")
harness: console
harness_config:
type: multi_line

View File

@@ -13,5 +13,7 @@ common:
- prometheus
# Exclude CONFIG_HAS_RENESAS_RA_FSP as Renesas RA HAL has build error with mbedtls Socket
filter: not CONFIG_HAS_RENESAS_RA_FSP
integration_platforms:
- qemu_x86
tests:
sample.net.prometheus: {}

View File

@@ -15,6 +15,8 @@ tests:
- thingy53/nrf5340/cpuapp/ns
- raytac_mdbt53_db_40/nrf5340/cpuapp/ns
- raytac_mdbt53_db_40/nrf5340/cpuapp
integration_platforms:
- usb_kw24d512
sample.net.wpan_serial.frdm_cr20a:
extra_args: SHIELD=frdm_cr20a
platform_allow: frdm_k64f

View File

@@ -6,3 +6,5 @@ tests:
tags: sensors
depends_on: i2c
filter: dt_compat_enabled("hoperf,th02") and dt_compat_enabled("seeed,grove-lcd-rgb")
integration_platforms:
- frdm_k64f

View File

@@ -8,3 +8,5 @@ tests:
depends_on:
- adc
- dac
integration_platforms:
- nucleo_h563zi

View File

@@ -6,3 +6,5 @@ tests:
tags: shield
depends_on: arduino_i2c
filter: dt_enabled_alias_with_parent_compat("sw0", "gpio-keys")
integration_platforms:
- nucleo_g431rb/stm32g431xx

View File

@@ -11,3 +11,5 @@ tests:
tags: bindesc
filter: dt_chosen_enabled("zephyr,flash-controller") and CONFIG_FLASH_HAS_DRIVER_ENABLED
and CONFIG_ARCH_SUPPORTS_ROM_START
integration_platforms:
- mps2/an385

View File

@@ -18,7 +18,7 @@ tests:
- s32z2xxdc2@D/s32z270/rtu0
- s32z2xxdc2@D/s32z270/rtu1
integration_platforms:
- reel_board
- native_sim
sample.filesystem.shell.fuse:
platform_allow:
- native_sim

View File

@@ -8,3 +8,5 @@ tests:
- userspace
- scrub
- registers
integration_platforms:
- qemu_x86