Skip to content

Commit 895d911

Browse files
nashifkartben
authored andcommitted
tests/samples: use integration platforms where possible
When possible, add integration_platforms to samples/tests. Signed-off-by: Anas Nashif <[email protected]>
1 parent 9ca316b commit 895d911

File tree

17 files changed

+41
-27
lines changed

17 files changed

+41
-27
lines changed

samples/arch/mpu/mpu_test/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ tests:
77
tags:
88
- mpu
99
harness: shell
10+
integration_platforms:
11+
- mps2/an385

samples/basic/blinky_pwm/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ sample:
33
tests:
44
sample.basic.blink_led:
55
filter: dt_alias_exists("pwm-led0") and dt_compat_enabled("pwm-leds")
6+
integration_platforms:
7+
- esp32c3_devkitm
68
tags:
79
- drivers
810
- pwm

samples/boards/st/backup_sram/sample.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@ tests:
66
depends_on: backup_sram
77
build_only: true
88
filter: dt_compat_enabled("st,stm32-backup-sram")
9+
vendor_allow:
10+
- st
11+
integration_platforms:
12+
- nucleo_f207zg/stm32f207xx

samples/drivers/i2s/output/sample.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ common:
55
tags:
66
- drivers
77
- i2s
8-
depends_on: i2s
98
tests:
109
sample.drivers.i2s.output:
1110
filter: dt_alias_exists("i2s-tx")
11+
integration_platforms:
12+
- mimxrt1060_evk@B/mimxrt1062/qspi

samples/drivers/kscan/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ tests:
1414
fixture: fixture_connect_keyboard
1515
depends_on: kscan
1616
filter: dt_chosen_enabled("zephyr,keyboard-scan")
17+
integration_platforms:
18+
- mec1501modular_assy6885

samples/drivers/led/is31fl3733/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ tests:
66
filter: dt_compat_enabled("issi,is31fl3733")
77
tags: LED
88
depends_on: i2c
9+
integration_platforms:
10+
- frdm_k22f

samples/drivers/led/pwm/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ tests:
77
tags: LED
88
depends_on: pwm
99
platform_exclude: reel_board
10+
integration_platforms:
11+
- frdm_k22f
1012
timeout: 20
1113
harness: console
1214
harness_config:

samples/drivers/mspi/mspi_flash/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ tests:
2020
- "Attempting to write 4 bytes"
2121
- "Data read matches data written. Good!!"
2222
depends_on: mspi
23+
integration_platforms:
24+
- apollo3p_evb

samples/drivers/spi_flash_at45/sample.yaml

Lines changed: 8 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,27 @@
11
sample:
22
name: SPI Flash AT45 Sample
3+
common:
4+
depends_on: spi
5+
filter: dt_compat_enabled("atmel,at45")
6+
integration_platforms:
7+
- sam4l_wm400_cape
8+
tags:
9+
- spi
10+
- flash
311
tests:
412
sample.drivers.spi.flash.at45.build:
5-
tags:
6-
- spi
7-
- flash
8-
depends_on: spi
9-
filter: dt_compat_enabled("atmel,at45")
1013
build_only: true
1114
sample.drivers.spi.flash.at45.build.page_layout:
1215
extra_args: EXTRA_CONF_FILE="overlay-page_layout.conf"
13-
tags:
14-
- spi
15-
- flash
16-
depends_on: spi
17-
filter: dt_compat_enabled("atmel,at45")
1816
build_only: true
1917
sample.drivers.spi.flash.at45.build.pm:
2018
extra_args: EXTRA_CONF_FILE="overlay-pm.conf"
21-
tags:
22-
- spi
23-
- flash
24-
depends_on: spi
25-
filter: dt_compat_enabled("atmel,at45")
2619
build_only: true
2720
sample.drivers.spi.flash.at45.build.page_layout_pm:
2821
extra_args: EXTRA_CONF_FILE="overlay-page_layout.conf;overlay-pm.conf"
29-
tags:
30-
- spi
31-
- flash
32-
depends_on: spi
33-
filter: dt_compat_enabled("atmel,at45")
3422
build_only: true
3523
sample.drivers.spi.flash.at45:
3624
extra_args: EXTRA_CONF_FILE="overlay-page_layout.conf;overlay-pm.conf"
37-
tags:
38-
- spi
39-
- flash
40-
depends_on: spi
41-
filter: dt_compat_enabled("atmel,at45")
4225
harness: console
4326
harness_config:
4427
type: multi_line

samples/net/prometheus/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,7 @@ common:
1313
- prometheus
1414
# Exclude CONFIG_HAS_RENESAS_RA_FSP as Renesas RA HAL has build error with mbedtls Socket
1515
filter: not CONFIG_HAS_RENESAS_RA_FSP
16+
integration_platforms:
17+
- qemu_x86
1618
tests:
1719
sample.net.prometheus: {}

0 commit comments

Comments
 (0)