samples, tests: remove usage of space-separated lists

Convert them to native YAML lists. Support for space-separated
lists was deprecated in Twister a long time ago.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2024-12-02 15:30:16 +01:00 committed by Anas Nashif
commit d4a67e321b
67 changed files with 324 additions and 154 deletions

View file

@ -2,7 +2,9 @@ common:
ignore_faults: true
harness: console
ignore_qemu_crash: true
tags: kernel riscv
tags:
- kernel
- riscv
platform_allow:
- qemu_riscv64
tests:

View file

@ -1,7 +1,9 @@
common:
ignore_faults: true
ignore_qemu_crash: true
tags: kernel riscv
tags:
- kernel
- riscv
platform_allow:
- qemu_riscv64/qemu_virt_riscv64/smp
tests:

View file

@ -1,7 +1,9 @@
tests:
boards.nrf.i2c.i2c_slave:
depends_on: i2c
tags: drivers i2c
tags:
- drivers
- i2c
harness: ztest
harness_config:
fixture: i2c_loopback

View file

@ -7,5 +7,6 @@ tests:
sysbuild: false
buildsystem.extensions.zephyr_get.sysbuild:
sysbuild: true
extra_args: TESTCASE_VARIABLE="sysbuild.main"
zephyr_get_2nd_TESTCASE_VARIABLE="sysbuild.2nd"
extra_args:
- TESTCASE_VARIABLE="sysbuild.main"
- zephyr_get_2nd_TESTCASE_VARIABLE="sysbuild.2nd"

View file

@ -1,5 +1,8 @@
common:
tags: adc drivers userspace
tags:
- adc
- drivers
- userspace
tests:
drivers.adc.rescale:
depends_on: adc

View file

@ -20,7 +20,9 @@ tests:
drivers.gpio.build.altera_pio:
min_ram: 32
platform_allow: niosv_m niosv_g
platform_allow:
- niosv_m
- niosv_g
depends_on: gpio
extra_args: DTC_OVERLAY_FILE="altera.overlay"

View file

@ -10,8 +10,8 @@ tests:
drivers.charger.sbs.emulated:
filter: dt_compat_enabled("sbs,sbs-charger")
extra_args:
CONF_FILE="prj.conf;boards/emulated_board.conf"
DTC_OVERLAY_FILE="boards/emulated_board.overlay"
- CONF_FILE="prj.conf;boards/emulated_board.conf"
- DTC_OVERLAY_FILE="boards/emulated_board.overlay"
platform_exclude:
- qemu_cortex_a53
- qemu_cortex_a53/qemu_cortex_a53/smp
@ -34,5 +34,5 @@ tests:
integration_platforms:
- qemu_cortex_a53
extra_args:
CONF_FILE="prj.conf;boards/qemu_cortex_a53.conf"
DTC_OVERLAY_FILE="boards/qemu_cortex_a53.overlay"
- CONF_FILE="prj.conf;boards/qemu_cortex_a53.conf"
- DTC_OVERLAY_FILE="boards/qemu_cortex_a53.overlay"

View file

@ -1,6 +1,8 @@
common:
timeout: 5
platform_allow: nucleo_wba52cg nucleo_wba55cg
platform_allow:
- nucleo_wba52cg
- nucleo_wba55cg
tests:
drivers.clock.stm32_clock_configuration.wba.sysclksrc_hsi_16:
extra_args: DTC_OVERLAY_FILE="boards/clear_clocks.overlay;boards/hsi_16.overlay"

View file

@ -2,7 +2,9 @@ common:
tags:
- drivers
- console
platform_allow: hifive1 hifive_unleashed/fu540/e51
platform_allow:
- hifive1
- hifive_unleashed/fu540/e51
harness: robot
tests:

View file

@ -9,8 +9,13 @@ common:
- native_sim
tests:
drivers.flash.api:
tags: drivers flash
tags:
- drivers
- flash
drivers.flash.api.userspace:
tags: driver flash userspace
tags:
- driver
- flash
- userspace
extra_configs:
- CONFIG_USERSPACE=y

View file

@ -31,11 +31,15 @@ tests:
- qemu_x86
drivers.flash.flash_simulator.native_erase_value_0x00:
extra_args: DTC_OVERLAY_FILE=boards/native_ev_0x00.overlay
platform_allow: native_posix native_sim
platform_allow:
- native_posix
- native_sim
integration_platforms:
- native_sim
drivers.flash.flash_simulator.native_64_erase_value_0x00:
extra_args: DTC_OVERLAY_FILE=boards/native_64_ev_0x00.overlay
platform_allow: native_posix/native/64 native_sim/native/64
platform_allow:
- native_posix/native/64
- native_sim/native/64
integration_platforms:
- native_sim/native/64

