tests/samples: use integration_platforms more where it makes sense
Use integration platforms to limit churn and build time in PR CI .
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
diff --git a/samples/compression/lz4/sample.yaml b/samples/compression/lz4/sample.yaml
index a3c983e..442845e 100644
--- a/samples/compression/lz4/sample.yaml
+++ b/samples/compression/lz4/sample.yaml
@@ -14,6 +14,9 @@
- "Validation done. (.*)"
tests:
sample.compression.lz4:
+ integration_platforms:
+ - mps2_an385
+ - qemu_riscv64
tags:
- compression
- lz4
diff --git a/samples/kernel/metairq_dispatch/sample.yaml b/samples/kernel/metairq_dispatch/sample.yaml
index 85c8008..f186b37 100644
--- a/samples/kernel/metairq_dispatch/sample.yaml
+++ b/samples/kernel/metairq_dispatch/sample.yaml
@@ -3,6 +3,9 @@
MetaIRQ thread
name: MetaIRQ Dispatch
common:
+ integration_platforms:
+ - mps2_an385
+ - qemu_x86
harness: console
harness_config:
type: one_line
diff --git a/samples/modules/tflite-micro/tflm_ethosu/sample.yaml b/samples/modules/tflite-micro/tflm_ethosu/sample.yaml
index 98b5cd8..d900f9d 100644
--- a/samples/modules/tflite-micro/tflm_ethosu/sample.yaml
+++ b/samples/modules/tflite-micro/tflm_ethosu/sample.yaml
@@ -6,3 +6,5 @@
tags: NPU
filter: dt_compat_enabled("arm,ethos-u")
build_only: true
+ integration_platforms:
+ - mps3_an547
diff --git a/samples/subsys/display/lvgl/sample.yaml b/samples/subsys/display/lvgl/sample.yaml
index 5cfcf6e..8f09e1c 100644
--- a/samples/subsys/display/lvgl/sample.yaml
+++ b/samples/subsys/display/lvgl/sample.yaml
@@ -17,3 +17,5 @@
- gui
modules:
- lvgl
+ integration_platforms:
+ - native_posix_64
diff --git a/samples/subsys/fs/fat_fs/sample.yaml b/samples/subsys/fs/fat_fs/sample.yaml
index 38bbf02..7a820a1 100644
--- a/samples/subsys/fs/fat_fs/sample.yaml
+++ b/samples/subsys/fs/fat_fs/sample.yaml
@@ -40,3 +40,5 @@
sample.filesystem.fat_fs.has_sdmmc_disk:
build_only: true
filter: dt_compat_enabled("zephyr,sdmmc-disk")
+ integration_platforms:
+ - frdm_k64f
diff --git a/tests/benchmarks/app_kernel/testcase.yaml b/tests/benchmarks/app_kernel/testcase.yaml
index 8138d08..04ddcc5 100644
--- a/tests/benchmarks/app_kernel/testcase.yaml
+++ b/tests/benchmarks/app_kernel/testcase.yaml
@@ -4,6 +4,9 @@
tests:
benchmark.kernel.application:
min_flash: 34
+ integration_platforms:
+ - mps2_an385
+ - qemu_x86
benchmark.kernel.application.fp:
extra_args: CONF_FILE=prj_fp.conf
extra_configs:
@@ -19,6 +22,9 @@
toolchain_exclude:
- llvm
- oneApi
+ integration_platforms:
+ - mps2_an385
+ - qemu_x86
benchmark.kernel.application.fp.x86.no_sse:
extra_args: CONF_FILE=prj_fp.conf
extra_configs:
@@ -29,6 +35,8 @@
min_flash: 34
min_ram: 32
slow: true
+ integration_platforms:
+ - qemu_x86
benchmark.kernel.application.fp.x86.sse:
extra_args: CONF_FILE=prj_fp.conf
extra_configs:
@@ -39,3 +47,5 @@
min_flash: 34
min_ram: 32
slow: true
+ integration_platforms:
+ - qemu_x86
diff --git a/tests/benchmarks/data_structure_perf/dlist_perf/testcase.yaml b/tests/benchmarks/data_structure_perf/dlist_perf/testcase.yaml
index 0af9b93..f5639eb 100644
--- a/tests/benchmarks/data_structure_perf/dlist_perf/testcase.yaml
+++ b/tests/benchmarks/data_structure_perf/dlist_perf/testcase.yaml
@@ -3,3 +3,5 @@
tags:
- benchmark
- dlist
+ integration_platforms:
+ - native_posix
diff --git a/tests/benchmarks/data_structure_perf/rbtree_perf/testcase.yaml b/tests/benchmarks/data_structure_perf/rbtree_perf/testcase.yaml
index 01b1397..76d4537 100644
--- a/tests/benchmarks/data_structure_perf/rbtree_perf/testcase.yaml
+++ b/tests/benchmarks/data_structure_perf/rbtree_perf/testcase.yaml
@@ -3,3 +3,5 @@
tags:
- benchmark
- rbtree
+ integration_platforms:
+ - native_posix
diff --git a/tests/benchmarks/footprints/testcase.yaml b/tests/benchmarks/footprints/testcase.yaml
index 5bf9b56..7d4d8de 100644
--- a/tests/benchmarks/footprints/testcase.yaml
+++ b/tests/benchmarks/footprints/testcase.yaml
@@ -2,12 +2,16 @@
benchmark.kernel.footprints.default:
tags: benchmark
build_only: true
+ integration_platforms:
+ - mps2_an385
benchmark.kernel.footprints.pm:
tags:
- benchmark
- pm
build_only: true
extra_args: CONF_FILE=prj_pm.conf
+ integration_platforms:
+ - mps2_an385
benchmark.kernel.footprints.userspace:
filter: CONFIG_ARCH_HAS_USERSPACE
extra_args: CONF_FILE=prj_userspace.conf
@@ -19,3 +23,5 @@
- benchmark
- userspace
build_only: true
+ integration_platforms:
+ - mps2_an385
diff --git a/tests/benchmarks/latency_measure/testcase.yaml b/tests/benchmarks/latency_measure/testcase.yaml
index c9192e6..d63000b 100644
--- a/tests/benchmarks/latency_measure/testcase.yaml
+++ b/tests/benchmarks/latency_measure/testcase.yaml
@@ -7,6 +7,9 @@
filter: CONFIG_PRINTK and not CONFIG_SOC_FAMILY_STM32
tags: benchmark
harness: console
+ integration_platforms:
+ - qemu_x86
+ - qemu_arc_em
harness_config:
type: one_line
record:
diff --git a/tests/benchmarks/sched/testcase.yaml b/tests/benchmarks/sched/testcase.yaml
index 34f6a65..a7a1345 100644
--- a/tests/benchmarks/sched/testcase.yaml
+++ b/tests/benchmarks/sched/testcase.yaml
@@ -1,6 +1,9 @@
tests:
benchmark.kernel.scheduler:
tags: benchmark
+ integration_platforms:
+ - mps2_an385
+ - qemu_x86
slow: true
harness: console
harness_config:
diff --git a/tests/drivers/build_all/led/testcase.yaml b/tests/drivers/build_all/led/testcase.yaml
index 66790c2..3062a70 100644
--- a/tests/drivers/build_all/led/testcase.yaml
+++ b/tests/drivers/build_all/led/testcase.yaml
@@ -5,3 +5,5 @@
tags:
- drivers
- led
+ integration_platforms:
+ - native_posix
diff --git a/tests/drivers/mm/sys_mm_drv_api/testcase.yaml b/tests/drivers/mm/sys_mm_drv_api/testcase.yaml
index fb7ad22..e25212a 100644
--- a/tests/drivers/mm/sys_mm_drv_api/testcase.yaml
+++ b/tests/drivers/mm/sys_mm_drv_api/testcase.yaml
@@ -4,3 +4,5 @@
- drivers
- mm
filter: dt_compat_enabled("intel,adsp-mtl-tlb") or dt_compat_enabled("intel,adsp-tlb")
+ integration_platforms:
+ - intel_adsp_ace15_mtpm
diff --git a/tests/drivers/uart/uart_async_api/testcase.yaml b/tests/drivers/uart/uart_async_api/testcase.yaml
index b54909f..aa68939 100644
--- a/tests/drivers/uart/uart_async_api/testcase.yaml
+++ b/tests/drivers/uart/uart_async_api/testcase.yaml
@@ -38,6 +38,8 @@
fixture: gpio_loopback
depends_on: gpio
extra_args: DTC_OVERLAY_FILE="boards/nrf52840dk_nrf52840.overlay;boards/nrf_uart.overlay"
+ integration_platforms:
+ - nrf52840dk_nrf52840
drivers.uart.async_api.rtt:
filter: CONFIG_UART_CONSOLE and CONFIG_SERIAL_SUPPORT_ASYNC and CONFIG_HAS_SEGGER_RTT
and not CONFIG_UART_MCUX_LPUART and not CONFIG_UART_MCUX_FLEXCOMM
@@ -49,6 +51,8 @@
- xmc45_relax_kit
- xmc47_relax_kit
build_only: true
+ integration_platforms:
+ - qemu_cortex_m0
drivers.uart.async_api.lpuart:
filter: CONFIG_UART_CONSOLE and CONFIG_SERIAL_SUPPORT_ASYNC and CONFIG_UART_MCUX_LPUART
harness: ztest
diff --git a/tests/lib/sys_util/testcase.yaml b/tests/lib/sys_util/testcase.yaml
index 68f3425..251663d 100644
--- a/tests/lib/sys_util/testcase.yaml
+++ b/tests/lib/sys_util/testcase.yaml
@@ -1,3 +1,5 @@
tests:
libraries.sys_util:
tags: sys_util
+ integration_platforms:
+ - native_posix