View file

@ -1,5 +1,7 @@
common:
tags: drivers gpio
tags:
- drivers
- gpio
depends_on: gpio
harness: ztest
tests:

View file

@ -1,6 +1,8 @@
tests:
drivers.gpio.reserved_ranges:
tags: drivers gpio
tags:
- drivers
- gpio
depends_on: gpio
filter: dt_compat_enabled("test-gpio-reserved-ranges")
platform_allow:

View file

@ -1,5 +1,7 @@
common:
tags: drivers i2c
tags:
- drivers
- i2c
depends_on: i2c
tests:
drivers.i2c.bme688:

View file

@ -1,7 +1,9 @@
sample:
name: MBOX IPC negative test cases
common:
tags: drivers mbox
tags:
- drivers
- mbox
harness: ztest
tests:

View file

@ -1,6 +1,8 @@
common:
depends_on: spi
tags: drivers spi
tags:
- drivers
- spi
harness: ztest
harness_config:
fixture: gpio_spi_loopback

View file

@ -1,6 +1,8 @@
common:
depends_on: spi
tags: drivers spi
tags:
- drivers
- spi
harness: ztest
harness_config:
fixture: gpio_spi_loopback

View file

@ -1,11 +1,15 @@
tests:
drivers.uart.async_rx:
filter: CONFIG_SERIAL_HAS_DRIVER
tags: drivers uart
tags:
- drivers
- uart
integration_platforms:
- native_sim
drivers.uart.async_rx.ztress:
tags: drivers uart
tags:
- drivers
- uart
platform_allow:
- qemu_cortex_m3
- qemu_x86

View file

@ -10,7 +10,9 @@ tests:
drivers.uart.basic_api.wide:
extra_configs:
- CONFIG_UART_WIDE_DATA=y
tags: drivers uart
tags:
- drivers
- uart
filter: CONFIG_UART_CONSOLE
harness: keyboard
arch_allow: arm

View file

@ -1,5 +1,7 @@
common:
tags: drivers uart
tags:
- drivers
- uart
depends_on: gpio
harness: ztest
harness_config:

View file

@ -1,5 +1,7 @@
common:
tags: drivers uart
tags:
- drivers
- uart
depends_on: gpio
harness: ztest
harness_config:

View file

@ -6,7 +6,9 @@ tests:
min_ram: 16
kernel.context.minimallibc:
filter: CONFIG_MINIMAL_LIBC_SUPPORTED
tags: kernel libc
tags:
- kernel
- libc
extra_configs:
- CONFIG_TEST_EXTRA_STACK_SIZE=1024
- CONFIG_MINIMAL_LIBC=y

View file

@ -25,7 +25,9 @@ tests:
kernel.device.pm:
integration_platforms:
- native_sim
platform_exclude: mec15xxevb_assy6853 xenvm
platform_exclude:
- mec15xxevb_assy6853
- xenvm
extra_configs:
- CONFIG_PM_DEVICE=y
kernel.device.linker_generator:

View file

@ -4,7 +4,9 @@ tests:
platform_exclude: qemu_x86_tiny
kernel.objects.tracking.minimallibc:
filter: CONFIG_MINIMAL_LIBC_SUPPORTED
tags: kernel libc
tags:
- kernel
- libc
platform_exclude: qemu_x86_tiny
extra_configs:
- CONFIG_MINIMAL_LIBC=y

View file

@ -3,6 +3,8 @@ tests:
tags: kernel
kernel.objects.minimallibc:
filter: CONFIG_MINIMAL_LIBC_SUPPORTED
tags: kernel libc
tags:
- kernel
- libc
extra_configs:
- CONFIG_MINIMAL_LIBC=y

View file

@ -3,7 +3,9 @@ tests:
tags:
- kernel
- smp
platform_allow: intel_adsp/cavs25 qemu_x86_64
platform_allow:
- intel_adsp/cavs25
- qemu_x86_64
integration_platforms:
- qemu_x86_64
kernel.multiprocessing.smp_boot_delay.minimallibc:
@ -12,7 +14,9 @@ tests:
- kernel
- smp
- libc
platform_allow: intel_adsp/cavs25 qemu_x86_64
platform_allow:
- intel_adsp/cavs25
- qemu_x86_64
integration_platforms:
- qemu_x86_64
extra_configs:

View file

@ -1,5 +1,7 @@
common:
tags: kernel security
tags:
- kernel
- security
min_ram: 32
integration_platforms:
- qemu_x86

View file

@ -1,7 +1,9 @@
common:
min_ram: 16
depends_on: netif
tags: net iface
tags:
- net
- iface
tests:
net.conn_mgr.nodad:
extra_configs:

View file

@ -1,7 +1,9 @@
common:
depends_on: netif
tags: net dhcpv4
# eventfd API does not work with native_posix so exclude it here
tags:
# eventfd API does not work with native_posix so exclude it here
- net
- dhcpv4
platform_exclude:
- native_posix
- native_posix/native/64

View file

@ -1,6 +1,8 @@
common:
depends_on: netif
tags: net dhcpv6
tags:
- net
- dhcpv6
tests:
net.dhcpv6:
extra_configs:

View file

@ -1,6 +1,8 @@
common:
depends_on: netif
tags: net icmp
tags:
- net
- icmp
tests:
net.icmp.offloaded:
extra_configs:

View file

@ -4,4 +4,6 @@ tests:
net.coap.client:
platform_allow:
- native_sim
tags: coap net
tags:
- coap
- net

View file

@ -6,7 +6,9 @@ tests:
extra_args:
# Will be ignored for other platforms
- CONFIG_NRF_WIFI_BUILD_ONLY_MODE=y
tags: wifi net
tags:
- wifi
- net
platform_exclude:
- rd_rw612_bga/rw612/ethernet # Requires binary blobs to build
- frdm_rw612 # Requires binary blobs to build

View file

@ -31,7 +31,10 @@ tests:
# most tests include no_mem_protection.conf, which disables memory protection
# hardware completely.
llext.simple.readonly:
arch_allow: arm riscv arc # Xtensa needs writable storage
arch_allow: # Xtensa needs writable storage
- arm
- riscv
- arc
filter: not CONFIG_MPU and not CONFIG_MMU
extra_conf_files: ['no_mem_protection.conf']
extra_configs:
@ -44,7 +47,10 @@ tests:
- CONFIG_USERSPACE=y
- CONFIG_LLEXT_STORAGE_WRITABLE=n
llext.simple.readonly_mmu:
arch_allow: arm64 arm riscv
arch_allow:
- arm64
- arm
- riscv
filter: CONFIG_MMU or CONFIG_RISCV_PMP
integration_platforms:
- qemu_cortex_a53 # ARM Cortex-A53 (ARMv8-A ISA)
@ -52,7 +58,11 @@ tests:
- CONFIG_LLEXT_HEAP_SIZE=128 # qemu_cortex_a9 requires larger heap
- CONFIG_LLEXT_STORAGE_WRITABLE=n
llext.simple.writable:
arch_allow: arm xtensa riscv arc
arch_allow:
- arm
- xtensa
- riscv
- arc
integration_platforms:
- qemu_xtensa/dc233c # Xtensa ISA
filter: not CONFIG_MPU and not CONFIG_MMU
@ -60,7 +70,11 @@ tests:
extra_configs:
- CONFIG_LLEXT_STORAGE_WRITABLE=y
llext.simple.writable_relocatable:
arch_allow: arm xtensa riscv arc
arch_allow:
- arm
- xtensa
- riscv
- arc
platform_exclude:
- qemu_arc/qemu_arc_hs5x # See #80949
integration_platforms:
@ -74,7 +88,11 @@ tests:
# Test the Symbol Link Identifier (SLID) linking feature on writable
# storage to cover both ARM and Xtensa architectures on the same test.
llext.simple.writable_slid_linking:
arch_allow: arm xtensa riscv arc
arch_allow:
- arm
- xtensa
- riscv
- arc
integration_platforms:
- qemu_xtensa/dc233c # Xtensa ISA
filter: not CONFIG_MPU and not CONFIG_MMU
@ -83,7 +101,11 @@ tests:
- CONFIG_LLEXT_STORAGE_WRITABLE=y
- CONFIG_LLEXT_EXPORT_BUILTINS_BY_SLID=y
llext.simple.writable_relocatable_slid_linking:
arch_allow: arm xtensa riscv arc
arch_allow:
- arm
- xtensa
- riscv
- arc
platform_exclude:
- qemu_arc/qemu_arc_hs5x # See #80949
integration_platforms:

View file

@ -1,6 +1,8 @@
common:
depends_on: sdhc
tags: drivers sdhc
tags:
- drivers
- sdhc
tests:
sd.sdio:
harness: ztest

View file

@ -4,7 +4,9 @@
tests:
sip_svc.stress_test.ztest:
build_only: true
platform_allow: intel_socfpga_agilex_socdk intel_socfpga_agilex5_socdk
platform_allow:
- intel_socfpga_agilex_socdk
- intel_socfpga_agilex5_socdk
integration_platforms:
- intel_socfpga_agilex_socdk
- intel_socfpga_agilex5_socdk