diff --git a/boards/arc/arduino_101_sss/arduino_101_sss.yaml b/boards/arc/arduino_101_sss/arduino_101_sss.yaml new file mode 100644 index 0000000000000..55585b6e7fce2 --- /dev/null +++ b/boards/arc/arduino_101_sss/arduino_101_sss.yaml @@ -0,0 +1,12 @@ +identifier: arduino_101_sss +name: Arduino 101 - Sensor Subsystem +type: mcu +arch: arc +toolchain: + - zephyr +ram: 24 +testing: + default: true + ignore_tags: + - net + - bluetooth diff --git a/boards/arc/em_starterkit/em_starterkit.yaml b/boards/arc/em_starterkit/em_starterkit.yaml new file mode 100644 index 0000000000000..6626c52863d71 --- /dev/null +++ b/boards/arc/em_starterkit/em_starterkit.yaml @@ -0,0 +1,6 @@ +identifier: em_starterkit +name: EM Starterkit +type: mcu +arch: arc +toolchain: + - zephyr diff --git a/boards/arc/panther_ss/panther_ss.yaml b/boards/arc/panther_ss/panther_ss.yaml new file mode 100644 index 0000000000000..a8fec37641440 --- /dev/null +++ b/boards/arc/panther_ss/panther_ss.yaml @@ -0,0 +1,12 @@ +identifier: panther_ss +name: Panther Board - Sensor Subsystem +type: mcu +arch: arc +ram: 24 +flash: 152 +toolchain: + - zephyr +testing: + ignore_tags: + - net + - bluetooth diff --git a/boards/arc/quark_se_c1000_ss_devboard/quark_se_c1000_ss_devboard.yaml b/boards/arc/quark_se_c1000_ss_devboard/quark_se_c1000_ss_devboard.yaml new file mode 100644 index 0000000000000..1178cabb92eb8 --- /dev/null +++ b/boards/arc/quark_se_c1000_ss_devboard/quark_se_c1000_ss_devboard.yaml @@ -0,0 +1,12 @@ +identifier: quark_se_c1000_ss_devboard +name: Quark SE C1000 Devboard - Sensor Subsystem +type: mcu +arch: arc +ram: 24 +flash: 152 +toolchain: + - zephyr +testing: + ignore_tags: + - net + - bluetooth diff --git a/boards/arm/96b_carbon/96b_carbon.yaml b/boards/arm/96b_carbon/96b_carbon.yaml new file mode 100644 index 0000000000000..bfee6bc23fc4d --- /dev/null +++ b/boards/arm/96b_carbon/96b_carbon.yaml @@ -0,0 +1,7 @@ +identifier: 96b_carbon +name: 96Boards Carbon +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb diff --git a/boards/arm/96b_carbon_nrf51/96b_carbon_nrf51.yaml b/boards/arm/96b_carbon_nrf51/96b_carbon_nrf51.yaml new file mode 100644 index 0000000000000..e6282b5da507c --- /dev/null +++ b/boards/arm/96b_carbon_nrf51/96b_carbon_nrf51.yaml @@ -0,0 +1,9 @@ +identifier: 96b_carbon_nrf51 +name: 96Boards Carbon (nRF51) +type: mcu +arch: arm +ram: 32 +flash: 256 +toolchain: + - zephyr + - gccarmemb diff --git a/boards/arm/96b_nitrogen/96b_nitrogen.yaml b/boards/arm/96b_nitrogen/96b_nitrogen.yaml new file mode 100644 index 0000000000000..90802a1e1a9e4 --- /dev/null +++ b/boards/arm/96b_nitrogen/96b_nitrogen.yaml @@ -0,0 +1,7 @@ +identifier: 96b_nitrogen +name: 96Boards Nitrogen +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb diff --git a/boards/arm/arduino_101_ble/arduino_101_ble.yaml b/boards/arm/arduino_101_ble/arduino_101_ble.yaml new file mode 100644 index 0000000000000..2e7bb2a0e9d31 --- /dev/null +++ b/boards/arm/arduino_101_ble/arduino_101_ble.yaml @@ -0,0 +1,8 @@ +identifier: arduino_101_ble +name: Ardunio 101 (nRF51) +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb +ram: 16 diff --git a/boards/arm/arduino_due/arduino_due.yaml b/boards/arm/arduino_due/arduino_due.yaml new file mode 100644 index 0000000000000..df6cf3a84a7ce --- /dev/null +++ b/boards/arm/arduino_due/arduino_due.yaml @@ -0,0 +1,7 @@ +identifier: arduino_due +name: Arduino Due +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb diff --git a/boards/arm/bbc_microbit/bbc_microbit.yaml b/boards/arm/bbc_microbit/bbc_microbit.yaml new file mode 100644 index 0000000000000..cc001415bce48 --- /dev/null +++ b/boards/arm/bbc_microbit/bbc_microbit.yaml @@ -0,0 +1,10 @@ +identifier: bbc_microbit +name: BBC Micro:Bit +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb +ram: 16 +testing: + default: true diff --git a/boards/arm/cc3200_launchxl/cc3200_launchxl.yaml b/boards/arm/cc3200_launchxl/cc3200_launchxl.yaml new file mode 100644 index 0000000000000..1f8193184a5e2 --- /dev/null +++ b/boards/arm/cc3200_launchxl/cc3200_launchxl.yaml @@ -0,0 +1,7 @@ +identifier: cc3200_launchxl +name: CC3200-LAUNCHXL +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb diff --git a/boards/arm/cc3220sf_launchxl/cc3220sf_launchxl.yaml b/boards/arm/cc3220sf_launchxl/cc3220sf_launchxl.yaml new file mode 100644 index 0000000000000..3dbcb28df3df6 --- /dev/null +++ b/boards/arm/cc3220sf_launchxl/cc3220sf_launchxl.yaml @@ -0,0 +1,7 @@ +identifier: cc3220sf_launchxl +name: SimpleLink Wi-Fi CC3220SF LaunchPad development kit +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb diff --git a/boards/arm/curie_ble/curie_ble.yaml b/boards/arm/curie_ble/curie_ble.yaml new file mode 100644 index 0000000000000..8639e34624114 --- /dev/null +++ b/boards/arm/curie_ble/curie_ble.yaml @@ -0,0 +1,8 @@ +identifier: curie_ble +name: Intel Curie (nRF51) +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb +ram: 16 diff --git a/boards/arm/disco_l475_iot1/disco_l475_iot1.yaml b/boards/arm/disco_l475_iot1/disco_l475_iot1.yaml new file mode 100644 index 0000000000000..a5d29c8c1b728 --- /dev/null +++ b/boards/arm/disco_l475_iot1/disco_l475_iot1.yaml @@ -0,0 +1,7 @@ +identifier: disco_l475_iot1 +name: ST Disco L475 IOT01 +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb diff --git a/boards/arm/frdm_k64f/frdm_k64f.yaml b/boards/arm/frdm_k64f/frdm_k64f.yaml new file mode 100644 index 0000000000000..876ba80a5677b --- /dev/null +++ b/boards/arm/frdm_k64f/frdm_k64f.yaml @@ -0,0 +1,7 @@ +identifier: frdm_k64f +name: NXP FRDM-K64F +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb diff --git a/boards/arm/frdm_kl25z/frdm_kl25z.yaml b/boards/arm/frdm_kl25z/frdm_kl25z.yaml new file mode 100644 index 0000000000000..639065d5cdb8d --- /dev/null +++ b/boards/arm/frdm_kl25z/frdm_kl25z.yaml @@ -0,0 +1,9 @@ +identifier: frdm_kl25z +name: NXP FRDM-KL25Z +type: mcu +arch: arm +ram: 16 +flash: 128 +toolchain: + - zephyr + - gccarmemb diff --git a/boards/arm/frdm_kw41z/frdm_kw41z.yaml b/boards/arm/frdm_kw41z/frdm_kw41z.yaml new file mode 100644 index 0000000000000..a08ae949876e1 --- /dev/null +++ b/boards/arm/frdm_kw41z/frdm_kw41z.yaml @@ -0,0 +1,7 @@ +identifier: frdm_kw41z +name: NXP FRDM-KW41Z +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb diff --git a/boards/arm/hexiwear_k64/hexiwear_k64.yaml b/boards/arm/hexiwear_k64/hexiwear_k64.yaml new file mode 100644 index 0000000000000..c4ed7363cc929 --- /dev/null +++ b/boards/arm/hexiwear_k64/hexiwear_k64.yaml @@ -0,0 +1,7 @@ +identifier: hexiwear_k64 +name: Hexiwear +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb diff --git a/boards/arm/hexiwear_kw40z/hexiwear_kw40z.yaml b/boards/arm/hexiwear_kw40z/hexiwear_kw40z.yaml new file mode 100644 index 0000000000000..18825fa93808f --- /dev/null +++ b/boards/arm/hexiwear_kw40z/hexiwear_kw40z.yaml @@ -0,0 +1,9 @@ +identifier: hexiwear_kw40z +name: Hexiwear KW40Z +type: mcu +arch: arm +ram: 16 +flash: 512 +toolchain: + - zephyr + - gccarmemb diff --git a/boards/arm/mps2_an385/mps2_an385.yaml b/boards/arm/mps2_an385/mps2_an385.yaml new file mode 100644 index 0000000000000..64d3ae75cf1da --- /dev/null +++ b/boards/arm/mps2_an385/mps2_an385.yaml @@ -0,0 +1,7 @@ +identifier: mps2_an385 +name: ARM V2M MPS2 +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb diff --git a/boards/arm/nrf51_blenano/nrf51_blenano.yaml b/boards/arm/nrf51_blenano/nrf51_blenano.yaml new file mode 100644 index 0000000000000..a2bfe735c4211 --- /dev/null +++ b/boards/arm/nrf51_blenano/nrf51_blenano.yaml @@ -0,0 +1,8 @@ +identifier: nrf51_blenano +name: BLE Nano +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb +ram: 16 diff --git a/boards/arm/nrf51_pca10028/nrf51_pca10028.yaml b/boards/arm/nrf51_pca10028/nrf51_pca10028.yaml new file mode 100644 index 0000000000000..a40fa2f6de9d4 --- /dev/null +++ b/boards/arm/nrf51_pca10028/nrf51_pca10028.yaml @@ -0,0 +1,8 @@ +identifier: nrf51_pca10028 +name: nRF51-PCA10028 +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb +ram: 32 diff --git a/boards/arm/nrf52840_pca10056/nrf52840_pca10056.yaml b/boards/arm/nrf52840_pca10056/nrf52840_pca10056.yaml new file mode 100644 index 0000000000000..18893b9c501b2 --- /dev/null +++ b/boards/arm/nrf52840_pca10056/nrf52840_pca10056.yaml @@ -0,0 +1,7 @@ +identifier: nrf52840_pca10056 +name: nRF52840-PCA10056 +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb diff --git a/boards/arm/nrf52_blenano2/nrf52_blenano2.yaml b/boards/arm/nrf52_blenano2/nrf52_blenano2.yaml new file mode 100644 index 0000000000000..8f2c2b99512b3 --- /dev/null +++ b/boards/arm/nrf52_blenano2/nrf52_blenano2.yaml @@ -0,0 +1,7 @@ +identifier: nrf52_blenano2 +name: BLE Nano 2 +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb diff --git a/boards/arm/nrf52_pca10040/nrf52_pca10040.yaml b/boards/arm/nrf52_pca10040/nrf52_pca10040.yaml new file mode 100644 index 0000000000000..4ee5169536ff0 --- /dev/null +++ b/boards/arm/nrf52_pca10040/nrf52_pca10040.yaml @@ -0,0 +1,7 @@ +identifier: nrf52_pca10040 +name: nRF52-PCA10040 +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb diff --git a/boards/arm/nucleo_f103rb/nucleo_f103rb.yaml b/boards/arm/nucleo_f103rb/nucleo_f103rb.yaml new file mode 100644 index 0000000000000..46ea1d67bdd78 --- /dev/null +++ b/boards/arm/nucleo_f103rb/nucleo_f103rb.yaml @@ -0,0 +1,8 @@ +identifier: nucleo_f103rb +name: NUCLEO-F103RB +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb +ram: 20 diff --git a/boards/arm/nucleo_f334r8/nucleo_f334r8.yaml b/boards/arm/nucleo_f334r8/nucleo_f334r8.yaml new file mode 100644 index 0000000000000..0dd368a7427fa --- /dev/null +++ b/boards/arm/nucleo_f334r8/nucleo_f334r8.yaml @@ -0,0 +1,8 @@ +identifier: nucleo_f334r8 +name: NUCLEO-F334R8 +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb +ram: 12 diff --git a/boards/arm/nucleo_f401re/nucleo_f401re.yaml b/boards/arm/nucleo_f401re/nucleo_f401re.yaml new file mode 100644 index 0000000000000..db1eea8f0f48c --- /dev/null +++ b/boards/arm/nucleo_f401re/nucleo_f401re.yaml @@ -0,0 +1,7 @@ +identifier: nucleo_f401re +name: NUCLEO-F401RE +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb diff --git a/boards/arm/nucleo_f411re/nucleo_f411re.yaml b/boards/arm/nucleo_f411re/nucleo_f411re.yaml new file mode 100644 index 0000000000000..32e298dc1b350 --- /dev/null +++ b/boards/arm/nucleo_f411re/nucleo_f411re.yaml @@ -0,0 +1,7 @@ +identifier: nucleo_f411re +name: NUCLEO-F411RE +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb diff --git a/boards/arm/nucleo_f412zg/nucleo_f412zg.yaml b/boards/arm/nucleo_f412zg/nucleo_f412zg.yaml new file mode 100644 index 0000000000000..de8dd1d0a6859 --- /dev/null +++ b/boards/arm/nucleo_f412zg/nucleo_f412zg.yaml @@ -0,0 +1,7 @@ +identifier: nucleo_f412zg +name: NUCLEO-F412ZG +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb diff --git a/boards/arm/nucleo_f413zh/nucleo_f413zh.yaml b/boards/arm/nucleo_f413zh/nucleo_f413zh.yaml new file mode 100644 index 0000000000000..241bcc9a3eedb --- /dev/null +++ b/boards/arm/nucleo_f413zh/nucleo_f413zh.yaml @@ -0,0 +1,7 @@ +identifier: nucleo_f413zh +name: NUCLEO-F413zh +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb diff --git a/boards/arm/nucleo_l432kc/nucleo_l432kc.yaml b/boards/arm/nucleo_l432kc/nucleo_l432kc.yaml new file mode 100644 index 0000000000000..346e1a50f164a --- /dev/null +++ b/boards/arm/nucleo_l432kc/nucleo_l432kc.yaml @@ -0,0 +1,7 @@ +identifier: nucleo_l432kc +name: NUCLEO-L432KC +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb diff --git a/boards/arm/nucleo_l476rg/nucleo_l476rg.yaml b/boards/arm/nucleo_l476rg/nucleo_l476rg.yaml new file mode 100644 index 0000000000000..b2c1496db95cb --- /dev/null +++ b/boards/arm/nucleo_l476rg/nucleo_l476rg.yaml @@ -0,0 +1,7 @@ +identifier: nucleo_l476rg +name: NUCLEO-L476RG +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb diff --git a/boards/arm/olimex_stm32_e407/olimex_stm32_e407.yaml b/boards/arm/olimex_stm32_e407/olimex_stm32_e407.yaml new file mode 100644 index 0000000000000..7109ebae815dc --- /dev/null +++ b/boards/arm/olimex_stm32_e407/olimex_stm32_e407.yaml @@ -0,0 +1,7 @@ +identifier: olimex_stm32_e407 +name: STM32-E407 +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb diff --git a/boards/arm/olimexino_stm32/olimexino_stm32.yaml b/boards/arm/olimexino_stm32/olimexino_stm32.yaml new file mode 100644 index 0000000000000..79c95266f69aa --- /dev/null +++ b/boards/arm/olimexino_stm32/olimexino_stm32.yaml @@ -0,0 +1,8 @@ +identifier: olimexino_stm32 +name: OLIMEXINO-STM32 +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb +ram: 20 diff --git a/boards/arm/qemu_cortex_m3/qemu_cortex_m3.yaml b/boards/arm/qemu_cortex_m3/qemu_cortex_m3.yaml new file mode 100644 index 0000000000000..5efb43d75e6f4 --- /dev/null +++ b/boards/arm/qemu_cortex_m3/qemu_cortex_m3.yaml @@ -0,0 +1,9 @@ +identifier: qemu_cortex_m3 +name: QEMU Emulation for Cortex-M3 +type: qemu +arch: arm +toolchain: + - zephyr + - gccarmemb +testing: + default: true diff --git a/boards/arm/quark_se_c1000_ble/quark_se_c1000_ble.yaml b/boards/arm/quark_se_c1000_ble/quark_se_c1000_ble.yaml new file mode 100644 index 0000000000000..79b85200740c9 --- /dev/null +++ b/boards/arm/quark_se_c1000_ble/quark_se_c1000_ble.yaml @@ -0,0 +1,8 @@ +identifier: quark_se_c1000_ble +name: Quark SE C1000 Devboard (nRF51) +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb +ram: 16 diff --git a/boards/arm/sam4s_xplained/sam4s_xplained.yaml b/boards/arm/sam4s_xplained/sam4s_xplained.yaml new file mode 100644 index 0000000000000..49129e096c093 --- /dev/null +++ b/boards/arm/sam4s_xplained/sam4s_xplained.yaml @@ -0,0 +1,7 @@ +identifier: sam4s_xplained +name: SAM4S Xplained +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb diff --git a/boards/arm/sam_e70_xplained/sam_e70_xplained.yaml b/boards/arm/sam_e70_xplained/sam_e70_xplained.yaml new file mode 100644 index 0000000000000..f7caa0648f774 --- /dev/null +++ b/boards/arm/sam_e70_xplained/sam_e70_xplained.yaml @@ -0,0 +1,7 @@ +identifier: sam_e70_xplained +name: SAM E70 Xplained +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb diff --git a/boards/arm/stm3210c_eval/stm3210c_eval.yaml b/boards/arm/stm3210c_eval/stm3210c_eval.yaml new file mode 100644 index 0000000000000..90f447c056622 --- /dev/null +++ b/boards/arm/stm3210c_eval/stm3210c_eval.yaml @@ -0,0 +1,7 @@ +identifier: stm3210c_eval +name: STM3210C-EVAL +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb diff --git a/boards/arm/stm32373c_eval/stm32373c_eval.yaml b/boards/arm/stm32373c_eval/stm32373c_eval.yaml new file mode 100644 index 0000000000000..d33000617fe99 --- /dev/null +++ b/boards/arm/stm32373c_eval/stm32373c_eval.yaml @@ -0,0 +1,8 @@ +identifier: stm32373c_eval +name: STM32373C-EVAL +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb +ram: 32 diff --git a/boards/arm/stm32_mini_a15/stm32_mini_a15.yaml b/boards/arm/stm32_mini_a15/stm32_mini_a15.yaml new file mode 100644 index 0000000000000..65a8d77b60a46 --- /dev/null +++ b/boards/arm/stm32_mini_a15/stm32_mini_a15.yaml @@ -0,0 +1,7 @@ +identifier: stm32_mini_a15 +name: STM32 Mini A15 +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb diff --git a/boards/arm/stm32f469i_disco/stm32f469i_disco.yaml b/boards/arm/stm32f469i_disco/stm32f469i_disco.yaml new file mode 100644 index 0000000000000..03b3d355c50ff --- /dev/null +++ b/boards/arm/stm32f469i_disco/stm32f469i_disco.yaml @@ -0,0 +1,7 @@ +identifier: stm32f469i_disco +name: 32F469IDISCOVERY +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb diff --git a/boards/arm/stm32f4_disco/stm32f4_disco.yaml b/boards/arm/stm32f4_disco/stm32f4_disco.yaml new file mode 100644 index 0000000000000..0c78b753ac8ec --- /dev/null +++ b/boards/arm/stm32f4_disco/stm32f4_disco.yaml @@ -0,0 +1,7 @@ +identifier: stm32f4_disco +name: STM32F4DISCOVERY +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb diff --git a/boards/arm/stm32l496g_disco/stm32l496g_disco.yaml b/boards/arm/stm32l496g_disco/stm32l496g_disco.yaml new file mode 100644 index 0000000000000..9face6a76a9ec --- /dev/null +++ b/boards/arm/stm32l496g_disco/stm32l496g_disco.yaml @@ -0,0 +1,7 @@ +identifier: stm32l496g_disco +name: 32L496GDISCOVERY +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb diff --git a/boards/arm/v2m_beetle/v2m_beetle.yaml b/boards/arm/v2m_beetle/v2m_beetle.yaml new file mode 100644 index 0000000000000..2e59f7af42d87 --- /dev/null +++ b/boards/arm/v2m_beetle/v2m_beetle.yaml @@ -0,0 +1,7 @@ +identifier: v2m_beetle +name: V2M Beetle +type: mcu +arch: arm +toolchain: + - zephyr + - gccarmemb diff --git a/boards/nios2/altera_max10/altera_max10.yaml b/boards/nios2/altera_max10/altera_max10.yaml new file mode 100644 index 0000000000000..a59497a450904 --- /dev/null +++ b/boards/nios2/altera_max10/altera_max10.yaml @@ -0,0 +1,6 @@ +identifier: altera_max10 +name: Altera MAX10 +type: mcu +arch: nios2 +toolchain: + - zephyr diff --git a/boards/nios2/qemu_nios2/qemu_nios2.yaml b/boards/nios2/qemu_nios2/qemu_nios2.yaml new file mode 100644 index 0000000000000..82caf2867c9b5 --- /dev/null +++ b/boards/nios2/qemu_nios2/qemu_nios2.yaml @@ -0,0 +1,11 @@ +identifier: qemu_nios2 +name: QEMU Emulation for NIOS II +type: qemu +arch: nios2 +toolchain: + - zephyr +testing: + default: true + ignore_tags: + - net + - bluetooth diff --git a/boards/riscv32/qemu_riscv32/qemu_riscv32.yaml b/boards/riscv32/qemu_riscv32/qemu_riscv32.yaml new file mode 100644 index 0000000000000..4a41f20900f07 --- /dev/null +++ b/boards/riscv32/qemu_riscv32/qemu_riscv32.yaml @@ -0,0 +1,11 @@ +identifier: qemu_riscv32 +name: QEMU Emulation for RISC V +type: qemu +arch: riscv32 +toolchain: + - zephyr +testing: + default: true + ignore_tags: + - net + - bluetooth diff --git a/boards/riscv32/zedboard_pulpino/zedboard_pulpino.yaml b/boards/riscv32/zedboard_pulpino/zedboard_pulpino.yaml new file mode 100644 index 0000000000000..15a5e5e6f87ad --- /dev/null +++ b/boards/riscv32/zedboard_pulpino/zedboard_pulpino.yaml @@ -0,0 +1,7 @@ +identifier: zedboard_pulpino +name: Zedboard Pulpino +type: mcu +arch: riscv32 +toolchain: + - zephyr +ram: 32 diff --git a/boards/x86/arduino_101/arduino_101.yaml b/boards/x86/arduino_101/arduino_101.yaml new file mode 100644 index 0000000000000..0f365f310f828 --- /dev/null +++ b/boards/x86/arduino_101/arduino_101.yaml @@ -0,0 +1,7 @@ +identifier: arduino_101 +name: Arduino 101 +type: mcu +arch: x86 +toolchain: + - zephyr + - issm diff --git a/boards/x86/galileo/galileo.yaml b/boards/x86/galileo/galileo.yaml new file mode 100644 index 0000000000000..666d5dee0d763 --- /dev/null +++ b/boards/x86/galileo/galileo.yaml @@ -0,0 +1,8 @@ +identifier: galileo +name: Galileo Gen2 +type: mcu +arch: x86 +toolchain: + - zephyr +supported: + - pci diff --git a/boards/x86/minnowboard/minnowboard.yaml b/boards/x86/minnowboard/minnowboard.yaml new file mode 100644 index 0000000000000..74b0691acb368 --- /dev/null +++ b/boards/x86/minnowboard/minnowboard.yaml @@ -0,0 +1,6 @@ +identifier: minnowboard +name: MinnowBoard +type: mcu +arch: x86 +toolchain: + - zephyr diff --git a/boards/x86/panther/panther.yaml b/boards/x86/panther/panther.yaml new file mode 100644 index 0000000000000..a15c043cd6e70 --- /dev/null +++ b/boards/x86/panther/panther.yaml @@ -0,0 +1,7 @@ +identifier: panther +name: Panther Board +type: mcu +arch: x86 +toolchain: + - zephyr + - issm diff --git a/boards/x86/qemu_x86/qemu_x86.yaml b/boards/x86/qemu_x86/qemu_x86.yaml new file mode 100644 index 0000000000000..491ef4d0f264c --- /dev/null +++ b/boards/x86/qemu_x86/qemu_x86.yaml @@ -0,0 +1,6 @@ +identifier: qemu_x86 +name: QEMU Emulation for X86 +type: qemu +arch: x86 +toolchain: + - zephyr diff --git a/boards/x86/qemu_x86/qemu_x86_iamcu.yaml b/boards/x86/qemu_x86/qemu_x86_iamcu.yaml new file mode 100644 index 0000000000000..ee3593c9c9679 --- /dev/null +++ b/boards/x86/qemu_x86/qemu_x86_iamcu.yaml @@ -0,0 +1,8 @@ +identifier: qemu_x86_iamcu +name: QEMU Emulation for X86 (IAMCU) +type: qemu +arch: x86 +toolchain: + - zephyr +testing: + default: true diff --git a/boards/x86/quark_d2000_crb/quark_d2000_crb.yaml b/boards/x86/quark_d2000_crb/quark_d2000_crb.yaml new file mode 100644 index 0000000000000..eeb873ecde79b --- /dev/null +++ b/boards/x86/quark_d2000_crb/quark_d2000_crb.yaml @@ -0,0 +1,13 @@ +identifier: quark_d2000_crb +name: Quark D2000 Devboard +type: mcu +arch: x86 +toolchain: + - zephyr + - issm +ram: 8 +flash: 32 +testing: + ignore_tags: + - net + - bluetooth diff --git a/boards/x86/quark_se_c1000_devboard/quark_se_c1000_devboard.yaml b/boards/x86/quark_se_c1000_devboard/quark_se_c1000_devboard.yaml new file mode 100644 index 0000000000000..731a55ed98e66 --- /dev/null +++ b/boards/x86/quark_se_c1000_devboard/quark_se_c1000_devboard.yaml @@ -0,0 +1,7 @@ +identifier: quark_se_c1000_devboard +name: Quark SE C1000 Devboard +type: mcu +arch: x86 +toolchain: + - zephyr + - issm diff --git a/boards/x86/tinytile/tinytile.yaml b/boards/x86/tinytile/tinytile.yaml new file mode 100644 index 0000000000000..b3ce091f4a43a --- /dev/null +++ b/boards/x86/tinytile/tinytile.yaml @@ -0,0 +1,7 @@ +identifier: tinytile +name: tinyTILE +type: mcu +arch: x86 +toolchain: + - zephyr + - issm diff --git a/boards/xtensa/qemu_xtensa/qemu_xtensa.yaml b/boards/xtensa/qemu_xtensa/qemu_xtensa.yaml new file mode 100644 index 0000000000000..1be7a36b422be --- /dev/null +++ b/boards/xtensa/qemu_xtensa/qemu_xtensa.yaml @@ -0,0 +1,9 @@ +identifier: qemu_xtensa +name: QEMU Emulation for Xtensa +type: qemu +arch: xtensa +toolchain: + - xcc + - zephyr +testing: + default: true diff --git a/boards/xtensa/xt-sim/xt-sim.yaml b/boards/xtensa/xt-sim/xt-sim.yaml new file mode 100644 index 0000000000000..708a97b2fb85c --- /dev/null +++ b/boards/xtensa/xt-sim/xt-sim.yaml @@ -0,0 +1,6 @@ +identifier: xt-sim +name: XT Simulator +type: mcu +arch: xtensa +toolchain: + - xcc diff --git a/doc/subsystems/subsystems.rst b/doc/subsystems/subsystems.rst index 1b6c1405a73f4..221c3ce5c1c83 100644 --- a/doc/subsystems/subsystems.rst +++ b/doc/subsystems/subsystems.rst @@ -16,5 +16,5 @@ to applications. power_management.rst sensor shell - test/ztest + test/index usb/usb.rst diff --git a/doc/subsystems/test/index.rst b/doc/subsystems/test/index.rst new file mode 100644 index 0000000000000..dc4540c7502a1 --- /dev/null +++ b/doc/subsystems/test/index.rst @@ -0,0 +1,8 @@ +Testing +####### + +.. toctree:: + :maxdepth: 1 + + ztest + sanitycheck diff --git a/doc/subsystems/test/sanitycheck.rst b/doc/subsystems/test/sanitycheck.rst new file mode 100644 index 0000000000000..c7e7219a7a625 --- /dev/null +++ b/doc/subsystems/test/sanitycheck.rst @@ -0,0 +1,411 @@ + +Zephyr Sanity Tests +################### + +This script scans for the set of unit test applications in the git repository +and attempts to execute them. By default, it tries to build each test case +boards set to be default in the board definition file. + +The default options will build the majority of the tests on a defined set of +boards and will run in emulated environemnts (QEMU) if available for the +architecture or configuration being tested. + +In general, the sanitycheck is used to verify that local changes did not break +anything in the tree and would run basic kernel tests inside QEMU. Sanitycheck +does guarantee that everything would work in the final environment and has +limited coverage (test execution), however, the script builds samples and tests +for different boards using different configurations and helps keeping the code +buildable at all times. + + +To run the script in the local tree, follow the steps below: + +:: + + $ source zephyr-env.sh + $ ./scripts/sanitycheck + +If you have a system with a large number of cores, you can try and build/run all +possible tests using the following options: + +:: + + $ ./scripts/sanitycheck --all --enable-slow + +This will build for all available boards and would run all possible tests in +a simulated environment if applicable. + +The sanitycheck script accepts the following optional arguments: + + -h, --help + show this help message and exit + -p PLATFORM, --platform PLATFORM + Platform filter for testing. This option may be used + multiple times. Testcases will only be built/run on + the platforms specified. If this option is not used, + then platforms marked as default in the platform + metadata file will be chosen to build and test. + -L N, --platform-limit N + Controls what platforms are tested if --platform or + --all are not used. For each architecture specified by + --arch (defaults to all of them), choose the first N + platforms to test in the arch-specific .ini file + 'platforms' list. Defaults to 1. + -a ARCH, --arch ARCH Arch filter for testing. Takes precedence over + --platform. If unspecified, test all arches. Multiple + invocations are treated as a logical 'or' relationship + -t TAG, --tag TAG Specify tags to restrict which tests to run by tag + value. Default is to not do any tag filtering. + Multiple invocations are treated as a logical 'or' + relationship + -e EXCLUDE_TAG, --exclude-tag EXCLUDE_TAG + Specify tags of tests that should not run. Default is + to run all tests with all tags. + -f, --only-failed Run only those tests that failed the previous sanity + check invocation. + -c CONFIG, --config CONFIG + Specify platform configuration values filtering. This + can be specified two ways: = or just + . The defconfig for all platforms will be + checked. For the = case, only match + defconfig that have that value defined. For the + case, match defconfig that have that value + assigned to any value. Prepend a '!' to invert the + match. + -s TEST, --test TEST Run only the specified test cases. These are named by + / + -l, --all Build/test on all platforms. Any --platform arguments + ignored. + -o TESTCASE_REPORT, --testcase-report TESTCASE_REPORT + Output a CSV spreadsheet containing results of the + test run + -d DISCARD_REPORT, --discard-report DISCARD_REPORT + Output a CSV spreadsheet showing tests that were + skipped and why + --compare-report COMPARE_REPORT + Use this report file for size comparison + --ccache Enable the use of ccache when building + -B SUBSET, --subset SUBSET + Only run a subset of the tests, 1/4 for running the + first 25%, 3/5 means run the 3rd fifth of the total. + This option is useful when running a large number of + tests on different hosts to speed up execution time. + -y, --dry-run Create the filtered list of test cases, but don't + actually run them. Useful if you're just interested in + --discard-report + -r, --release Update the benchmark database with the results of this + test run. Intended to be run by CI when tagging an + official release. This database is used as a basis for + comparison when looking for deltas in metrics such as + footprint + -w, --warnings-as-errors + Treat warning conditions as errors + -v, --verbose Emit debugging information, call multiple times to + increase verbosity + -i, --inline-logs Upon test failure, print relevant log data to stdout + instead of just a path to it + --log-file FILENAME log also to file + -m, --last-metrics Instead of comparing metrics from the last --release, + compare with the results of the previous sanity check + invocation + -u, --no-update do not update the results of the last run of the + sanity checks + -b, --build-only Only build the code, do not execute any of it in QEMU + -j JOBS, --jobs JOBS Number of cores to use when building, defaults to + number of CPUs * 2 + -H FOOTPRINT_THRESHOLD, --footprint-threshold FOOTPRINT_THRESHOLD + When checking test case footprint sizes, warn the user + if the new app size is greater then the specified + percentage from the last release. Default is 5. 0 to + warn on any increase on app size + -D, --all-deltas Show all footprint deltas, positive or negative. + Implies --footprint-threshold=0 + -O OUTDIR, --outdir OUTDIR + Output directory for logs and binaries. + -n, --no-clean Do not delete the outdir before building. Will result + in faster compilation since builds will be incremental + -T TESTCASE_ROOT, --testcase-root TESTCASE_ROOT + Base directory to recursively search for test cases. + All testcase.ini files under here will be processed. + May be called multiple times. Defaults to the + 'samples' and 'tests' directories in the Zephyr tree. + -A ARCH_ROOT, --arch-root ARCH_ROOT + Directory to search for arch configuration files. All + .ini files in the directory will be processed. + -z SIZE, --size SIZE Don't run sanity checks. Instead, produce a report to + stdout detailing RAM/ROM sizes on the specified + filenames. All other command line arguments ignored. + -S, --enable-slow Execute time-consuming test cases that have been + marked as 'slow' in testcase.ini. Normally these are + only built. + -R, --enable-asserts Build all test cases with assertions enabled. + -Q, --error-on-deprecations + Error on deprecation warnings. + -x EXTRA_ARGS, --extra-args EXTRA_ARGS + Extra arguments to pass to the build when compiling + test cases. May be called multiple times. These will + be passed in after any sanitycheck-supplied options. + -C, --coverage Scan for unit test coverage with gcov + lcov. + + +Board Configuration +******************* + +To build tests for a specific board and to execute some of the tests on real +hardware or in an emulation environment such as QEMU a board configuration file +is required which is generic enough to be used for other tasks that require a +board inventory with details about the board and its configuration that is only +available during build time otherwise. + +The board metadata file is located in the board directory and is structured +using the YAML markup language. The example below shows a board with a data +required for best test coverage for this specific board: + +.. code-block:: yaml + + identifier: quark_d2000_crb + name: Quark D2000 Devboard + type: mcu + arch: x86 + toolchain: + - zephyr + - issm + ram: 8 + flash: 32 + testing: + default: true + ignore_tags: + - net + - bluetooth + + +identifier: + A string that matches how the board is defined in the build system. This same + string is used when building, for example when calling 'make':: + + # make BOARD=quark_d2000_crb + +name: + The actual name of the board as it appears in marketing material. +type: + Type of the board or configuration, currently we support 2 types: mcu, qemu +arch: + Architecture of the board +toolchain: + The list of supported toolchains that can build this board. This should match + one of the values used for 'ZEPHYR_GCC_VARIANT' when building on the command line +ram: + Available RAM on the board. This is used to match testcase requirements +flash: + Available FLASH on the board. This is used to match testcase requirements +testing: + testing relating keywords to provide best coverage for the features of this + board. + + default: [True|False]: + This is a default board, it will tested with the highest priority and is + covered when invoking the simplified sanitycheck without any additional + arguments. + ignore_tags: + Do not attempt to build or run tests marked with this list of tags. + + + + +Test Cases +********** + +Test cases are detected by the presence of a 'testcase.yaml' or a 'sample.yaml' +files in the application's project directory. This file may contain one or more +entries in the test section each identifying a test scenario. The name of +the test case only needs to be unique for the test cases specified in +that testcase meta-data. + +Test cases are written suing the YAML syntax and share the same structure as +samples. The following is an example test with a few options that are +exaplained in this document. + + +:: + + tests: + - test: + build_only: true + platform_whitelist: qemu_cortex_m3 qemu_x86 arduino_101 + tags: bluetooth + - test_br: + build_only: true + extra_args: CONF_FILE="prj_br.conf" + filter: not CONFIG_DEBUG + platform_exclude: quark_d2000_crb + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth + + +A sample with tests will have the same structure with additional information +related to the sample and what is being demonstrated: + +:: + + sample: + name: hello world + description: Hello World sample, the simplest Zephyr application + platforms: all + tests: + - test: + build_only: true + tags: samples tests + min_ram: 16 + - singlethread: + build_only: true + extra_args: CONF_FILE=prj_single.conf + filter: not CONFIG_BLUETOOTH and not CONFIG_GPIO_SCH + tags: samples tests + min_ram: 16 + +The full canonical name for each test case is: + +:: + + / + +Each test block in the testcase meta data can define the following key/value +pairs: + +tags: (required) + A set of string tags for the testcase. Usually pertains to + functional domains but can be anything. Command line invocations + of this script can filter the set of tests to run based on tag. + +skip: (default False) + skip testcase unconditionally. This can be used for broken tests. + +slow: (default False) + Don't run this test case unless --enable-slow was passed in on the + command line. Intended for time-consuming test cases that are only + run under certain circumstances, like daily builds. These test cases + are still compiled. + +extra_args: + Extra arguments to pass to Make when building or running the + test case. + +build_only: (default False) + If true, don't try to run the test under QEMU even if the + selected platform supports it. + +build_on_all: (default False) + If true, attempt to build test on all available platforms. + +depends_on: + A board or platform can announce what features it supports, this option + will enable the test only those platforms that provide this feature. + +min_ram: + minimum amount of RAM needed for this test to build and run. This is + compared with information provided by the board metadata. + +min_flash: + minimum amount of ROM needed for this test to build and run. This is + compared with information provided by the board metadata. + +timeout: + Length of time to run test in QEMU before automatically killing it. + Default to 60 seconds. + +arch_whitelist: + Set of architectures that this test case should only be run for. + +arch_exclude: + Set of architectures that this test case should not run on. + +platform_whitelist: + Set of platforms that this test case should only be run for. + +platform_exclude: + Set of platforms that this test case should not run on. + +extra_sections: + When computing sizes, sanitycheck will report errors if it finds + extra, unexpected sections in the Zephyr binary unless they are named + here. They will not be included in the size calculation. + +filter: + Filter whether the testcase should be run by evaluating an expression + against an environment containing the following values: + + :: + + { ARCH : , + PLATFORM : , + , + *: any environment variable available + } + + The grammar for the expression language is as follows: + + expression ::= expression "and" expression + | expression "or" expression + | "not" expression + | "(" expression ")" + | symbol "==" constant + | symbol "!=" constant + | symbol "<" number + | symbol ">" number + | symbol ">=" number + | symbol "<=" number + | symbol "in" list + | symbol ":" string + | symbol + + list ::= "[" list_contents "]" + + list_contents ::= constant + | list_contents "," constant + + constant ::= number + | string + + + For the case where expression ::= symbol, it evaluates to true + if the symbol is defined to a non-empty string. + + Operator precedence, starting from lowest to highest: + + or (left associative) + and (left associative) + not (right associative) + all comparison operators (non-associative) + + arch_whitelist, arch_exclude, platform_whitelist, platform_exclude + are all syntactic sugar for these expressions. For instance + + arch_exclude = x86 arc + + Is the same as: + + filter = not ARCH in ["x86", "arc"] + + The ':' operator compiles the string argument as a regular expression, + and then returns a true value only if the symbol's value in the environment + matches. For example, if CONFIG_SOC="quark_se" then + + filter = CONFIG_SOC : "quark.*" + + Would match it. + +The set of test cases that actually run depends on directives in the testcase +filed and options passed in on the command line. If there is any confusion, +running with -v or --discard-report can help show why particular test cases +were skipped. + +Metrics (such as pass/fail state and binary size) for the last code +release are stored in scripts/sanity_chk/sanity_last_release.csv. +To update this, pass the --all --release options. + +To load arguments from a file, write '+' before the file name, e.g., ++file_name. File content must be one or more valid arguments separated by +line break instead of white spaces. + +Most everyday users will run with no arguments. diff --git a/doc/subsystems/test/ztest.rst b/doc/subsystems/test/ztest.rst index de24a03a33d7a..f01741a4c74a8 100644 --- a/doc/subsystems/test/ztest.rst +++ b/doc/subsystems/test/ztest.rst @@ -27,10 +27,10 @@ Makefile :language: Make :linenos: -testcase.ini +sample.yaml -.. literalinclude:: ../../../samples/testing/integration/testcase.ini - :language: ini +.. literalinclude:: ../../../samples/testing/integration/sample.yaml + :language: yaml :linenos: prj.conf @@ -83,10 +83,10 @@ Makefile :language: Make :linenos: -testcase.ini +sample.yaml -.. literalinclude:: ../../../samples/testing/unit/testcase.ini - :language: ini +.. literalinclude:: ../../../samples/testing/unit/sample.yaml + :language: yaml :linenos: main.c diff --git a/samples/application_development/external_lib/sample.yaml b/samples/application_development/external_lib/sample.yaml new file mode 100644 index 0000000000000..82b3f54223a5c --- /dev/null +++ b/samples/application_development/external_lib/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: qemu_x86 + tags: appdev diff --git a/samples/application_development/external_lib/testcase.ini b/samples/application_development/external_lib/testcase.ini deleted file mode 100644 index c3d0fa6f664b1..0000000000000 --- a/samples/application_development/external_lib/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = appdev -build_only = true -platform_whitelist = qemu_x86 diff --git a/samples/application_development/static_lib/sample.yaml b/samples/application_development/static_lib/sample.yaml new file mode 100644 index 0000000000000..50f4524fb1ecf --- /dev/null +++ b/samples/application_development/static_lib/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: qemu_x86 + tags: static_link diff --git a/samples/application_development/static_lib/testcase.ini b/samples/application_development/static_lib/testcase.ini deleted file mode 100644 index a33e363481127..0000000000000 --- a/samples/application_development/static_lib/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = static_link -build_only = true -platform_whitelist = qemu_x86 diff --git a/samples/basic/blink_led/sample.yaml b/samples/basic/blink_led/sample.yaml new file mode 100644 index 0000000000000..2dc6627ac7016 --- /dev/null +++ b/samples/basic/blink_led/sample.yaml @@ -0,0 +1,10 @@ +sample: + description: TBD + name: TBD +tests: +- test: + arch_whitelist: x86 arm + build_only: true + platform_whitelist: arduino_101 quark_d2000_crb + nucleo_f103rb nucleo_f401re nucleo_l476rg + tags: apps diff --git a/samples/basic/blink_led/testcase.ini b/samples/basic/blink_led/testcase.ini deleted file mode 100644 index 160996421096a..0000000000000 --- a/samples/basic/blink_led/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -build_only = true -tags = apps -arch_whitelist = x86 arm -platform_whitelist = arduino_101 quark_d2000_crb nucleo_f103rb nucleo_f401re nucleo_l476rg diff --git a/samples/basic/blinky/sample.yaml b/samples/basic/blinky/sample.yaml new file mode 100644 index 0000000000000..b826f69b6d7ac --- /dev/null +++ b/samples/basic/blinky/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: arduino_101 + tags: samples diff --git a/samples/basic/blinky/testcase.ini b/samples/basic/blinky/testcase.ini deleted file mode 100644 index ec63b947d8448..0000000000000 --- a/samples/basic/blinky/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -tags = samples -platform_whitelist = arduino_101 -build_only = true - diff --git a/samples/basic/button/sample.yaml b/samples/basic/button/sample.yaml new file mode 100644 index 0000000000000..34e7bbc91e957 --- /dev/null +++ b/samples/basic/button/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: nucleo_f103rb quark_se_c1000_devboard + tags: samples diff --git a/samples/basic/button/testcase.ini b/samples/basic/button/testcase.ini deleted file mode 100644 index d530e7b82f183..0000000000000 --- a/samples/basic/button/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -build_only = true -tags = samples -platform_whitelist = nucleo_f103rb quark_se_c1000_devboard diff --git a/samples/basic/disco/sample.yaml b/samples/basic/disco/sample.yaml new file mode 100644 index 0000000000000..ef60fc1495a0e --- /dev/null +++ b/samples/basic/disco/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: nucleo_f103rb nucleo_f401re + tags: samples diff --git a/samples/basic/disco/testcase.ini b/samples/basic/disco/testcase.ini deleted file mode 100644 index d738bcaad55e7..0000000000000 --- a/samples/basic/disco/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -build_only = true -tags = samples -platform_whitelist = nucleo_f103rb nucleo_f401re diff --git a/samples/basic/fade_led/sample.yaml b/samples/basic/fade_led/sample.yaml new file mode 100644 index 0000000000000..2dc6627ac7016 --- /dev/null +++ b/samples/basic/fade_led/sample.yaml @@ -0,0 +1,10 @@ +sample: + description: TBD + name: TBD +tests: +- test: + arch_whitelist: x86 arm + build_only: true + platform_whitelist: arduino_101 quark_d2000_crb + nucleo_f103rb nucleo_f401re nucleo_l476rg + tags: apps diff --git a/samples/basic/fade_led/testcase.ini b/samples/basic/fade_led/testcase.ini deleted file mode 100644 index 160996421096a..0000000000000 --- a/samples/basic/fade_led/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -build_only = true -tags = apps -arch_whitelist = x86 arm -platform_whitelist = arduino_101 quark_d2000_crb nucleo_f103rb nucleo_f401re nucleo_l476rg diff --git a/samples/basic/rgb_led/sample.yaml b/samples/basic/rgb_led/sample.yaml new file mode 100644 index 0000000000000..f2d26d2527243 --- /dev/null +++ b/samples/basic/rgb_led/sample.yaml @@ -0,0 +1,9 @@ +sample: + description: TBD + name: TBD +tests: +- test: + arch_whitelist: x86 + build_only: true + platform_whitelist: arduino_101 + tags: apps diff --git a/samples/basic/rgb_led/testcase.ini b/samples/basic/rgb_led/testcase.ini deleted file mode 100644 index a05ca9b471736..0000000000000 --- a/samples/basic/rgb_led/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -build_only = true -tags = apps -arch_whitelist = x86 -platform_whitelist = arduino_101 diff --git a/samples/basic/servo_motor/sample.yaml b/samples/basic/servo_motor/sample.yaml new file mode 100644 index 0000000000000..4459e44184a89 --- /dev/null +++ b/samples/basic/servo_motor/sample.yaml @@ -0,0 +1,9 @@ +sample: + description: TBD + name: TBD +tests: +- test: + arch_whitelist: x86 + build_only: true + platform_whitelist: arduino_101 quark_d2000_crb + tags: apps diff --git a/samples/basic/servo_motor/testcase.ini b/samples/basic/servo_motor/testcase.ini deleted file mode 100644 index cc93bbad0eddc..0000000000000 --- a/samples/basic/servo_motor/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -build_only = true -tags = apps -arch_whitelist = x86 -platform_whitelist = arduino_101 quark_d2000_crb diff --git a/samples/bluetooth/beacon/sample.yaml b/samples/bluetooth/beacon/sample.yaml new file mode 100644 index 0000000000000..da05ee28c5ed1 --- /dev/null +++ b/samples/bluetooth/beacon/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth diff --git a/samples/bluetooth/beacon/testcase.ini b/samples/bluetooth/beacon/testcase.ini deleted file mode 100644 index 150def455a8b5..0000000000000 --- a/samples/bluetooth/beacon/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = bluetooth -build_only = true -platform_whitelist = qemu_cortex_m3 qemu_x86 diff --git a/samples/bluetooth/central/sample.yaml b/samples/bluetooth/central/sample.yaml new file mode 100644 index 0000000000000..da05ee28c5ed1 --- /dev/null +++ b/samples/bluetooth/central/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth diff --git a/samples/bluetooth/central/testcase.ini b/samples/bluetooth/central/testcase.ini deleted file mode 100644 index 150def455a8b5..0000000000000 --- a/samples/bluetooth/central/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = bluetooth -build_only = true -platform_whitelist = qemu_cortex_m3 qemu_x86 diff --git a/samples/bluetooth/central_hr/sample.yaml b/samples/bluetooth/central_hr/sample.yaml new file mode 100644 index 0000000000000..8115ea78a9d46 --- /dev/null +++ b/samples/bluetooth/central_hr/sample.yaml @@ -0,0 +1,9 @@ +sample: + description: TBD + name: TBD +tests: +- test: + arch_whitelist: x86 + build_only: true + platform_exclude: quark_d2000_crb + tags: bluetooth diff --git a/samples/bluetooth/central_hr/testcase.ini b/samples/bluetooth/central_hr/testcase.ini deleted file mode 100644 index 94b83b285de06..0000000000000 --- a/samples/bluetooth/central_hr/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -tags = bluetooth -build_only = true -arch_whitelist = x86 -platform_exclude = quark_d2000_crb diff --git a/samples/bluetooth/eddystone/sample.yaml b/samples/bluetooth/eddystone/sample.yaml new file mode 100644 index 0000000000000..da05ee28c5ed1 --- /dev/null +++ b/samples/bluetooth/eddystone/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth diff --git a/samples/bluetooth/eddystone/testcase.ini b/samples/bluetooth/eddystone/testcase.ini deleted file mode 100644 index 150def455a8b5..0000000000000 --- a/samples/bluetooth/eddystone/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = bluetooth -build_only = true -platform_whitelist = qemu_cortex_m3 qemu_x86 diff --git a/samples/bluetooth/handsfree/sample.yaml b/samples/bluetooth/handsfree/sample.yaml new file mode 100644 index 0000000000000..da05ee28c5ed1 --- /dev/null +++ b/samples/bluetooth/handsfree/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth diff --git a/samples/bluetooth/handsfree/testcase.ini b/samples/bluetooth/handsfree/testcase.ini deleted file mode 100644 index 150def455a8b5..0000000000000 --- a/samples/bluetooth/handsfree/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = bluetooth -build_only = true -platform_whitelist = qemu_cortex_m3 qemu_x86 diff --git a/samples/bluetooth/hci_uart/sample.yaml b/samples/bluetooth/hci_uart/sample.yaml new file mode 100644 index 0000000000000..c931492ea60aa --- /dev/null +++ b/samples/bluetooth/hci_uart/sample.yaml @@ -0,0 +1,17 @@ +sample: + description: TBD + name: TBD +tests: +- test_arm: + arch_whitelist: arm + build_only: true + platform_whitelist: 96b_nitrogen nrf51_pca10028 + nrf52_pca10040 + tags: uart bluetooth +- test_nrf5: + arch_whitelist: arm + build_only: true + extra_args: CONF_FILE="nrf5.conf" + platform_whitelist: 96b_nitrogen nrf51_pca10028 + nrf52_pca10040 arduino_101_ble + tags: uart bluetooth diff --git a/samples/bluetooth/hci_uart/testcase.ini b/samples/bluetooth/hci_uart/testcase.ini deleted file mode 100644 index 8e28305369aec..0000000000000 --- a/samples/bluetooth/hci_uart/testcase.ini +++ /dev/null @@ -1,12 +0,0 @@ -[test_arm] -tags = uart bluetooth -build_only = true -arch_whitelist = arm -platform_whitelist = 96b_nitrogen nrf51_pca10028 nrf52_pca10040 - -[test_nrf5] -tags = uart bluetooth -build_only = true -arch_whitelist = arm -platform_whitelist = 96b_nitrogen nrf51_pca10028 nrf52_pca10040 arduino_101_ble -extra_args = CONF_FILE="nrf5.conf" diff --git a/samples/bluetooth/hci_usb/sample.yaml b/samples/bluetooth/hci_usb/sample.yaml new file mode 100644 index 0000000000000..dd7d019a55398 --- /dev/null +++ b/samples/bluetooth/hci_usb/sample.yaml @@ -0,0 +1,9 @@ +sample: + description: TBD + name: TBD +tests: +- test_x86: + arch_whitelist: x86 + build_only: true + platform_whitelist: quark_se_c1000_devboard + tags: usb bluetooth diff --git a/samples/bluetooth/hci_usb/testcase.ini b/samples/bluetooth/hci_usb/testcase.ini deleted file mode 100644 index d44f327a02ee6..0000000000000 --- a/samples/bluetooth/hci_usb/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test_x86] -tags = usb bluetooth -build_only = true -arch_whitelist = x86 -platform_whitelist = quark_se_c1000_devboard diff --git a/samples/bluetooth/ipsp/sample.yaml b/samples/bluetooth/ipsp/sample.yaml new file mode 100644 index 0000000000000..2aed69ca05fd7 --- /dev/null +++ b/samples/bluetooth/ipsp/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: qemu_x86 qemu_cortex_m3 + tags: bluetooth net diff --git a/samples/bluetooth/ipsp/testcase.ini b/samples/bluetooth/ipsp/testcase.ini deleted file mode 100644 index 64b66bf18e772..0000000000000 --- a/samples/bluetooth/ipsp/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = bluetooth net -build_only = true -platform_whitelist = qemu_x86 qemu_cortex_m3 diff --git a/samples/bluetooth/peripheral/sample.yaml b/samples/bluetooth/peripheral/sample.yaml new file mode 100644 index 0000000000000..da05ee28c5ed1 --- /dev/null +++ b/samples/bluetooth/peripheral/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth diff --git a/samples/bluetooth/peripheral/testcase.ini b/samples/bluetooth/peripheral/testcase.ini deleted file mode 100644 index 150def455a8b5..0000000000000 --- a/samples/bluetooth/peripheral/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = bluetooth -build_only = true -platform_whitelist = qemu_cortex_m3 qemu_x86 diff --git a/samples/bluetooth/peripheral_csc/sample.yaml b/samples/bluetooth/peripheral_csc/sample.yaml new file mode 100644 index 0000000000000..da05ee28c5ed1 --- /dev/null +++ b/samples/bluetooth/peripheral_csc/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth diff --git a/samples/bluetooth/peripheral_csc/testcase.ini b/samples/bluetooth/peripheral_csc/testcase.ini deleted file mode 100644 index 150def455a8b5..0000000000000 --- a/samples/bluetooth/peripheral_csc/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = bluetooth -build_only = true -platform_whitelist = qemu_cortex_m3 qemu_x86 diff --git a/samples/bluetooth/peripheral_dis/sample.yaml b/samples/bluetooth/peripheral_dis/sample.yaml new file mode 100644 index 0000000000000..da05ee28c5ed1 --- /dev/null +++ b/samples/bluetooth/peripheral_dis/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth diff --git a/samples/bluetooth/peripheral_dis/testcase.ini b/samples/bluetooth/peripheral_dis/testcase.ini deleted file mode 100644 index 150def455a8b5..0000000000000 --- a/samples/bluetooth/peripheral_dis/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = bluetooth -build_only = true -platform_whitelist = qemu_cortex_m3 qemu_x86 diff --git a/samples/bluetooth/peripheral_esp/sample.yaml b/samples/bluetooth/peripheral_esp/sample.yaml new file mode 100644 index 0000000000000..da05ee28c5ed1 --- /dev/null +++ b/samples/bluetooth/peripheral_esp/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth diff --git a/samples/bluetooth/peripheral_esp/testcase.ini b/samples/bluetooth/peripheral_esp/testcase.ini deleted file mode 100644 index 150def455a8b5..0000000000000 --- a/samples/bluetooth/peripheral_esp/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = bluetooth -build_only = true -platform_whitelist = qemu_cortex_m3 qemu_x86 diff --git a/samples/bluetooth/peripheral_hids/sample.yaml b/samples/bluetooth/peripheral_hids/sample.yaml new file mode 100644 index 0000000000000..da05ee28c5ed1 --- /dev/null +++ b/samples/bluetooth/peripheral_hids/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth diff --git a/samples/bluetooth/peripheral_hids/testcase.ini b/samples/bluetooth/peripheral_hids/testcase.ini deleted file mode 100644 index 150def455a8b5..0000000000000 --- a/samples/bluetooth/peripheral_hids/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = bluetooth -build_only = true -platform_whitelist = qemu_cortex_m3 qemu_x86 diff --git a/samples/bluetooth/peripheral_hr/sample.yaml b/samples/bluetooth/peripheral_hr/sample.yaml new file mode 100644 index 0000000000000..da05ee28c5ed1 --- /dev/null +++ b/samples/bluetooth/peripheral_hr/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth diff --git a/samples/bluetooth/peripheral_hr/testcase.ini b/samples/bluetooth/peripheral_hr/testcase.ini deleted file mode 100644 index 9fcdb833a8355..0000000000000 --- a/samples/bluetooth/peripheral_hr/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = bluetooth -build_only = true -platform_whitelist = qemu_cortex_m3 qemu_x86 frdm_k64f hexiwear_k64 diff --git a/samples/bluetooth/peripheral_sc_only/sample.yaml b/samples/bluetooth/peripheral_sc_only/sample.yaml new file mode 100644 index 0000000000000..da05ee28c5ed1 --- /dev/null +++ b/samples/bluetooth/peripheral_sc_only/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth diff --git a/samples/bluetooth/peripheral_sc_only/testcase.ini b/samples/bluetooth/peripheral_sc_only/testcase.ini deleted file mode 100644 index 150def455a8b5..0000000000000 --- a/samples/bluetooth/peripheral_sc_only/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = bluetooth -build_only = true -platform_whitelist = qemu_cortex_m3 qemu_x86 diff --git a/samples/bluetooth/scan_adv/sample.yaml b/samples/bluetooth/scan_adv/sample.yaml new file mode 100644 index 0000000000000..da05ee28c5ed1 --- /dev/null +++ b/samples/bluetooth/scan_adv/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth diff --git a/samples/bluetooth/scan_adv/testcase.ini b/samples/bluetooth/scan_adv/testcase.ini deleted file mode 100644 index 150def455a8b5..0000000000000 --- a/samples/bluetooth/scan_adv/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = bluetooth -build_only = true -platform_whitelist = qemu_cortex_m3 qemu_x86 diff --git a/samples/boards/arduino_101/environmental_sensing/ap/sample.yaml b/samples/boards/arduino_101/environmental_sensing/ap/sample.yaml new file mode 100644 index 0000000000000..0c48b56d150b1 --- /dev/null +++ b/samples/boards/arduino_101/environmental_sensing/ap/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test-nimble: + build_only: true + filter: CONFIG_SOC_QUARK_SE_C1000 + tags: samples diff --git a/samples/boards/arduino_101/environmental_sensing/ap/testcase.ini b/samples/boards/arduino_101/environmental_sensing/ap/testcase.ini deleted file mode 100644 index 7ef23ef66ae03..0000000000000 --- a/samples/boards/arduino_101/environmental_sensing/ap/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test-nimble] -build_only = true -tags = samples -filter = CONFIG_SOC_QUARK_SE_C1000 diff --git a/samples/boards/arduino_101/environmental_sensing/sensor/sample.yaml b/samples/boards/arduino_101/environmental_sensing/sensor/sample.yaml new file mode 100644 index 0000000000000..17e0f90ec6c5c --- /dev/null +++ b/samples/boards/arduino_101/environmental_sensing/sensor/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + filter: CONFIG_SOC_QUARK_SE_C1000_SS + tags: samples diff --git a/samples/boards/arduino_101/environmental_sensing/sensor/testcase.ini b/samples/boards/arduino_101/environmental_sensing/sensor/testcase.ini deleted file mode 100644 index aaa8aeb1c7700..0000000000000 --- a/samples/boards/arduino_101/environmental_sensing/sensor/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -build_only = true -tags = samples -filter = CONFIG_SOC_QUARK_SE_C1000_SS diff --git a/samples/boards/microbit/display/sample.yaml b/samples/boards/microbit/display/sample.yaml new file mode 100644 index 0000000000000..3c4fcd2551f85 --- /dev/null +++ b/samples/boards/microbit/display/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: bbc_microbit + tags: samples diff --git a/samples/boards/microbit/display/testcase.ini b/samples/boards/microbit/display/testcase.ini deleted file mode 100644 index 0763266506bd3..0000000000000 --- a/samples/boards/microbit/display/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -build_only = true -tags = samples -platform_whitelist = bbc_microbit diff --git a/samples/boards/microbit/pong/testcase.ini b/samples/boards/microbit/pong/testcase.ini deleted file mode 100644 index 0763266506bd3..0000000000000 --- a/samples/boards/microbit/pong/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -build_only = true -tags = samples -platform_whitelist = bbc_microbit diff --git a/samples/boards/microbit/sound/sample.yaml b/samples/boards/microbit/sound/sample.yaml new file mode 100644 index 0000000000000..3c4fcd2551f85 --- /dev/null +++ b/samples/boards/microbit/sound/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: bbc_microbit + tags: samples diff --git a/samples/boards/microbit/sound/testcase.ini b/samples/boards/microbit/sound/testcase.ini deleted file mode 100644 index 0763266506bd3..0000000000000 --- a/samples/boards/microbit/sound/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -build_only = true -tags = samples -platform_whitelist = bbc_microbit diff --git a/samples/boards/quark_se_c1000/power_mgr/sample.yaml b/samples/boards/quark_se_c1000/power_mgr/sample.yaml new file mode 100644 index 0000000000000..09551c27592cc --- /dev/null +++ b/samples/boards/quark_se_c1000/power_mgr/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + filter: (CONFIG_SOC_QUARK_SE_C1000 or CONFIG_SOC_QUARK_SE_C1000_SS) + tags: samples power diff --git a/samples/boards/quark_se_c1000/power_mgr/testcase.ini b/samples/boards/quark_se_c1000/power_mgr/testcase.ini deleted file mode 100644 index 7422653457959..0000000000000 --- a/samples/boards/quark_se_c1000/power_mgr/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -build_only = true -tags = samples power -filter = (CONFIG_SOC_QUARK_SE_C1000 or CONFIG_SOC_QUARK_SE_C1000_SS) diff --git a/samples/cpp_synchronization/sample.yaml b/samples/cpp_synchronization/sample.yaml new file mode 100644 index 0000000000000..00712e872fb09 --- /dev/null +++ b/samples/cpp_synchronization/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + filter: ZEPHYR_GCC_VARIANT != "issm" + tags: apps diff --git a/samples/cpp_synchronization/testcase.ini b/samples/cpp_synchronization/testcase.ini deleted file mode 100644 index a1fa5b670ebcb..0000000000000 --- a/samples/cpp_synchronization/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -build_only = true -tags = apps -filter = ZEPHYR_GCC_VARIANT != "issm" diff --git a/samples/drivers/aio_comparator/sample.yaml b/samples/drivers/aio_comparator/sample.yaml new file mode 100644 index 0000000000000..9ac161935d5a5 --- /dev/null +++ b/samples/drivers/aio_comparator/sample.yaml @@ -0,0 +1,9 @@ +sample: + description: TBD + name: TBD +tests: +- test: + arch_whitelist: x86 + build_only: true + platform_whitelist: arduino_101 + tags: drivers diff --git a/samples/drivers/aio_comparator/testcase.ini b/samples/drivers/aio_comparator/testcase.ini deleted file mode 100644 index 371ff7b2a1b30..0000000000000 --- a/samples/drivers/aio_comparator/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -build_only = true -tags = drivers -arch_whitelist = x86 -platform_whitelist = arduino_101 diff --git a/samples/drivers/crypto/sample.yaml b/samples/drivers/crypto/sample.yaml new file mode 100644 index 0000000000000..a2419ff142323 --- /dev/null +++ b/samples/drivers/crypto/sample.yaml @@ -0,0 +1,9 @@ +sample: + description: TBD + name: TBD +tests: +- test-micro: + arch_whitelist: x86 + build_only: true + platform_whitelist: qemu_x86 + tags: crypto diff --git a/samples/drivers/crypto/testcase.ini b/samples/drivers/crypto/testcase.ini deleted file mode 100644 index db618c8c69160..0000000000000 --- a/samples/drivers/crypto/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test-micro] -tags = crypto -build_only = true -arch_whitelist = x86 -platform_whitelist = qemu_x86 diff --git a/samples/drivers/current_sensing/sample.yaml b/samples/drivers/current_sensing/sample.yaml new file mode 100644 index 0000000000000..32209bca0615c --- /dev/null +++ b/samples/drivers/current_sensing/sample.yaml @@ -0,0 +1,9 @@ +sample: + description: TBD + name: TBD +tests: +- test: + arch_whitelist: arc x86 + build_only: true + platform_whitelist: arduino_101_sss quark_d2000_crb + tags: sensors diff --git a/samples/drivers/current_sensing/testcase.ini b/samples/drivers/current_sensing/testcase.ini deleted file mode 100644 index 527fb4e969ff1..0000000000000 --- a/samples/drivers/current_sensing/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -build_only = true -tags = sensors -arch_whitelist = arc x86 -platform_whitelist = arduino_101_sss quark_d2000_crb diff --git a/samples/drivers/gpio/sample.yaml b/samples/drivers/gpio/sample.yaml new file mode 100644 index 0000000000000..93111f7a25f1b --- /dev/null +++ b/samples/drivers/gpio/sample.yaml @@ -0,0 +1,9 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: quark_se_c1000_devboard + arduino_101 arduino_101_sss arduino_due + tags: drivers diff --git a/samples/drivers/gpio/testcase.ini b/samples/drivers/gpio/testcase.ini deleted file mode 100644 index 5545591003775..0000000000000 --- a/samples/drivers/gpio/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -build_only = true -tags = drivers -platform_whitelist = quark_se_c1000_devboard arduino_101 arduino_101_sss arduino_due diff --git a/samples/drivers/i2c_fujitsu_fram/sample.yaml b/samples/drivers/i2c_fujitsu_fram/sample.yaml new file mode 100644 index 0000000000000..a2da5c02637b8 --- /dev/null +++ b/samples/drivers/i2c_fujitsu_fram/sample.yaml @@ -0,0 +1,10 @@ +sample: + description: TBD + name: TBD +tests: +- test: + arch_whitelist: arc x86 arm + build_only: true + platform_whitelist: arduino_101_sss quark_d2000_crb + arduino_due + tags: drivers diff --git a/samples/drivers/i2c_fujitsu_fram/testcase.ini b/samples/drivers/i2c_fujitsu_fram/testcase.ini deleted file mode 100644 index 4460a2408981b..0000000000000 --- a/samples/drivers/i2c_fujitsu_fram/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -build_only = true -tags = drivers -arch_whitelist = arc x86 arm -platform_whitelist = arduino_101_sss quark_d2000_crb arduino_due diff --git a/samples/drivers/lcd_hd44780/sample.yaml b/samples/drivers/lcd_hd44780/sample.yaml new file mode 100644 index 0000000000000..aa9e5a947bbb2 --- /dev/null +++ b/samples/drivers/lcd_hd44780/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + filter: CONFIG_SOC_ATMEL_SAM3 + tags: samples diff --git a/samples/drivers/lcd_hd44780/testcase.ini b/samples/drivers/lcd_hd44780/testcase.ini deleted file mode 100644 index 2d8e8587b8ecf..0000000000000 --- a/samples/drivers/lcd_hd44780/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -tags = samples -build_only = true -filter = CONFIG_SOC_SERIES_SAM3X - diff --git a/samples/drivers/led_apa102c/sample.yaml b/samples/drivers/led_apa102c/sample.yaml new file mode 100644 index 0000000000000..55dc53e9a70c9 --- /dev/null +++ b/samples/drivers/led_apa102c/sample.yaml @@ -0,0 +1,9 @@ +sample: + description: TBD + name: TBD +tests: +- test: + arch_whitelist: x86 + build_only: true + platform_whitelist: arduino_101 + tags: samples diff --git a/samples/drivers/led_apa102c/testcase.ini b/samples/drivers/led_apa102c/testcase.ini deleted file mode 100644 index c3e4bfa8ca85a..0000000000000 --- a/samples/drivers/led_apa102c/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -build_only = true -tags = samples -arch_whitelist = x86 -platform_whitelist = arduino_101 diff --git a/samples/drivers/random/sample.yaml b/samples/drivers/random/sample.yaml new file mode 100644 index 0000000000000..039c3538b186f --- /dev/null +++ b/samples/drivers/random/sample.yaml @@ -0,0 +1,7 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + tags: samples diff --git a/samples/drivers/random/testcase.ini b/samples/drivers/random/testcase.ini deleted file mode 100644 index f3fbf9748d9d1..0000000000000 --- a/samples/drivers/random/testcase.ini +++ /dev/null @@ -1,3 +0,0 @@ -[test] -build_only = true -tags = samples diff --git a/samples/drivers/rtc/sample.yaml b/samples/drivers/rtc/sample.yaml new file mode 100644 index 0000000000000..fb2c59bea4af1 --- /dev/null +++ b/samples/drivers/rtc/sample.yaml @@ -0,0 +1,9 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: quark_d2000_crb quark_se_c1000_devboard + arduino_101 + tags: drivers diff --git a/samples/drivers/rtc/testcase.ini b/samples/drivers/rtc/testcase.ini deleted file mode 100644 index f47d2f86ffd70..0000000000000 --- a/samples/drivers/rtc/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = drivers -build_only = true -platform_whitelist = quark_d2000_crb quark_se_c1000_devboard arduino_101 diff --git a/samples/drivers/soc_flash_nrf5/sample.yaml b/samples/drivers/soc_flash_nrf5/sample.yaml new file mode 100644 index 0000000000000..7659da90c5ea5 --- /dev/null +++ b/samples/drivers/soc_flash_nrf5/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: nrf52_pca10040 + tags: apps diff --git a/samples/drivers/soc_flash_nrf5/testcase.ini b/samples/drivers/soc_flash_nrf5/testcase.ini deleted file mode 100644 index 1d6b614f969a0..0000000000000 --- a/samples/drivers/soc_flash_nrf5/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = apps -build_only = true -platform_whitelist = nrf52_pca10040 diff --git a/samples/drivers/spi_flash/sample.yaml b/samples/drivers/spi_flash/sample.yaml new file mode 100644 index 0000000000000..772f074de5194 --- /dev/null +++ b/samples/drivers/spi_flash/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: arduino_101 + tags: apps diff --git a/samples/drivers/spi_flash/testcase.ini b/samples/drivers/spi_flash/testcase.ini deleted file mode 100644 index d93d228f25a73..0000000000000 --- a/samples/drivers/spi_flash/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = apps -build_only = true -platform_whitelist = arduino_101 diff --git a/samples/drivers/spi_fujitsu_fram/sample.yaml b/samples/drivers/spi_fujitsu_fram/sample.yaml new file mode 100644 index 0000000000000..f2d26d2527243 --- /dev/null +++ b/samples/drivers/spi_fujitsu_fram/sample.yaml @@ -0,0 +1,9 @@ +sample: + description: TBD + name: TBD +tests: +- test: + arch_whitelist: x86 + build_only: true + platform_whitelist: arduino_101 + tags: apps diff --git a/samples/drivers/spi_fujitsu_fram/testcase.ini b/samples/drivers/spi_fujitsu_fram/testcase.ini deleted file mode 100644 index aa6be33cffb22..0000000000000 --- a/samples/drivers/spi_fujitsu_fram/testcase.ini +++ /dev/null @@ -1,6 +0,0 @@ -[test] -build_only = true -tags = apps - -arch_whitelist = x86 -platform_whitelist = arduino_101 diff --git a/samples/drivers/watchdog/sample.yaml b/samples/drivers/watchdog/sample.yaml new file mode 100644 index 0000000000000..5ad6d6714e2ef --- /dev/null +++ b/samples/drivers/watchdog/sample.yaml @@ -0,0 +1,9 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: quark_d2000_crb quark_se_test_board + v2m_beetle + tags: drivers diff --git a/samples/drivers/watchdog/testcase.ini b/samples/drivers/watchdog/testcase.ini deleted file mode 100644 index afcd8f8ce7d86..0000000000000 --- a/samples/drivers/watchdog/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = drivers -build_only = true -platform_whitelist = quark_d2000_crb quark_se_test_board v2m_beetle diff --git a/samples/grove/lcd/sample.yaml b/samples/grove/lcd/sample.yaml new file mode 100644 index 0000000000000..cb6a7b2df074d --- /dev/null +++ b/samples/grove/lcd/sample.yaml @@ -0,0 +1,9 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: arduino_101_sss quark_d2000_crb + arduino_due + tags: drivers diff --git a/samples/grove/lcd/testcase.ini b/samples/grove/lcd/testcase.ini deleted file mode 100644 index 109d48a91e1b0..0000000000000 --- a/samples/grove/lcd/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -build_only = true -tags = drivers -platform_whitelist = arduino_101_sss quark_d2000_crb arduino_due diff --git a/samples/grove/light/sample.yaml b/samples/grove/light/sample.yaml new file mode 100644 index 0000000000000..cb6a7b2df074d --- /dev/null +++ b/samples/grove/light/sample.yaml @@ -0,0 +1,9 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: arduino_101_sss quark_d2000_crb + arduino_due + tags: drivers diff --git a/samples/grove/light/testcase.ini b/samples/grove/light/testcase.ini deleted file mode 100644 index 109d48a91e1b0..0000000000000 --- a/samples/grove/light/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -build_only = true -tags = drivers -platform_whitelist = arduino_101_sss quark_d2000_crb arduino_due diff --git a/samples/grove/temperature/sample.yaml b/samples/grove/temperature/sample.yaml new file mode 100644 index 0000000000000..cb6a7b2df074d --- /dev/null +++ b/samples/grove/temperature/sample.yaml @@ -0,0 +1,9 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: arduino_101_sss quark_d2000_crb + arduino_due + tags: drivers diff --git a/samples/grove/temperature/testcase.ini b/samples/grove/temperature/testcase.ini deleted file mode 100644 index 109d48a91e1b0..0000000000000 --- a/samples/grove/temperature/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -build_only = true -tags = drivers -platform_whitelist = arduino_101_sss quark_d2000_crb arduino_due diff --git a/samples/hello_world/sample.yaml b/samples/hello_world/sample.yaml new file mode 100644 index 0000000000000..47396bf21287a --- /dev/null +++ b/samples/hello_world/sample.yaml @@ -0,0 +1,15 @@ +sample: + name: hello world + description: Hello World sample, the simplest Zephyr application + platforms: all +tests: + - test: + build_only: true + tags: samples tests + min_ram: 16 + - singlethread: + build_only: true + extra_args: CONF_FILE=prj_single.conf + filter: not CONFIG_BLUETOOTH and not CONFIG_GPIO_SCH + tags: samples tests + min_ram: 16 diff --git a/samples/hello_world/testcase.ini b/samples/hello_world/testcase.ini deleted file mode 100644 index fd2b94387e7e6..0000000000000 --- a/samples/hello_world/testcase.ini +++ /dev/null @@ -1,9 +0,0 @@ -[test] -build_only = true -tags = samples - -[test_singlethread] -build_only = true -extra_args = CONF_FILE=prj_single.conf -filter = not CONFIG_BLUETOOTH and not CONFIG_GPIO_SCH -tags = samples diff --git a/samples/mpu/mpu_stack_guard_test/sample.yaml b/samples/mpu/mpu_stack_guard_test/sample.yaml new file mode 100644 index 0000000000000..cbf55104d64a4 --- /dev/null +++ b/samples/mpu/mpu_stack_guard_test/sample.yaml @@ -0,0 +1,13 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + tags: apps +- test_stack_guard: + arch_whitelist: arm + build_only: true + extra_args: CONF_FILE=prj_stack_guard.conf + filter: CONFIG_MPU_STACK_GUARD + tags: apps diff --git a/samples/mpu/mpu_stack_guard_test/testcase.ini b/samples/mpu/mpu_stack_guard_test/testcase.ini deleted file mode 100644 index 01a0401af737b..0000000000000 --- a/samples/mpu/mpu_stack_guard_test/testcase.ini +++ /dev/null @@ -1,10 +0,0 @@ -[test] -build_only = true -tags = apps - -[test_stack_guard] -build_only = true -extra_args = CONF_FILE=prj_stack_guard.conf -tags = apps -arch_whitelist = arm -filter = CONFIG_MPU_STACK_GUARD diff --git a/samples/mpu/mpu_test/sample.yaml b/samples/mpu/mpu_test/sample.yaml new file mode 100644 index 0000000000000..f733baf8bcd5a --- /dev/null +++ b/samples/mpu/mpu_test/sample.yaml @@ -0,0 +1,9 @@ +sample: + description: TBD + name: TBD +tests: +- test: + arch_whitelist: arm + build_only: true + filter: CONFIG_CPU_HAS_MPU + tags: samples diff --git a/samples/mpu/mpu_test/testcase.ini b/samples/mpu/mpu_test/testcase.ini deleted file mode 100644 index dd040182243cf..0000000000000 --- a/samples/mpu/mpu_test/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -build_only = true -tags = samples -arch_whitelist = arm -filter = CONFIG_CPU_HAS_MPU diff --git a/samples/net/coaps_client/sample.yaml b/samples/net/coaps_client/sample.yaml new file mode 100644 index 0000000000000..7b53d7620634d --- /dev/null +++ b/samples/net/coaps_client/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + platform_whitelist: qemu_x86 + build_only: true + tags: net diff --git a/samples/net/coaps_client/testcase.ini b/samples/net/coaps_client/testcase.ini deleted file mode 100644 index 5c4d916af91c1..0000000000000 --- a/samples/net/coaps_client/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net -build_only = true -platform_whitelist = qemu_x86 diff --git a/samples/net/coaps_server/sample.yaml b/samples/net/coaps_server/sample.yaml new file mode 100644 index 0000000000000..ae4daeb28eb8d --- /dev/null +++ b/samples/net/coaps_server/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + arch_whitelist: qemu_x86 + build_only: true + tags: net diff --git a/samples/net/coaps_server/testcase.ini b/samples/net/coaps_server/testcase.ini deleted file mode 100644 index 2bde3d1a6e1f8..0000000000000 --- a/samples/net/coaps_server/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net -build_only = true -arch_whitelist = qemu_x86 diff --git a/samples/net/dns_resolve/sample.yaml b/samples/net/dns_resolve/sample.yaml new file mode 100644 index 0000000000000..2dccb22cd4a6b --- /dev/null +++ b/samples/net/dns_resolve/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: qemu_x86 + tags: net dns diff --git a/samples/net/dns_resolve/testcase.ini b/samples/net/dns_resolve/testcase.ini deleted file mode 100644 index b9c6f50c1e2f8..0000000000000 --- a/samples/net/dns_resolve/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net dns -build_only = true -platform_whitelist = qemu_x86 diff --git a/samples/net/echo_client/sample.yaml b/samples/net/echo_client/sample.yaml new file mode 100644 index 0000000000000..13800df114297 --- /dev/null +++ b/samples/net/echo_client/sample.yaml @@ -0,0 +1,20 @@ +sample: + description: TBD + name: TBD +tests: +- test: + arch_whitelist: x86 + build_only: true + platform_whitelist: qemu_x86 + tags: net +- test_bt: + arch_whitelist: x86 + build_only: true + extra_args: CONF_FILE="prj_bt.conf" + platform_whitelist: qemu_x86 + tags: net bluetooth +- test_net: + build_only: true + extra_args: CONF_FILE="prj_frdm_k64f_cc2520.conf" + platform_whitelist: frdm_k64f + tags: net diff --git a/samples/net/echo_client/testcase.ini b/samples/net/echo_client/testcase.ini deleted file mode 100644 index bc11205dd6c74..0000000000000 --- a/samples/net/echo_client/testcase.ini +++ /dev/null @@ -1,20 +0,0 @@ -[test] -tags = net -build_only = true -arch_whitelist = x86 -platform_whitelist = minnowboard -skip = true - -[test_bt] -tags = net bluetooth -build_only = true -extra_args = CONF_FILE="prj_bt.conf" -arch_whitelist = x86 -platform_whitelist = minnowboard -skip = true - -[test_net] -tags = net -build_only = true -extra_args = CONF_FILE="prj_frdm_k64f_cc2520.conf" -platform_whitelist = frdm_k64f diff --git a/samples/net/echo_server/sample.yaml b/samples/net/echo_server/sample.yaml new file mode 100644 index 0000000000000..a9c126c5059ff --- /dev/null +++ b/samples/net/echo_server/sample.yaml @@ -0,0 +1,13 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: qemu_x86 + tags: net +- test_bt: + build_only: true + extra_args: CONF_FILE="prj_bt.conf" + platform_whitelist: qemu_x86 + tags: net bluetooth diff --git a/samples/net/echo_server/testcase.ini b/samples/net/echo_server/testcase.ini deleted file mode 100644 index 356c9873639e8..0000000000000 --- a/samples/net/echo_server/testcase.ini +++ /dev/null @@ -1,10 +0,0 @@ -[test] -tags = net -build_only = true -platform_whitelist = qemu_x86 - -[test_bt] -tags = net bluetooth -build_only = true -extra_args = CONF_FILE="prj_bt.conf" -platform_whitelist = qemu_x86 diff --git a/samples/net/http_client/sample.yaml b/samples/net/http_client/sample.yaml new file mode 100644 index 0000000000000..5689473713319 --- /dev/null +++ b/samples/net/http_client/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: frdm_k64f + tags: net http diff --git a/samples/net/http_client/testcase.ini b/samples/net/http_client/testcase.ini deleted file mode 100644 index 6b7a95b312c58..0000000000000 --- a/samples/net/http_client/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net http -build_only = true -platform_whitelist = frdm_k64f qemu_x86 diff --git a/samples/net/http_server/sample.yaml b/samples/net/http_server/sample.yaml new file mode 100644 index 0000000000000..946473b795d28 --- /dev/null +++ b/samples/net/http_server/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: frdm_k64f qemu_x86 + tags: net http diff --git a/samples/net/http_server/testcase.ini b/samples/net/http_server/testcase.ini deleted file mode 100644 index 6795e2df4d83a..0000000000000 --- a/samples/net/http_server/testcase.ini +++ /dev/null @@ -1,10 +0,0 @@ -[test] -tags = net http -build_only = true -platform_whitelist = frdm_k64f qemu_x86 - -[test_bt] -tags = net bluetooth -build_only = true -extra_args = CONF_FILE="prj_bt.conf" -platform_whitelist = qemu_x86 diff --git a/samples/net/https_client/sample.yaml b/samples/net/https_client/sample.yaml new file mode 100644 index 0000000000000..0a54d5e95bf89 --- /dev/null +++ b/samples/net/https_client/sample.yaml @@ -0,0 +1,7 @@ +sample: + name: HTTPS Client +tests: +- test: + build_only: true + platform_whitelist: frdm_k64f qemu_x86 + tags: net http diff --git a/samples/net/https_client/testcase.ini b/samples/net/https_client/testcase.ini deleted file mode 100644 index 6b7a95b312c58..0000000000000 --- a/samples/net/https_client/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net http -build_only = true -platform_whitelist = frdm_k64f qemu_x86 diff --git a/samples/net/irc_bot/sample.yaml b/samples/net/irc_bot/sample.yaml new file mode 100644 index 0000000000000..948b6eee62dd5 --- /dev/null +++ b/samples/net/irc_bot/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: qemu_x86 frdm_k64f + tags: net irc diff --git a/samples/net/irc_bot/testcase.ini b/samples/net/irc_bot/testcase.ini deleted file mode 100644 index e0efde99616a2..0000000000000 --- a/samples/net/irc_bot/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net irc -build_only = true -platform_whitelist = qemu_x86 frdm_k64f diff --git a/samples/net/leds_demo/sample.yaml b/samples/net/leds_demo/sample.yaml new file mode 100644 index 0000000000000..dff5f755b1879 --- /dev/null +++ b/samples/net/leds_demo/sample.yaml @@ -0,0 +1,9 @@ +sample: + description: TBD + name: TBD +tests: +- test: + arch_whitelist: x86 + build_only: true + platform_exclude: quark_d2000_crb + tags: net zoap diff --git a/samples/net/leds_demo/testcase.ini b/samples/net/leds_demo/testcase.ini deleted file mode 100644 index 9deee8c5b5e8a..0000000000000 --- a/samples/net/leds_demo/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -tags = net zoap -build_only = true -arch_whitelist = x86 -platform_exclude = quark_d2000_crb # not enough RAM diff --git a/samples/net/mbedtls_dtlsclient/sample.yaml b/samples/net/mbedtls_dtlsclient/sample.yaml new file mode 100644 index 0000000000000..7b53d7620634d --- /dev/null +++ b/samples/net/mbedtls_dtlsclient/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + platform_whitelist: qemu_x86 + build_only: true + tags: net diff --git a/samples/net/mbedtls_dtlsclient/testcase.ini b/samples/net/mbedtls_dtlsclient/testcase.ini deleted file mode 100644 index 707418d45448a..0000000000000 --- a/samples/net/mbedtls_dtlsclient/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net -build_only = true -platform_whitelist = qemu_x86 arduino_101 diff --git a/samples/net/mbedtls_dtlsserver/sample.yaml b/samples/net/mbedtls_dtlsserver/sample.yaml new file mode 100644 index 0000000000000..ae4daeb28eb8d --- /dev/null +++ b/samples/net/mbedtls_dtlsserver/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + arch_whitelist: qemu_x86 + build_only: true + tags: net diff --git a/samples/net/mbedtls_dtlsserver/testcase.ini b/samples/net/mbedtls_dtlsserver/testcase.ini deleted file mode 100644 index 2bde3d1a6e1f8..0000000000000 --- a/samples/net/mbedtls_dtlsserver/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net -build_only = true -arch_whitelist = qemu_x86 diff --git a/samples/net/mbedtls_sslclient/sample.yaml b/samples/net/mbedtls_sslclient/sample.yaml new file mode 100644 index 0000000000000..8d48cef3929a2 --- /dev/null +++ b/samples/net/mbedtls_sslclient/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: galileo + tags: net diff --git a/samples/net/mbedtls_sslclient/testcase.ini b/samples/net/mbedtls_sslclient/testcase.ini deleted file mode 100644 index 23f97bdfc2211..0000000000000 --- a/samples/net/mbedtls_sslclient/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net -build_only = true -platform_whitelist = galileo diff --git a/samples/net/mqtt_publisher/sample.yaml b/samples/net/mqtt_publisher/sample.yaml new file mode 100644 index 0000000000000..cf0f06cd0aad3 --- /dev/null +++ b/samples/net/mqtt_publisher/sample.yaml @@ -0,0 +1,12 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: frdm_k64f qemu_x86 + tags: net mqtt +- test_bt: + build_only: true + platform_whitelist: 96b_nitrogen + tags: net mqtt bluetooth diff --git a/samples/net/mqtt_publisher/testcase.ini b/samples/net/mqtt_publisher/testcase.ini deleted file mode 100644 index 71374b6d9acea..0000000000000 --- a/samples/net/mqtt_publisher/testcase.ini +++ /dev/null @@ -1,9 +0,0 @@ -[test] -tags = net mqtt -build_only = true -platform_whitelist = frdm_k64f qemu_x86 - -[test_bt] -tags = net mqtt bluetooth -build_only = true -platform_whitelist = 96b_nitrogen diff --git a/samples/net/telnet/sample.yaml b/samples/net/telnet/sample.yaml new file mode 100644 index 0000000000000..94ab3ca5507e4 --- /dev/null +++ b/samples/net/telnet/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: frdm_k64f qemu_x86 + tags: net diff --git a/samples/net/telnet/testcase.ini b/samples/net/telnet/testcase.ini deleted file mode 100644 index 8026922f41ae5..0000000000000 --- a/samples/net/telnet/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net -build_only = true -platform_whitelist = frdm_k64f qemu_x86 diff --git a/samples/net/wpan_serial/sample.yaml b/samples/net/wpan_serial/sample.yaml new file mode 100644 index 0000000000000..cc87064cf2e2c --- /dev/null +++ b/samples/net/wpan_serial/sample.yaml @@ -0,0 +1,9 @@ +sample: + description: TBD + name: TBD +tests: +- test_x86: + arch_whitelist: x86 + build_only: true + platform_whitelist: quark_se_c1000_devboard + tags: usb diff --git a/samples/net/wpan_serial/testcase.ini b/samples/net/wpan_serial/testcase.ini deleted file mode 100644 index a15377aff02db..0000000000000 --- a/samples/net/wpan_serial/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test_x86] -tags = usb -build_only = true -arch_whitelist = x86 -platform_whitelist = quark_se_c1000_devboard diff --git a/samples/net/zoap_client/sample.yaml b/samples/net/zoap_client/sample.yaml new file mode 100644 index 0000000000000..e05692500a93a --- /dev/null +++ b/samples/net/zoap_client/sample.yaml @@ -0,0 +1,14 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: quark_se_c1000_devboard + galileo frdm_k64f + tags: net +- test_bt: + build_only: true + extra_args: CONF_FILE="prj_bt.conf" + platform_whitelist: qemu_x86 + tags: net bluetooth diff --git a/samples/net/zoap_client/testcase.ini b/samples/net/zoap_client/testcase.ini deleted file mode 100644 index 0fa76327084f3..0000000000000 --- a/samples/net/zoap_client/testcase.ini +++ /dev/null @@ -1,10 +0,0 @@ -[test] -tags = net -build_only = true -platform_whitelist = quark_se_c1000_devboard galileo frdm_k64f - -[test_bt] -tags = net bluetooth -build_only = true -extra_args = CONF_FILE="prj_bt.conf" -platform_whitelist = qemu_x86 diff --git a/samples/net/zoap_server/sample.yaml b/samples/net/zoap_server/sample.yaml new file mode 100644 index 0000000000000..0db83b962983c --- /dev/null +++ b/samples/net/zoap_server/sample.yaml @@ -0,0 +1,19 @@ +sample: + description: TBD + name: TBD +tests: +- test: + arch_whitelist: x86 + build_only: true + platform_exclude: quark_d2000_crb + tags: net +- test_bt: + build_only: true + extra_args: CONF_FILE="prj_bt.conf" + platform_whitelist: qemu_x86 + tags: net bluetooth +- test_net: + build_only: true + extra_args: CONF_FILE="prj_cc2520.conf" + platform_whitelist: quark_se_c1000_devboard + tags: net diff --git a/samples/net/zoap_server/testcase.ini b/samples/net/zoap_server/testcase.ini deleted file mode 100644 index fff1e135219da..0000000000000 --- a/samples/net/zoap_server/testcase.ini +++ /dev/null @@ -1,17 +0,0 @@ -[test] -tags = net -build_only = true -arch_whitelist = x86 -platform_exclude = quark_d2000_crb # not enough RAM - -[test_bt] -tags = net bluetooth -build_only = true -extra_args = CONF_FILE="prj_bt.conf" -platform_whitelist = qemu_x86 - -[test_net] -tags = net -build_only = true -extra_args = CONF_FILE="prj_cc2520.conf" -platform_whitelist = quark_se_c1000_devboard \ No newline at end of file diff --git a/samples/net/zperf/sample.yaml b/samples/net/zperf/sample.yaml new file mode 100644 index 0000000000000..2c1960623e484 --- /dev/null +++ b/samples/net/zperf/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: qemu_x86 + tags: samples diff --git a/samples/net/zperf/testcase.ini b/samples/net/zperf/testcase.ini deleted file mode 100644 index 0b3055933e230..0000000000000 --- a/samples/net/zperf/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -build_only = true -tags = samples -platform_whitelist = qemu_x86 diff --git a/samples/nfc/nfc_hello/sample.yaml b/samples/nfc/nfc_hello/sample.yaml new file mode 100644 index 0000000000000..7b010b489bf6a --- /dev/null +++ b/samples/nfc/nfc_hello/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + arch_whitelist: x86 arm + build_only: true + tags: apps diff --git a/samples/nfc/nfc_hello/testcase.ini b/samples/nfc/nfc_hello/testcase.ini deleted file mode 100644 index 1ec4c6201ebb3..0000000000000 --- a/samples/nfc/nfc_hello/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -build_only = true -tags = apps -arch_whitelist = x86 arm - diff --git a/samples/philosophers/sample.yaml b/samples/philosophers/sample.yaml new file mode 100644 index 0000000000000..bcebcf530013f --- /dev/null +++ b/samples/philosophers/sample.yaml @@ -0,0 +1,7 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + tags: apps diff --git a/samples/philosophers/testcase.ini b/samples/philosophers/testcase.ini deleted file mode 100644 index ffdee23bcb7f1..0000000000000 --- a/samples/philosophers/testcase.ini +++ /dev/null @@ -1,9 +0,0 @@ -[test] -build_only = true -tags = apps - -[test_tickless] -extra_args = CONF_FILE="prj_tickless.conf" -build_only = true -tags = apps -filter = CONFIG_BOARD_QEMU_X86 or CONFIG_SOC_QUARK_SE_C1000 diff --git a/samples/sensor/apds9960/sample.yaml b/samples/sensor/apds9960/sample.yaml new file mode 100644 index 0000000000000..4ba68a5553d73 --- /dev/null +++ b/samples/sensor/apds9960/sample.yaml @@ -0,0 +1,9 @@ +sample: + description: TBD + name: TBD +tests: +- test: + arch_whitelist: arc + build_only: true + platform_whitelist: arduino_101_sss + tags: samples diff --git a/samples/sensor/apds9960/testcase.ini b/samples/sensor/apds9960/testcase.ini deleted file mode 100644 index 3e999a116dc36..0000000000000 --- a/samples/sensor/apds9960/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -build_only = true -tags = samples -arch_whitelist = arc -platform_whitelist = arduino_101_sss diff --git a/samples/sensor/bme280/sample.yaml b/samples/sensor/bme280/sample.yaml new file mode 100644 index 0000000000000..fb51388a89079 --- /dev/null +++ b/samples/sensor/bme280/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: frdm_k64f quark_d2000_crb + tags: samples sensor diff --git a/samples/sensor/bme280/testcase.ini b/samples/sensor/bme280/testcase.ini deleted file mode 100644 index 0c9c1d25f1cb3..0000000000000 --- a/samples/sensor/bme280/testcase.ini +++ /dev/null @@ -1,10 +0,0 @@ -[test] -build_only = true -tags = samples sensor -platform_whitelist = frdm_k64f quark_d2000_crb - -[test_spi] -build_only = true -tags = samples sensor -extra_args = CONF_FILE=prj_spi.conf -platform_whitelist = panther_ss diff --git a/samples/sensor/bmg160/sample.yaml b/samples/sensor/bmg160/sample.yaml new file mode 100644 index 0000000000000..9ef0ee22f7f45 --- /dev/null +++ b/samples/sensor/bmg160/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: arduino_101_sss + tags: sensors diff --git a/samples/sensor/bmg160/testcase.ini b/samples/sensor/bmg160/testcase.ini deleted file mode 100644 index 7ccede20af9bd..0000000000000 --- a/samples/sensor/bmg160/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -build_only = true -tags = sensors -platform_whitelist = arduino_101_sss diff --git a/samples/sensor/bmi160/sample.yaml b/samples/sensor/bmi160/sample.yaml new file mode 100644 index 0000000000000..c6d9c4bfc8bbf --- /dev/null +++ b/samples/sensor/bmi160/sample.yaml @@ -0,0 +1,9 @@ +sample: + description: TBD + name: TBD +tests: +- test: + arch_whitelist: arc + build_only: true + platform_whitelist: arduino_101_sss + tags: sensors diff --git a/samples/sensor/bmi160/testcase.ini b/samples/sensor/bmi160/testcase.ini deleted file mode 100644 index 600c2aae600c5..0000000000000 --- a/samples/sensor/bmi160/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -build_only = true -tags = sensors -arch_whitelist = arc -platform_whitelist = arduino_101_sss diff --git a/samples/sensor/fxas21002/sample.yaml b/samples/sensor/fxas21002/sample.yaml new file mode 100644 index 0000000000000..a6d7f7535f11a --- /dev/null +++ b/samples/sensor/fxas21002/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: hexiwear_k64 + tags: samples sensor diff --git a/samples/sensor/fxas21002/testcase.ini b/samples/sensor/fxas21002/testcase.ini deleted file mode 100644 index 372a439d4d135..0000000000000 --- a/samples/sensor/fxas21002/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -build_only = true -tags = samples sensor -platform_whitelist = hexiwear_k64 diff --git a/samples/sensor/fxos8700/sample.yaml b/samples/sensor/fxos8700/sample.yaml new file mode 100644 index 0000000000000..31b0969dacd0f --- /dev/null +++ b/samples/sensor/fxos8700/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: frdm_k64f hexiwear_k64 + tags: samples sensor diff --git a/samples/sensor/fxos8700/testcase.ini b/samples/sensor/fxos8700/testcase.ini deleted file mode 100644 index 244b281d7af08..0000000000000 --- a/samples/sensor/fxos8700/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -build_only = true -tags = samples sensor -platform_whitelist = frdm_k64f hexiwear_k64 diff --git a/samples/sensor/hts221/sample.yaml b/samples/sensor/hts221/sample.yaml new file mode 100644 index 0000000000000..090f6e161efe0 --- /dev/null +++ b/samples/sensor/hts221/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: disco_l475_iot1 + tags: samples sensor diff --git a/samples/sensor/hts221/testcase.ini b/samples/sensor/hts221/testcase.ini deleted file mode 100644 index 7260b929f7194..0000000000000 --- a/samples/sensor/hts221/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -build_only = true -tags = samples sensor -platform_whitelist = disco_l475_iot1 diff --git a/samples/sensor/magn_polling/sample.yaml b/samples/sensor/magn_polling/sample.yaml new file mode 100644 index 0000000000000..299ea56121007 --- /dev/null +++ b/samples/sensor/magn_polling/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: quark_d2000_crb + tags: samples diff --git a/samples/sensor/magn_polling/testcase.ini b/samples/sensor/magn_polling/testcase.ini deleted file mode 100644 index fe9f772348246..0000000000000 --- a/samples/sensor/magn_polling/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -build_only = true -tags = samples -platform_whitelist = quark_d2000_crb diff --git a/samples/sensor/max30101/sample.yaml b/samples/sensor/max30101/sample.yaml new file mode 100644 index 0000000000000..a6d7f7535f11a --- /dev/null +++ b/samples/sensor/max30101/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: hexiwear_k64 + tags: samples sensor diff --git a/samples/sensor/max30101/testcase.ini b/samples/sensor/max30101/testcase.ini deleted file mode 100644 index 372a439d4d135..0000000000000 --- a/samples/sensor/max30101/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -build_only = true -tags = samples sensor -platform_whitelist = hexiwear_k64 diff --git a/samples/sensor/max44009/sample.yaml b/samples/sensor/max44009/sample.yaml new file mode 100644 index 0000000000000..78f17c0c3e06c --- /dev/null +++ b/samples/sensor/max44009/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: frdm_k64f quark_d2000_crb + tags: apps diff --git a/samples/sensor/max44009/testcase.ini b/samples/sensor/max44009/testcase.ini deleted file mode 100644 index 5db7d34d5ddb5..0000000000000 --- a/samples/sensor/max44009/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -build_only = true -tags = apps -platform_whitelist = frdm_k64f quark_d2000_crb diff --git a/samples/sensor/mcp9808/sample.yaml b/samples/sensor/mcp9808/sample.yaml new file mode 100644 index 0000000000000..fb51388a89079 --- /dev/null +++ b/samples/sensor/mcp9808/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: frdm_k64f quark_d2000_crb + tags: samples sensor diff --git a/samples/sensor/mcp9808/testcase.ini b/samples/sensor/mcp9808/testcase.ini deleted file mode 100644 index 897f9ba008e38..0000000000000 --- a/samples/sensor/mcp9808/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -build_only = true -tags = samples sensor -platform_whitelist = frdm_k64f quark_d2000_crb diff --git a/samples/sensor/sx9500/sample.yaml b/samples/sensor/sx9500/sample.yaml new file mode 100644 index 0000000000000..039c3538b186f --- /dev/null +++ b/samples/sensor/sx9500/sample.yaml @@ -0,0 +1,7 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + tags: samples diff --git a/samples/sensor/sx9500/testcase.ini b/samples/sensor/sx9500/testcase.ini deleted file mode 100644 index f3fbf9748d9d1..0000000000000 --- a/samples/sensor/sx9500/testcase.ini +++ /dev/null @@ -1,3 +0,0 @@ -[test] -build_only = true -tags = samples diff --git a/samples/sensor/th02/sample.yaml b/samples/sensor/th02/sample.yaml new file mode 100644 index 0000000000000..fb51388a89079 --- /dev/null +++ b/samples/sensor/th02/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: frdm_k64f quark_d2000_crb + tags: samples sensor diff --git a/samples/sensor/th02/testcase.ini b/samples/sensor/th02/testcase.ini deleted file mode 100644 index 897f9ba008e38..0000000000000 --- a/samples/sensor/th02/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -build_only = true -tags = samples sensor -platform_whitelist = frdm_k64f quark_d2000_crb diff --git a/samples/sensor/thermometer/sample.yaml b/samples/sensor/thermometer/sample.yaml new file mode 100644 index 0000000000000..039c3538b186f --- /dev/null +++ b/samples/sensor/thermometer/sample.yaml @@ -0,0 +1,7 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + tags: samples diff --git a/samples/sensor/thermometer/testcase.ini b/samples/sensor/thermometer/testcase.ini deleted file mode 100644 index f3fbf9748d9d1..0000000000000 --- a/samples/sensor/thermometer/testcase.ini +++ /dev/null @@ -1,3 +0,0 @@ -[test] -build_only = true -tags = samples diff --git a/samples/sensor/tmp112/sample.yaml b/samples/sensor/tmp112/sample.yaml new file mode 100644 index 0000000000000..32d5cad23524b --- /dev/null +++ b/samples/sensor/tmp112/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + platform_whitelist: frdm_k64f quark_d2000_crb + tags: samples diff --git a/samples/sensor/tmp112/testcase.ini b/samples/sensor/tmp112/testcase.ini deleted file mode 100644 index 37b6558d6dd3c..0000000000000 --- a/samples/sensor/tmp112/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -build_only = true -tags = samples -platform_whitelist = frdm_k64f quark_d2000_crb diff --git a/samples/subsys/console/echo/sample.yaml b/samples/subsys/console/echo/sample.yaml new file mode 100644 index 0000000000000..831a5aedd5a66 --- /dev/null +++ b/samples/subsys/console/echo/sample.yaml @@ -0,0 +1,9 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + filter: CONFIG_UART_CONSOLE + platform_exclude: qemu_riscv32 qemu_nios2 + tags: samples diff --git a/samples/subsys/console/echo/testcase.ini b/samples/subsys/console/echo/testcase.ini deleted file mode 100644 index 283fdd4e2aa7a..0000000000000 --- a/samples/subsys/console/echo/testcase.ini +++ /dev/null @@ -1,8 +0,0 @@ -[test] -tags = samples -build_only = true -# TODO: -# #error "Interrupt not available in uart riscv32-qemu" -# #error "Interrupt-driven Altera JTAG UART not implemented yet" -platform_exclude = qemu_riscv32 qemu_nios2 -filter = CONFIG_UART_CONSOLE diff --git a/samples/subsys/console/getchar/sample.yaml b/samples/subsys/console/getchar/sample.yaml new file mode 100644 index 0000000000000..35596fc432f32 --- /dev/null +++ b/samples/subsys/console/getchar/sample.yaml @@ -0,0 +1,9 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + filter: UART_CONSOLE + platform_exclude: qemu_riscv32 qemu_nios2 + tags: samples diff --git a/samples/subsys/console/getchar/testcase.ini b/samples/subsys/console/getchar/testcase.ini deleted file mode 100644 index 283fdd4e2aa7a..0000000000000 --- a/samples/subsys/console/getchar/testcase.ini +++ /dev/null @@ -1,8 +0,0 @@ -[test] -tags = samples -build_only = true -# TODO: -# #error "Interrupt not available in uart riscv32-qemu" -# #error "Interrupt-driven Altera JTAG UART not implemented yet" -platform_exclude = qemu_riscv32 qemu_nios2 -filter = CONFIG_UART_CONSOLE diff --git a/samples/subsys/console/getline/sample.yaml b/samples/subsys/console/getline/sample.yaml new file mode 100644 index 0000000000000..35596fc432f32 --- /dev/null +++ b/samples/subsys/console/getline/sample.yaml @@ -0,0 +1,9 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + filter: UART_CONSOLE + platform_exclude: qemu_riscv32 qemu_nios2 + tags: samples diff --git a/samples/subsys/console/getline/testcase.ini b/samples/subsys/console/getline/testcase.ini deleted file mode 100644 index 283fdd4e2aa7a..0000000000000 --- a/samples/subsys/console/getline/testcase.ini +++ /dev/null @@ -1,8 +0,0 @@ -[test] -tags = samples -build_only = true -# TODO: -# #error "Interrupt not available in uart riscv32-qemu" -# #error "Interrupt-driven Altera JTAG UART not implemented yet" -platform_exclude = qemu_riscv32 qemu_nios2 -filter = CONFIG_UART_CONSOLE diff --git a/samples/subsys/ipc/ipm_mailbox/ap/sample.yaml b/samples/subsys/ipc/ipm_mailbox/ap/sample.yaml new file mode 100644 index 0000000000000..a96cbf60d22a1 --- /dev/null +++ b/samples/subsys/ipc/ipm_mailbox/ap/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + filter: CONFIG_SOC_QUARK_SE_C1000 + tags: samples ipm diff --git a/samples/subsys/ipc/ipm_mailbox/ap/testcase.ini b/samples/subsys/ipc/ipm_mailbox/ap/testcase.ini deleted file mode 100644 index de677d5516990..0000000000000 --- a/samples/subsys/ipc/ipm_mailbox/ap/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -build_only = true -tags = samples ipm -filter = CONFIG_SOC_QUARK_SE_C1000 diff --git a/samples/subsys/ipc/ipm_mailbox/sensor/sample.yaml b/samples/subsys/ipc/ipm_mailbox/sensor/sample.yaml new file mode 100644 index 0000000000000..6db27bd531a76 --- /dev/null +++ b/samples/subsys/ipc/ipm_mailbox/sensor/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + filter: CONFIG_SOC_QUARK_SE_C1000_SS + tags: samples ipm diff --git a/samples/subsys/ipc/ipm_mailbox/sensor/testcase.ini b/samples/subsys/ipc/ipm_mailbox/sensor/testcase.ini deleted file mode 100644 index 0769b7b7641c8..0000000000000 --- a/samples/subsys/ipc/ipm_mailbox/sensor/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -build_only = true -tags = samples ipm -filter = CONFIG_SOC_QUARK_SE_C1000_SS diff --git a/samples/subsys/logging/logger-hook/sample.yaml b/samples/subsys/logging/logger-hook/sample.yaml new file mode 100644 index 0000000000000..bcebcf530013f --- /dev/null +++ b/samples/subsys/logging/logger-hook/sample.yaml @@ -0,0 +1,7 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + tags: apps diff --git a/samples/subsys/logging/logger-hook/testcase.ini b/samples/subsys/logging/logger-hook/testcase.ini deleted file mode 100644 index 8ee37ed2f85c0..0000000000000 --- a/samples/subsys/logging/logger-hook/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -build_only = true -tags = apps - diff --git a/samples/subsys/shell/shell/sample.yaml b/samples/subsys/shell/shell/sample.yaml new file mode 100644 index 0000000000000..258b86b7b3c78 --- /dev/null +++ b/samples/subsys/shell/shell/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: TBD + name: TBD +tests: +- test: + build_only: true + filter: UART_CONSOLE + tags: samples diff --git a/samples/subsys/shell/shell/testcase.ini b/samples/subsys/shell/shell/testcase.ini deleted file mode 100644 index e6fece8971018..0000000000000 --- a/samples/subsys/shell/shell/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -build_only = true -tags = samples -filter = CONFIG_UART_CONSOLE -arch_exclude = riscv32 nios2 diff --git a/samples/subsys/usb/cdc_acm/sample.yaml b/samples/subsys/usb/cdc_acm/sample.yaml new file mode 100644 index 0000000000000..cc87064cf2e2c --- /dev/null +++ b/samples/subsys/usb/cdc_acm/sample.yaml @@ -0,0 +1,9 @@ +sample: + description: TBD + name: TBD +tests: +- test_x86: + arch_whitelist: x86 + build_only: true + platform_whitelist: quark_se_c1000_devboard + tags: usb diff --git a/samples/subsys/usb/cdc_acm/testcase.ini b/samples/subsys/usb/cdc_acm/testcase.ini deleted file mode 100644 index a15377aff02db..0000000000000 --- a/samples/subsys/usb/cdc_acm/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test_x86] -tags = usb -build_only = true -arch_whitelist = x86 -platform_whitelist = quark_se_c1000_devboard diff --git a/samples/subsys/usb/console/sample.yaml b/samples/subsys/usb/console/sample.yaml new file mode 100644 index 0000000000000..413a2227aebdf --- /dev/null +++ b/samples/subsys/usb/console/sample.yaml @@ -0,0 +1,9 @@ +sample: + description: TBD + name: TBD +tests: +- test: + arch_whitelist: x86 + build_only: true + platform_whitelist: arduino_101 + tags: usb diff --git a/samples/subsys/usb/console/testcase.ini b/samples/subsys/usb/console/testcase.ini deleted file mode 100644 index f46fabe50b74b..0000000000000 --- a/samples/subsys/usb/console/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -tags = usb -build_only = true -arch_whitelist = x86 -platform_whitelist = arduino_101 diff --git a/samples/subsys/usb/dfu/sample.yaml b/samples/subsys/usb/dfu/sample.yaml new file mode 100644 index 0000000000000..cc87064cf2e2c --- /dev/null +++ b/samples/subsys/usb/dfu/sample.yaml @@ -0,0 +1,9 @@ +sample: + description: TBD + name: TBD +tests: +- test_x86: + arch_whitelist: x86 + build_only: true + platform_whitelist: quark_se_c1000_devboard + tags: usb diff --git a/samples/subsys/usb/dfu/testcase.ini b/samples/subsys/usb/dfu/testcase.ini deleted file mode 100644 index a15377aff02db..0000000000000 --- a/samples/subsys/usb/dfu/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test_x86] -tags = usb -build_only = true -arch_whitelist = x86 -platform_whitelist = quark_se_c1000_devboard diff --git a/samples/subsys/usb/mass/sample.yaml b/samples/subsys/usb/mass/sample.yaml new file mode 100644 index 0000000000000..7c6762ef4e700 --- /dev/null +++ b/samples/subsys/usb/mass/sample.yaml @@ -0,0 +1,9 @@ +sample: + description: TBD + name: TBD +tests: +- test: + arch_whitelist: x86 + build_only: true + platform_whitelist: arduino_101 + tags: msd diff --git a/samples/subsys/usb/mass/testcase.ini b/samples/subsys/usb/mass/testcase.ini deleted file mode 100644 index fa998956c6104..0000000000000 --- a/samples/subsys/usb/mass/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -tags = msd -build_only = true -arch_whitelist = x86 -platform_whitelist = arduino_101 diff --git a/samples/subsys/usb/webusb/sample.yaml b/samples/subsys/usb/webusb/sample.yaml new file mode 100644 index 0000000000000..cc87064cf2e2c --- /dev/null +++ b/samples/subsys/usb/webusb/sample.yaml @@ -0,0 +1,9 @@ +sample: + description: TBD + name: TBD +tests: +- test_x86: + arch_whitelist: x86 + build_only: true + platform_whitelist: quark_se_c1000_devboard + tags: usb diff --git a/samples/subsys/usb/webusb/testcase.ini b/samples/subsys/usb/webusb/testcase.ini deleted file mode 100644 index a15377aff02db..0000000000000 --- a/samples/subsys/usb/webusb/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test_x86] -tags = usb -build_only = true -arch_whitelist = x86 -platform_whitelist = quark_se_c1000_devboard diff --git a/samples/synchronization/sample.yaml b/samples/synchronization/sample.yaml new file mode 100644 index 0000000000000..43b4e11b5f3cf --- /dev/null +++ b/samples/synchronization/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: A simple application that demonstrates basic sanity of the kernel. + name: Synchronization Sample +tests: +- test: + build_only: true + tags: apps + build_on_all: true diff --git a/samples/synchronization/testcase.ini b/samples/synchronization/testcase.ini deleted file mode 100644 index 1de64db74affd..0000000000000 --- a/samples/synchronization/testcase.ini +++ /dev/null @@ -1,10 +0,0 @@ -[test] -build_only = true -tags = apps - -[test_stack_guard] -build_only = true -extra_args = CONF_FILE=prj_stack_guard.conf -tags = apps -arch_whitelist = arm -filter = CONFIG_MPU_STACK_GUARD and CONFIG_ARM_MPU diff --git a/samples/testing/integration/sample.yaml b/samples/testing/integration/sample.yaml new file mode 100644 index 0000000000000..d97ab4871b5cf --- /dev/null +++ b/samples/testing/integration/sample.yaml @@ -0,0 +1,6 @@ +sample: + description: TBD + name: TBD +tests: +- test: + tags: my_tags diff --git a/samples/testing/integration/testcase.ini b/samples/testing/integration/testcase.ini deleted file mode 100644 index 60bd7c2edc61d..0000000000000 --- a/samples/testing/integration/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = my_tags diff --git a/samples/testing/unit/sample.yaml b/samples/testing/unit/sample.yaml new file mode 100644 index 0000000000000..6392ea5f9b1e4 --- /dev/null +++ b/samples/testing/unit/sample.yaml @@ -0,0 +1,7 @@ +sample: + description: TBD + name: TBD +tests: +- test: + tags: buf + type: unit diff --git a/samples/testing/unit/testcase.ini b/samples/testing/unit/testcase.ini deleted file mode 100644 index 376c741c4d44b..0000000000000 --- a/samples/testing/unit/testcase.ini +++ /dev/null @@ -1,3 +0,0 @@ -[test] -type = unit -tags = buf diff --git a/scripts/ini2yaml.py b/scripts/ini2yaml.py new file mode 100755 index 0000000000000..f7ef971405ebc --- /dev/null +++ b/scripts/ini2yaml.py @@ -0,0 +1,37 @@ +#!/usr/bin/env python + +import ConfigParser, os +import yaml +import sys + + +sample = False +in_file = sys.argv[1] +if sys.argv[2] == 'sample': + sample = True + +out_file = os.path.join(os.path.dirname(in_file), sys.argv[2] + ".yaml") + +config = ConfigParser.ConfigParser() +config.readfp(open(sys.argv[1])) +y = {'tests': 'tests'} + +tests = [] +for section in config.sections(): + tc = {} + for opt in config.options(section): + value = config.get(section, opt) + if value in ['false', 'true']: + tc[opt] = True if value == 'true' else False + else: + tc[opt] = value + + test = { section : tc} + tests.append(test) + +y['tests'] = tests +if sample: + y['sample'] = { 'name': "TBD", 'description': "TBD" } + +with open(out_file, "w") as f: + yaml.dump(y, f, width=50, indent=4, default_flow_style=False) diff --git a/scripts/sanity_chk/arches/arc.ini b/scripts/sanity_chk/arches/arc.ini deleted file mode 100644 index c02317c81d004..0000000000000 --- a/scripts/sanity_chk/arches/arc.ini +++ /dev/null @@ -1,4 +0,0 @@ -[arch] -name = arc -platforms = arduino_101_sss quark_se_c1000_ss_devboard em_starterkit panther_ss -supported_toolchains = issm zephyr diff --git a/scripts/sanity_chk/arches/arm.ini b/scripts/sanity_chk/arches/arm.ini deleted file mode 100644 index bd6f54dc93c78..0000000000000 --- a/scripts/sanity_chk/arches/arm.ini +++ /dev/null @@ -1,17 +0,0 @@ -[arch] -name = arm -platforms = qemu_cortex_m3 frdm_k64f arduino_due nucleo_f103rb stm32_mini_a15 - olimexino_stm32 96b_nitrogen nrf52_pca10040 hexiwear_k64 - nrf51_pca10028 nucleo_f401re 96b_carbon nrf51_blenano - arduino_101_ble cc3200_launchxl quark_se_c1000_ble bbc_microbit - v2m_beetle nucleo_l476rg nrf52840_pca10056 nucleo_f411re - stm3210c_eval nucleo_f334r8 stm32373c_eval mps2_an385 frdm_kw41z - sam_e70_xplained curie_ble nrf52_blenano2 hexiwear_kw40z - cc3220sf_launchxl frdm_kl25z disco_l475_iot1 nucleo_l432kc - nucleo_f413zh stm32l496g_disco stm32f4_disco 96b_carbon_nrf51 - stm32f469i_disco nucleo_f412zg sam4s_xplained olimex_stm32_e407 - -supported_toolchains = zephyr gccarmemb - -[qemu_cortex_m3] -qemu_support = true diff --git a/scripts/sanity_chk/arches/nios2.ini b/scripts/sanity_chk/arches/nios2.ini deleted file mode 100644 index ef890369eea4d..0000000000000 --- a/scripts/sanity_chk/arches/nios2.ini +++ /dev/null @@ -1,7 +0,0 @@ -[arch] -name = nios2 -platforms = qemu_nios2 altera_max10 -supported_toolchains = zephyr - -[qemu_nios2] -qemu_support = true diff --git a/scripts/sanity_chk/arches/riscv32.ini b/scripts/sanity_chk/arches/riscv32.ini deleted file mode 100644 index 2a748e17fad96..0000000000000 --- a/scripts/sanity_chk/arches/riscv32.ini +++ /dev/null @@ -1,8 +0,0 @@ -[arch] -name = riscv32 -platforms = qemu_riscv32 zedboard_pulpino -supported_toolchains = zephyr - - -[qemu_riscv32] -qemu_support = true diff --git a/scripts/sanity_chk/arches/unit.ini b/scripts/sanity_chk/arches/unit.ini deleted file mode 100644 index c1d4e0b073e2e..0000000000000 --- a/scripts/sanity_chk/arches/unit.ini +++ /dev/null @@ -1,7 +0,0 @@ -[arch] -name = unit -platforms = unit_testing -supported_toolchains = zephyr - -[unit_testing] -qemu_support = false diff --git a/scripts/sanity_chk/arches/x86.ini b/scripts/sanity_chk/arches/x86.ini deleted file mode 100644 index 2cfcb50aafbee..0000000000000 --- a/scripts/sanity_chk/arches/x86.ini +++ /dev/null @@ -1,20 +0,0 @@ -[arch] -name = x86 -platforms = qemu_x86_iamcu arduino_101 qemu_x86 minnowboard galileo quark_d2000_crb quark_se_c1000_devboard - tinytile panther arduino_101_mcuboot -supported_toolchains = zephyr - -[qemu_x86] -qemu_support = true - -[qemu_x86_iamcu] -qemu_support = true - -[quark_d2000_crb] -supported_toolchains = issm zephyr - -[arduino_101] -supported_toolchains = issm zephyr - -[quark_se_c1000_devboard] -supported_toolchains = issm zephyr diff --git a/scripts/sanity_chk/arches/xtensa.ini b/scripts/sanity_chk/arches/xtensa.ini deleted file mode 100644 index 50313e96b319a..0000000000000 --- a/scripts/sanity_chk/arches/xtensa.ini +++ /dev/null @@ -1,33 +0,0 @@ -[arch] -name = xtensa -platforms = qemu_xtensa xt-sim xt-sim_XRC_FUSION_AON_ALL_LM - xt-sim_hifi2_std xt-sim_hifi3_bd5 xt-sim_D_233L - xt-sim_D_212GP xt-sim_D_108mini - -supported_toolchains = xcc - -[qemu_xtensa] -qemu_support = true -supported_toolchains = zephyr - -[xt-sim] -qemu_support = true - -[xt-sim_XRC_FUSION_AON_ALL_LM] -qemu_support = true - -[xt-sim_hifi2_std] -qemu_support = true - -[xt-sim_hifi3_bd5] -qemu_support = true - -[xt-sim_D_233L] -qemu_support = true - -[xt-sim_D_212GP] -qemu_support = true - -[xt-sim_D_108mini] -qemu_support = true - diff --git a/scripts/sanitycheck b/scripts/sanitycheck index 4f122fd72e57d..7385dd7fed82d 100755 --- a/scripts/sanitycheck +++ b/scripts/sanitycheck @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# vim: set syntax=python ts=4 : """Zephyr Sanity Tests This script scans for the set of unit test applications in the git @@ -7,59 +8,74 @@ build each test case on one platform per architecture, using a precedence list defined in an architecture configuration file, and if possible run the tests in the QEMU emulator. -Test cases are detected by the presence of a 'testcase.ini' file in -the application's project directory. This file may contain one or -more blocks, each identifying a test scenario. The title of the block -is a name for the test case, which only needs to be unique for the -test cases specified in that testcase.ini file. The full canonical -name for each test case is /. +Test cases are detected by the presence of a 'testcase.yaml' or a sample.yaml +files in the application's project directory. This file may contain one or more +blocks, each identifying a test scenario. The title of the block is a name for +the test case, which only needs to be unique for the test cases specified in +that testcase meta-data. The full canonical name for each test case is /. -Each testcase.ini block can define the following key/value pairs: +Each test block in the testcase meta data can define the following key/value pairs: - tags = (required) + tags: (required) A set of string tags for the testcase. Usually pertains to functional domains but can be anything. Command line invocations of this script can filter the set of tests to run based on tag. - skip = (default False) + skip: (default False) skip testcase unconditionally. This can be used for broken tests. - slow = (default False) + slow: (default False) Don't run this test case unless --enable-slow was passed in on the command line. Intended for time-consuming test cases that are only run under certain circumstances, like daily builds. These test cases are still compiled. - extra_args = + extra_args: Extra arguments to pass to Make when building or running the test case. - build_only = (default False) + build_only: (default False) If true, don't try to run the test under QEMU even if the selected platform supports it. - timeout = + build_on_all: (default False) + If true, attempt to build test on all available platforms. + + depends_on: + A board or platform can announce what features it supports, this option + will enable the test only those platforms that provide this feature. + + min_ram: + minimum amount of RAM needed for this test to build and run. This is + compared with information provided by the board metadata. + + min_flash: + minimum amount of ROM needed for this test to build and run. This is + compared with information provided by the board metadata. + + timeout: Length of time to run test in QEMU before automatically killing it. Default to 60 seconds. - arch_whitelist = + arch_whitelist: Set of architectures that this test case should only be run for. - arch_exclude = + arch_exclude: Set of architectures that this test case should not run on. - platform_whitelist = + platform_whitelist: Set of platforms that this test case should only be run for. - platform_exclude = + platform_exclude: Set of platforms that this test case should not run on. - extra_sections = + extra_sections: When computing sizes, sanitycheck will report errors if it finds extra, unexpected sections in the Zephyr binary unless they are named here. They will not be included in the size calculation. - filter = + filter: Filter whether the testcase should be run by evaluating an expression against an environment containing the following values: @@ -121,28 +137,10 @@ Each testcase.ini block can define the following key/value pairs: Would match it. -Architectures and platforms are defined in an architecture configuration -file which are stored by default in scripts/sanity_chk/arches/. These -each define an [arch] block with the following key/value pairs: - - name = - The name of the arch. Example: x86 - - platforms = - List of supported platforms for this arch. The ordering here - is used to select a default platform to build for that arch. - -For every platform defined, there must be a corresponding block for it -in the arch configuration file. This block can be empty if there are -no special definitions for that arch. Options are: - - qemu_support = (default False) - Indicates whether binaries for this platform can run under QEMU - -The set of test cases that actually run depends on directives in the -testcase and architecture .ini file and options passed in on the command -line. If there is any confusion, running with -v or --discard-report -can help show why particular test cases were skipped. +The set of test cases that actually run depends on directives in the testcase +filed and options passed in on the command line. If there is any confusion, +running with -v or --discard-report can help show why particular test cases +were skipped. Metrics (such as pass/fail state and binary size) for the last code release are stored in scripts/sanity_chk/sanity_last_release.csv. @@ -176,6 +174,7 @@ import xml.etree.ElementTree as ET from xml.sax.saxutils import escape from collections import OrderedDict from itertools import islice +import yaml if "ZEPHYR_BASE" not in os.environ: sys.stderr.write("$ZEPHYR_BASE environment variable undefined.\n") @@ -803,7 +802,7 @@ class MakeGenerator: by execute() will be keyed by its .name field. """ args = ti.test.extra_args[:] - args.extend(["ARCH=%s" % ti.platform.arch.name, + args.extend(["ARCH=%s" % ti.platform.arch, "BOARD=%s" % ti.platform.name]) args.extend(extra_args) if (ti.platform.qemu_support and (not ti.build_only) and @@ -916,9 +915,13 @@ testcase_valid_keys = {"tags" : {"type" : "set", "required" : True}, "type" : {"type" : "str", "default": "integration"}, "extra_args" : {"type" : "list"}, "build_only" : {"type" : "bool", "default" : False}, + "build_on_all" : {"type" : "bool", "default" : False}, "skip" : {"type" : "bool", "default" : False}, "slow" : {"type" : "bool", "default" : False}, "timeout" : {"type" : "int", "default" : 60}, + "min_ram" : {"type" : "int", "default" : 8}, + "depends_on": {"type" : "set"}, + "min_flash" : {"type" : "int", "default" : 32}, "arch_whitelist" : {"type" : "set"}, "arch_exclude" : {"type" : "set"}, "extra_sections" : {"type" : "list", "default" : []}, @@ -928,37 +931,33 @@ testcase_valid_keys = {"tags" : {"type" : "set", "required" : True}, class SanityConfigParser: - """Class to read architecture and test case .ini files with semantic checking + """Class to read test case files with semantic checking """ def __init__(self, filename): """Instantiate a new SanityConfigParser object - @param filename Source .ini file to read + @param filename Source .yaml file to read """ - cp = configparser.SafeConfigParser() - cp.readfp(open(filename)) + with open(filename, 'r') as stream: + cp = yaml.load(stream) self.filename = filename self.cp = cp def _cast_value(self, value, typestr): - v = value.strip() + + if type(value) is str: + v = value.strip() if typestr == "str": return v elif typestr == "float": - return float(v) + return float(value) elif typestr == "int": - return int(v) + return int(value) elif typestr == "bool": - v = v.lower() - if v == "true" or v == "1": - return True - elif v == "" or v == "false" or v == "0": - return False - raise ConfigurationError(self.filename, - "bad value for boolean: '%s'" % value) + return value elif typestr.startswith("list"): vs = v.split() @@ -977,20 +976,24 @@ class SanityConfigParser: else: raise ConfigurationError(self.filename, "unknown type '%s'" % value) + def section(self,name): + for s in self.sections(): + if name in s: + return s.get(name, {}) def sections(self): - """Get the set of sections within the .ini file + """Get the set of test sections within the .yaml file @return a list of string section names""" - return self.cp.sections() + return self.cp['tests'] def get_section(self, section, valid_keys): """Get a dictionary representing the keys/values within a section - @param section The section in the .ini file to retrieve data from + @param section The section in the .yaml file to retrieve data from @param valid_keys A dictionary representing the intended semantics for this section. Each key in this dictionary is a key that could - be specified, if a key is given in the .ini file which isn't in + be specified, if a key is given in the .yaml file which isn't in here, it will generate an error. Each value in this dictionary is another dictionary containing metadata: @@ -1010,17 +1013,11 @@ class SanityConfigParser: """ d = {} - cp = self.cp - - if not cp.has_section(section): - # Just fill it with defaults - cp.add_section(section) - - for k, v in cp.items(section): + for k, v in self.section(section).items(): if k not in valid_keys: raise ConfigurationError(self.filename, - "Unknown config key '%s' in definition for '%s'" - % (k, section)) + "Unknown config key '%s' in definition for '%s'" + % (k, section)) d[k] = v for k, kinfo in valid_keys.items(): @@ -1055,7 +1052,7 @@ class Platform: """Class representing metadata for a particular platform Maps directly to BOARD when building""" - def __init__(self, arch, name, plat_dict): + def __init__(self, cfile): """Constructor. @param arch Architecture object for this platform @@ -1064,41 +1061,40 @@ class Platform: in the architecture configuration file which has lots of metadata. See the Architecture class. """ - self.name = name - self.qemu_support = plat_dict["qemu_support"] - self.arch = arch - self.supported_toolchains = arch.supported_toolchains - if plat_dict["supported_toolchains"]: - self.supported_toolchains = plat_dict["supported_toolchains"] - # Gets populated in a separate step + scp = SanityConfigParser(cfile) + cp = scp.cp + + self.name = cp['identifier'] + # if no RAM size is specified by the board, take a default of 128K + self.ram = cp.get("ram", 128) + testing = cp.get("testing", {}) + self.ignore_tags = testing.get("ignore_tags", []) + self.default = testing.get("default", False) + # if no flash size is specified by the board, take a default of 512K + self.flash = cp.get("flash", 512) + self.supported = set(cp.get("supported", [])) + self.qemu_support = True if cp.get('type', "na") == 'qemu' else False + self.arch = cp['arch'] + self.supported_toolchains = cp.get("toolchain", []) self.defconfig = None pass def __repr__(self): - return "<%s on %s>" % (self.name, self.arch.name) + return "<%s on %s>" % (self.name, self.arch) class Architecture: """Class representing metadata for a particular architecture """ - def __init__(self, cfile): + def __init__(self, name, platforms): """Architecture constructor @param cfile Path to Architecture configuration file, which gives info about the arch and all the platforms for it """ - cp = SanityConfigParser(cfile) - self.platforms = [] - - arch = cp.get_section("arch", arch_valid_keys) + self.platforms = platforms - self.name = arch["name"] - self.supported_toolchains = arch["supported_toolchains"] - - for plat_name in arch["platforms"]: - verbose("Platform: %s" % plat_name) - plat_dict = cp.get_section(plat_name, platform_valid_keys) - self.platforms.append(Platform(self, plat_name, plat_dict)) + self.name = name def __repr__(self): return "" % self.name @@ -1110,12 +1106,12 @@ class TestCase: def __init__(self, testcase_root, workdir, name, tc_dict, inifile): """TestCase constructor. - This gets called by TestSuite as it finds and reads testcase.ini files. - Multiple TestCase instances may be generated from a single testcase.ini, + This gets called by TestSuite as it finds and reads test yaml files. + Multiple TestCase instances may be generated from a single testcase.yaml, each one corresponds to a section within that file. We need to have a unique name for every single test case. Since - a testcase.ini can define multiple tests, the canonical name for + a testcase.yaml can define multiple tests, the canonical name for the test case is /. @param testcase_root Absolute path to the root directory where @@ -1126,9 +1122,9 @@ class TestCase: in the test case configuration file. For many test cases that just define one test, can be anything and is usually "test". This is really only used to distinguish between different cases when - the testcase.ini defines multiple tests + the testcase.yaml defines multiple tests @param tc_dict Dictionary with section values for this test case - from the testcase.ini file + from the testcase.yaml file """ self.code_location = os.path.join(testcase_root, workdir) self.type = tc_dict["type"] @@ -1142,7 +1138,11 @@ class TestCase: self.tc_filter = tc_dict["filter"] self.timeout = tc_dict["timeout"] self.build_only = tc_dict["build_only"] + self.build_on_all = tc_dict["build_on_all"] self.slow = tc_dict["slow"] + self.min_ram = tc_dict["min_ram"] + self.depends_on = tc_dict["depends_on"] + self.min_flash = tc_dict["min_flash"] self.extra_sections = tc_dict["extra_sections"] self.path = os.path.join(os.path.basename(os.path.abspath(testcase_root)), workdir, name) @@ -1231,41 +1231,40 @@ class TestSuite: for dirpath, dirnames, filenames in os.walk(testcase_root, topdown=True): verbose("scanning %s" % dirpath) - if "testcase.ini" in filenames: - verbose("Found test case in " + dirpath) + if "sample.yaml" in filenames or "testcase.yaml" in filenames: + verbose("Found possible test case in " + dirpath) dirnames[:] = [] - ini_path = os.path.join(dirpath, "testcase.ini") - cp = SanityConfigParser(ini_path) + if "sample.yaml" in filenames: + yaml_path = os.path.join(dirpath, "sample.yaml") + else: + yaml_path = os.path.join(dirpath, "testcase.yaml") + cp = SanityConfigParser(yaml_path) workdir = os.path.relpath(dirpath, testcase_root) for section in cp.sections(): - tc_dict = cp.get_section(section, testcase_valid_keys) - tc = TestCase(testcase_root, workdir, section, tc_dict, - ini_path) + name = list(section.keys())[0] + tc_dict = cp.get_section(name, testcase_valid_keys) + tc = TestCase(testcase_root, workdir, name, tc_dict, + yaml_path) self.testcases[tc.name] = tc - debug("Reading architecture configuration files under %s..." % arch_root) + debug("Reading platform configuration files under %s..." % arch_root) for dirpath, dirnames, filenames in os.walk(arch_root): for filename in filenames: - if filename.endswith(".ini"): + if filename.endswith(".yaml"): fn = os.path.join(dirpath, filename) - verbose("Found arch configuration " + fn) - arch = Architecture(fn) - self.arches[arch.name] = arch - self.platforms.extend(arch.platforms) - - # Build up a list of boards based on the presence of - # boards/*/*_defconfig files. We want to make sure that the arch.ini - # files are not missing any boards - all_plats = [plat.name for plat in self.platforms] - for dirpath, dirnames, filenames in os.walk(os.path.join(ZEPHYR_BASE, - "boards")): - for filename in filenames: - if filename.endswith("_defconfig"): - board_name = filename.replace("_defconfig", "") - if board_name not in all_plats: - error("Platform '%s' not specified in any arch .ini file and will not be tested" - % board_name) + verbose("Found plaform configuration " + fn) + platform = Platform(fn) + self.platforms.append(platform) + + arches = [] + for p in self.platforms: + arches.append(p.arch) + for a in list(set(arches)): + aplatforms = [ p for p in self.platforms if p.arch == a ] + arch = Architecture(a, aplatforms) + self.arches[a] = arch + self.instances = {} def get_last_failed(self): @@ -1311,13 +1310,15 @@ class TestSuite: dlist = {} for tc_name, tc in self.testcases.items(): for arch_name, arch in self.arches.items(): - instance_list = [] for plat in arch.platforms: instance = TestInstance(tc, plat, self.outdir) if (arch_name == "unit") != (tc.type == "unit"): continue + if tc.build_on_all: + platform_filter = [] + if tc.skip: continue @@ -1348,12 +1349,24 @@ class TestSuite: if platform_filter and plat.name not in platform_filter: continue + if plat.ram <= tc.min_ram: + continue + + if set(plat.ignore_tags) & tc.tags: + continue + + if not tc.depends_on.issubset(set(plat.supported)): + continue + + if plat.flash < tc.min_flash: + continue + if tc.platform_whitelist and plat.name not in tc.platform_whitelist: continue - if tc.tc_filter and (plat in arch.platforms[:platform_limit] or all_plats or platform_filter): + if tc.tc_filter and (plat.default or all_plats or platform_filter): args = tc.extra_args[:] - args.extend(["ARCH=" + plat.arch.name, + args.extend(["ARCH=" + plat.arch, "BOARD=" + plat.name, "config-sanitycheck"]) args.extend(extra_args) # FIXME would be nice to use a common outdir for this so that @@ -1400,6 +1413,9 @@ class TestSuite: discards[instance] = "Skip filter" continue + if tc.build_on_all: + platform_filter = [] + if tag_filter and not tc.tags.intersection(tag_filter): discards[instance] = "Command line testcase tag filter" continue @@ -1444,6 +1460,22 @@ class TestSuite: discards[instance] = "Not supported by the toolchain" continue + if plat.ram <= tc.min_ram: + discards[instance] = "Not enough RAM" + continue + + if not tc.depends_on.issubset(set(plat.supported)): + discards[instance] = "No hardware support" + continue + + if plat.flash< tc.min_flash: + discards[instance] = "Not enough FLASH" + continue + + if set(plat.ignore_tags) & tc.tags: + discards[instance] = "Excluded tags per platform" + continue + defconfig = {"ARCH" : arch.name, "PLATFORM" : plat.name} defconfig.update(os.environ) for p, tdefconfig in tc.defconfig.items(): @@ -1468,10 +1500,15 @@ class TestSuite: # Every platform in this arch was rejected already continue - if default_platforms: - self.add_instances(instance_list[:platform_limit]) - for instance in instance_list[platform_limit:]: - discards[instance] = "Not in first %d platform(s) for arch" % platform_limit + if default_platforms and not tc.build_on_all: + if not tc.platform_whitelist: + instances = list(filter(lambda tc: tc.platform.default, instance_list)) + self.add_instances(instances) + else: + self.add_instances(instance_list[:platform_limit]) + + for instance in list(filter(lambda tc: not tc.platform.default, instance_list)): + discards[instance] = "Not a default test platform" else: self.add_instances(instance_list) self.discards = discards @@ -1516,7 +1553,7 @@ class TestSuite: cw.writeheader() for instance, reason in self.discards.items(): rowdict = {"test" : i.test.name, - "arch" : i.platform.arch.name, + "arch" : i.platform.arch, "platform" : i.platform.name, "reason" : reason} cw.writerow(rowdict) @@ -1636,7 +1673,7 @@ class TestSuite: for name, goal in self.goals.items(): i = self.instances[name] rowdict = {"test" : i.test.name, - "arch" : i.platform.arch.name, + "arch" : i.platform.arch, "platform" : i.platform.name, "extra_args" : " ".join(i.test.extra_args), "qemu" : i.platform.qemu_support} @@ -1661,9 +1698,9 @@ def parse_arguments(): parser.add_argument("-p", "--platform", action="append", help="Platform filter for testing. This option may be used multiple " "times. Testcases will only be built/run on the platforms " - "specified. If this option is not used, then N platforms will " - "automatically be chosen from each arch to build and test, " - "where N is provided by the --platform-limit option.") + "specified. If this option is not used, then platforms marked " + "as default in the platform metadata file will be chosen " + "to build and test. ") parser.add_argument("-L", "--platform-limit", action="store", type=int, metavar="N", default=1, help="Controls what platforms are tested if --platform or " @@ -1769,7 +1806,7 @@ def parse_arguments(): "called multiple times. Defaults to the 'samples' and " "'tests' directories in the Zephyr tree.") parser.add_argument("-A", "--arch-root", - default="%s/scripts/sanity_chk/arches" % ZEPHYR_BASE, + default="%s/boards" % ZEPHYR_BASE, help="Directory to search for arch configuration files. All .ini " "files in the directory will be processed.") parser.add_argument("-z", "--size", action="append", diff --git a/tests/benchmarks/app_kernel/testcase.ini b/tests/benchmarks/app_kernel/testcase.ini deleted file mode 100644 index d0db1f29dc6fe..0000000000000 --- a/tests/benchmarks/app_kernel/testcase.ini +++ /dev/null @@ -1,7 +0,0 @@ -[test] -tags = benchmark -arch_whitelist = x86 arm -# On my machine, takes about 110 to run, 180 to be safe -timeout = 300 -slow = True -filter = ( CONFIG_SRAM_SIZE > 32 or CONFIG_DCCM_SIZE > 32 or CONFIG_RAM_SIZE > 32 ) diff --git a/tests/benchmarks/app_kernel/testcase.yaml b/tests/benchmarks/app_kernel/testcase.yaml new file mode 100644 index 0000000000000..18ff914a29d7f --- /dev/null +++ b/tests/benchmarks/app_kernel/testcase.yaml @@ -0,0 +1,7 @@ +tests: +- test: + arch_whitelist: x86 arm + min_ram: 32 + slow: true + tags: benchmark + timeout: 300 diff --git a/tests/benchmarks/boot_time/testcase.ini b/tests/benchmarks/boot_time/testcase.ini deleted file mode 100644 index 3609d30092dd6..0000000000000 --- a/tests/benchmarks/boot_time/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = benchmark -arch_whitelist = x86 - diff --git a/tests/benchmarks/boot_time/testcase.yaml b/tests/benchmarks/boot_time/testcase.yaml new file mode 100644 index 0000000000000..4cc8dd2bba6b8 --- /dev/null +++ b/tests/benchmarks/boot_time/testcase.yaml @@ -0,0 +1,4 @@ +tests: +- test: + arch_whitelist: x86 + tags: benchmark diff --git a/tests/benchmarks/footprint/testcase.ini b/tests/benchmarks/footprint/testcase.ini deleted file mode 100644 index c5491510ac884..0000000000000 --- a/tests/benchmarks/footprint/testcase.ini +++ /dev/null @@ -1,30 +0,0 @@ -[footprint-min] -tags = footprint -extra_args = TEST=min -build_only = true -platform_exclude = tinytile -filter = not CONFIG_BOARD_GALILEO - -[footprint-reg] -tags = footprint -extra_args = TEST=reg -build_only = true -arch_whitelist = x86 arm -platform_exclude = tinytile -filter = ( CONFIG_SRAM_SIZE > 8 or CONFIG_DCCM_SIZE > 8 or CONFIG_RAM_SIZE > 8 ) - -[footprint-max] -tags = footprint -extra_args = TEST=max -build_only = true -arch_whitelist = x86 arm -platform_exclude = tinytile -filter = ( CONFIG_SRAM_SIZE > 8 or CONFIG_DCCM_SIZE > 8 or CONFIG_RAM_SIZE > 8 ) - -[footprint-float] -tags = footprint -extra_args = TEST=float -build_only = true -arch_whitelist = x86 arm -platform_exclude = tinytile -filter = CONFIG_FLOAT diff --git a/tests/benchmarks/footprint/testcase.yaml b/tests/benchmarks/footprint/testcase.yaml new file mode 100644 index 0000000000000..3f96594c0ae23 --- /dev/null +++ b/tests/benchmarks/footprint/testcase.yaml @@ -0,0 +1,28 @@ +tests: +- footprint-min: + build_only: true + extra_args: TEST=min + filter: not CONFIG_BOARD_GALILEO + platform_exclude: tinytile + tags: footprint +- footprint-reg: + arch_whitelist: x86 arm + build_only: true + extra_args: TEST=reg + min_ram: 8 + platform_exclude: tinytile + tags: footprint +- footprint-max: + arch_whitelist: x86 arm + build_only: true + extra_args: TEST=max + min_ram: 8 + platform_exclude: tinytile + tags: footprint +- footprint-float: + arch_whitelist: x86 arm + build_only: true + extra_args: TEST=float + filter: CONFIG_FLOAT + platform_exclude: tinytile + tags: footprint diff --git a/tests/benchmarks/latency_measure/testcase.ini b/tests/benchmarks/latency_measure/testcase.ini deleted file mode 100644 index d9d2ba8e1c0c8..0000000000000 --- a/tests/benchmarks/latency_measure/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -tags = benchmark -arch_whitelist = x86 arm -filter = CONFIG_PRINTK - diff --git a/tests/benchmarks/latency_measure/testcase.yaml b/tests/benchmarks/latency_measure/testcase.yaml new file mode 100644 index 0000000000000..d2eac6c263214 --- /dev/null +++ b/tests/benchmarks/latency_measure/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + arch_whitelist: x86 arm + filter: CONFIG_PRINTK + tags: benchmark diff --git a/tests/benchmarks/sys_kernel/testcase.ini b/tests/benchmarks/sys_kernel/testcase.ini deleted file mode 100644 index 70b3bd21058ce..0000000000000 --- a/tests/benchmarks/sys_kernel/testcase.ini +++ /dev/null @@ -1,6 +0,0 @@ -[test] -tags = benchmark -arch_whitelist = x86 -filter = not ((CONFIG_DEBUG or CONFIG_ASSERT)) and ( CONFIG_SRAM_SIZE >= 32 - or CONFIG_DCCM_SIZE >= 32 or CONFIG_RAM_SIZE >= 32) - diff --git a/tests/benchmarks/sys_kernel/testcase.yaml b/tests/benchmarks/sys_kernel/testcase.yaml new file mode 100644 index 0000000000000..50a3c3645829b --- /dev/null +++ b/tests/benchmarks/sys_kernel/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + arch_whitelist: x86 + min_ram: 32 + tags: benchmark diff --git a/tests/benchmarks/timing_info/testcase.ini b/tests/benchmarks/timing_info/testcase.ini deleted file mode 100644 index 717188e0d5d69..0000000000000 --- a/tests/benchmarks/timing_info/testcase.ini +++ /dev/null @@ -1,3 +0,0 @@ -[test] -tags = benchmark -arch_whitelist = x86 arm diff --git a/tests/benchmarks/timing_info/testcase.yaml b/tests/benchmarks/timing_info/testcase.yaml new file mode 100644 index 0000000000000..e436facd56850 --- /dev/null +++ b/tests/benchmarks/timing_info/testcase.yaml @@ -0,0 +1,4 @@ +tests: +- test: + arch_whitelist: x86 arm + tags: benchmark diff --git a/tests/bluetooth/bluetooth/testcase.ini b/tests/bluetooth/bluetooth/testcase.ini deleted file mode 100644 index 7bb453c79b404..0000000000000 --- a/tests/bluetooth/bluetooth/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = bluetooth -arch_whitelist = x86 arm -platform_whitelist = minnowboard arduino_101 frdm_k64f diff --git a/tests/bluetooth/bluetooth/testcase.yaml b/tests/bluetooth/bluetooth/testcase.yaml new file mode 100644 index 0000000000000..d699da9434ff7 --- /dev/null +++ b/tests/bluetooth/bluetooth/testcase.yaml @@ -0,0 +1,4 @@ +tests: +- test: + platform_whitelist: qemu_x86_iamcu qemu_cortex_m3 + tags: bluetooth diff --git a/tests/bluetooth/init/.tmp.config.pBrTeCzfM6 b/tests/bluetooth/init/.tmp.config.pBrTeCzfM6 new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/tests/bluetooth/init/testcase.ini b/tests/bluetooth/init/testcase.ini deleted file mode 100644 index df164ffeb7ef9..0000000000000 --- a/tests/bluetooth/init/testcase.ini +++ /dev/null @@ -1,175 +0,0 @@ -[test] -tags = bluetooth -build_only = true -platform_whitelist = qemu_cortex_m3 qemu_x86 - -[test_controller] -tags = bluetooth -build_only = true -extra_args = CONF_FILE=prj_controller.conf -# Only run on nRF5x, the only supported radio -platform_whitelist = nrf52840_pca10056 nrf52_pca10040 nrf51_pca10028 arduino_101_ble 96b_nitrogen - -[test_controller_4_0] -tags = bluetooth -build_only = true -extra_args = CONF_FILE=prj_controller_4_0.conf -# Only run on nRF5x, the only supported radio -platform_whitelist = nrf52840_pca10056 nrf52_pca10040 nrf51_pca10028 arduino_101_ble - -[test_controller_dbg] -tags = bluetooth -build_only = true -extra_args = CONF_FILE=prj_controller_dbg.conf -# Only run on nRF5x, the only supported radio -platform_whitelist = nrf52840_pca10056 nrf52_pca10040 nrf51_pca10028 96b_nitrogen - -[test_h5] -tags = bluetooth -build_only = true -extra_args = CONF_FILE=prj_h5.conf -platform_whitelist = qemu_cortex_m3 qemu_x86 - -[test_h5_dbg] -tags = bluetooth -build_only = true -extra_args = CONF_FILE=prj_h5_dbg.conf -platform_whitelist = qemu_cortex_m3 qemu_x86 - -[test_0] -tags = bluetooth -build_only = true -extra_args = CONF_FILE=prj_0.conf -platform_whitelist = qemu_cortex_m3 qemu_x86 - -[test_1] -tags = bluetooth -build_only = true -extra_args = CONF_FILE=prj_1.conf -platform_whitelist = qemu_cortex_m3 qemu_x86 - -[test_2] -tags = bluetooth -build_only = true -extra_args = CONF_FILE=prj_2.conf -platform_whitelist = qemu_cortex_m3 qemu_x86 - -[test_3] -tags = bluetooth -build_only = true -extra_args = CONF_FILE=prj_3.conf -platform_whitelist = qemu_cortex_m3 qemu_x86 - -[test_4] -tags = bluetooth -build_only = true -extra_args = CONF_FILE=prj_4.conf -platform_whitelist = qemu_cortex_m3 qemu_x86 - -[test_5] -tags = bluetooth -build_only = true -extra_args = CONF_FILE=prj_5.conf -platform_whitelist = qemu_cortex_m3 qemu_x86 - -[test_6] -tags = bluetooth -build_only = true -extra_args = CONF_FILE=prj_6.conf -platform_whitelist = qemu_cortex_m3 qemu_x86 - -[test_7] -tags = bluetooth -build_only = true -extra_args = CONF_FILE=prj_7.conf -platform_whitelist = qemu_cortex_m3 qemu_x86 - -[test_8] -tags = bluetooth -build_only = true -extra_args = CONF_FILE=prj_8.conf -platform_whitelist = qemu_cortex_m3 qemu_x86 - -[test_9] -tags = bluetooth -build_only = true -extra_args = CONF_FILE=prj_9.conf -platform_whitelist = qemu_cortex_m3 qemu_x86 - -[test_10] -tags = bluetooth -build_only = true -extra_args = CONF_FILE=prj_10.conf -platform_whitelist = qemu_cortex_m3 qemu_x86 - -[test_11] -tags = bluetooth -build_only = true -extra_args = CONF_FILE=prj_11.conf -platform_whitelist = qemu_cortex_m3 qemu_x86 - -[test_12] -tags = bluetooth -build_only = true -extra_args = CONF_FILE=prj_12.conf -platform_whitelist = qemu_cortex_m3 qemu_x86 - -[test_13] -tags = bluetooth -build_only = true -extra_args = CONF_FILE=prj_13.conf -platform_whitelist = qemu_cortex_m3 qemu_x86 - -[test_14] -tags = bluetooth -build_only = true -extra_args = CONF_FILE=prj_14.conf -platform_whitelist = qemu_cortex_m3 qemu_x86 - -[test_15] -tags = bluetooth -build_only = true -extra_args = CONF_FILE=prj_15.conf -platform_whitelist = qemu_cortex_m3 qemu_x86 - -[test_16] -tags = bluetooth -build_only = true -extra_args = CONF_FILE=prj_16.conf -platform_whitelist = qemu_cortex_m3 qemu_x86 - -[test_17] -tags = bluetooth -build_only = true -extra_args = CONF_FILE=prj_17.conf -platform_whitelist = qemu_cortex_m3 qemu_x86 - -[test_18] -tags = bluetooth -build_only = true -extra_args = CONF_FILE=prj_18.conf -platform_whitelist = qemu_cortex_m3 qemu_x86 - -[test_19] -tags = bluetooth -build_only = true -extra_args = CONF_FILE=prj_19.conf -platform_whitelist = qemu_cortex_m3 qemu_x86 - -[test_20] -tags = bluetooth -build_only = true -extra_args = CONF_FILE=prj_20.conf -platform_whitelist = qemu_cortex_m3 qemu_x86 - -[test_21] -tags = bluetooth -build_only = true -extra_args = CONF_FILE=prj_21.conf -platform_whitelist = qemu_cortex_m3 qemu_x86 - -[test_22] -tags = bluetooth -build_only = true -extra_args = CONF_FILE=prj_22.conf -platform_whitelist = qemu_cortex_m3 qemu_x86 diff --git a/tests/bluetooth/init/testcase.yaml b/tests/bluetooth/init/testcase.yaml new file mode 100644 index 0000000000000..bf46f1d52a2a1 --- /dev/null +++ b/tests/bluetooth/init/testcase.yaml @@ -0,0 +1,148 @@ +tests: +- test: + build_only: true + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth +- test_controller: + build_only: true + extra_args: CONF_FILE=prj_controller.conf + platform_whitelist: nrf52840_pca10056 nrf52_pca10040 + nrf51_pca10028 arduino_101_ble 96b_nitrogen + tags: bluetooth +- test_controller_4_0: + build_only: true + extra_args: CONF_FILE=prj_controller_4_0.conf + platform_whitelist: nrf52840_pca10056 nrf52_pca10040 + nrf51_pca10028 arduino_101_ble + tags: bluetooth +- test_controller_dbg: + build_only: true + extra_args: CONF_FILE=prj_controller_dbg.conf + platform_whitelist: nrf52840_pca10056 nrf52_pca10040 + nrf51_pca10028 96b_nitrogen + tags: bluetooth +- test_h5: + build_only: true + extra_args: CONF_FILE=prj_h5.conf + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth +- test_h5_dbg: + build_only: true + extra_args: CONF_FILE=prj_h5_dbg.conf + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth +- test_0: + build_only: true + extra_args: CONF_FILE=prj_0.conf + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth +- test_1: + build_only: true + extra_args: CONF_FILE=prj_1.conf + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth +- test_2: + build_only: true + extra_args: CONF_FILE=prj_2.conf + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth +- test_3: + build_only: true + extra_args: CONF_FILE=prj_3.conf + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth +- test_4: + build_only: true + extra_args: CONF_FILE=prj_4.conf + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth +- test_5: + build_only: true + extra_args: CONF_FILE=prj_5.conf + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth +- test_6: + build_only: true + extra_args: CONF_FILE=prj_6.conf + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth +- test_7: + build_only: true + extra_args: CONF_FILE=prj_7.conf + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth +- test_8: + build_only: true + extra_args: CONF_FILE=prj_8.conf + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth +- test_9: + build_only: true + extra_args: CONF_FILE=prj_9.conf + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth +- test_10: + build_only: true + extra_args: CONF_FILE=prj_10.conf + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth +- test_11: + build_only: true + extra_args: CONF_FILE=prj_11.conf + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth +- test_12: + build_only: true + extra_args: CONF_FILE=prj_12.conf + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth +- test_13: + build_only: true + extra_args: CONF_FILE=prj_13.conf + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth +- test_14: + build_only: true + extra_args: CONF_FILE=prj_14.conf + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth +- test_15: + build_only: true + extra_args: CONF_FILE=prj_15.conf + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth +- test_16: + build_only: true + extra_args: CONF_FILE=prj_16.conf + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth +- test_17: + build_only: true + extra_args: CONF_FILE=prj_17.conf + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth +- test_18: + build_only: true + extra_args: CONF_FILE=prj_18.conf + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth +- test_19: + build_only: true + extra_args: CONF_FILE=prj_19.conf + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth +- test_20: + build_only: true + extra_args: CONF_FILE=prj_20.conf + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth +- test_21: + build_only: true + extra_args: CONF_FILE=prj_21.conf + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth +- test_22: + build_only: true + extra_args: CONF_FILE=prj_22.conf + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth diff --git a/tests/bluetooth/shell/testcase.ini b/tests/bluetooth/shell/testcase.ini deleted file mode 100644 index 1415b412216f8..0000000000000 --- a/tests/bluetooth/shell/testcase.ini +++ /dev/null @@ -1,13 +0,0 @@ -[test] -tags = bluetooth -build_only = true -platform_whitelist = qemu_cortex_m3 qemu_x86 arduino_101 - -[test_br] -tags = bluetooth -build_only = true -extra_args = CONF_FILE="prj_br.conf" -platform_whitelist = qemu_cortex_m3 qemu_x86 -platform_exclude = quark_d2000_crb -# Do not run for debug daily build -filter = not CONFIG_DEBUG diff --git a/tests/bluetooth/shell/testcase.yaml b/tests/bluetooth/shell/testcase.yaml new file mode 100644 index 0000000000000..d955c4d348bde --- /dev/null +++ b/tests/bluetooth/shell/testcase.yaml @@ -0,0 +1,13 @@ +tests: +- test: + build_only: true + platform_whitelist: qemu_cortex_m3 qemu_x86 + arduino_101 + tags: bluetooth +- test_br: + build_only: true + extra_args: CONF_FILE="prj_br.conf" + filter: not CONFIG_DEBUG + platform_exclude: quark_d2000_crb + platform_whitelist: qemu_cortex_m3 qemu_x86 + tags: bluetooth diff --git a/tests/bluetooth/tester/testcase.ini b/tests/bluetooth/tester/testcase.ini deleted file mode 100644 index 5e5bc6d456a4a..0000000000000 --- a/tests/bluetooth/tester/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -tags = bluetooth -build_only = true -# FIXME: minnowboard using IRQ3 for both UART console and h4 -platform_whitelist = minnowboard diff --git a/tests/bluetooth/tester/testcase.yaml b/tests/bluetooth/tester/testcase.yaml new file mode 100644 index 0000000000000..cfeb5f3abc04b --- /dev/null +++ b/tests/bluetooth/tester/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + build_only: true + platform_whitelist: qemu_x86_iamcu + tags: bluetooth diff --git a/tests/crypto/aes/testcase.ini b/tests/crypto/aes/testcase.ini deleted file mode 100644 index cd45d51ebdd82..0000000000000 --- a/tests/crypto/aes/testcase.ini +++ /dev/null @@ -1,3 +0,0 @@ -[test] -tags = crypto aes -build_only = false diff --git a/tests/crypto/aes/testcase.yaml b/tests/crypto/aes/testcase.yaml new file mode 100644 index 0000000000000..e1cf667d7d586 --- /dev/null +++ b/tests/crypto/aes/testcase.yaml @@ -0,0 +1,4 @@ +tests: +- test: + build_only: false + tags: crypto aes diff --git a/tests/crypto/cbc_mode/testcase.ini b/tests/crypto/cbc_mode/testcase.ini deleted file mode 100644 index a8ae8ce190924..0000000000000 --- a/tests/crypto/cbc_mode/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = crypto aes cbc diff --git a/tests/crypto/cbc_mode/testcase.yaml b/tests/crypto/cbc_mode/testcase.yaml new file mode 100644 index 0000000000000..55c73bc162c46 --- /dev/null +++ b/tests/crypto/cbc_mode/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: crypto aes cbc diff --git a/tests/crypto/ccm_mode/testcase.ini b/tests/crypto/ccm_mode/testcase.ini deleted file mode 100644 index 72899834c5e9d..0000000000000 --- a/tests/crypto/ccm_mode/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = crypto aes ccm diff --git a/tests/crypto/ccm_mode/testcase.yaml b/tests/crypto/ccm_mode/testcase.yaml new file mode 100644 index 0000000000000..041f5305b7346 --- /dev/null +++ b/tests/crypto/ccm_mode/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: crypto aes ccm diff --git a/tests/crypto/cmac_mode/testcase.ini b/tests/crypto/cmac_mode/testcase.ini deleted file mode 100644 index 076c81084bab7..0000000000000 --- a/tests/crypto/cmac_mode/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = crypto aes cmac diff --git a/tests/crypto/cmac_mode/testcase.yaml b/tests/crypto/cmac_mode/testcase.yaml new file mode 100644 index 0000000000000..d02da474ea63a --- /dev/null +++ b/tests/crypto/cmac_mode/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: crypto aes cmac diff --git a/tests/crypto/ctr_mode/testcase.ini b/tests/crypto/ctr_mode/testcase.ini deleted file mode 100644 index fe8afa39de709..0000000000000 --- a/tests/crypto/ctr_mode/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = crypto aes ctr diff --git a/tests/crypto/ctr_mode/testcase.yaml b/tests/crypto/ctr_mode/testcase.yaml new file mode 100644 index 0000000000000..5d62f51e8e3d2 --- /dev/null +++ b/tests/crypto/ctr_mode/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: crypto aes ctr diff --git a/tests/crypto/ctr_prng/testcase.ini b/tests/crypto/ctr_prng/testcase.ini deleted file mode 100644 index fbe86548655c7..0000000000000 --- a/tests/crypto/ctr_prng/testcase.ini +++ /dev/null @@ -1,3 +0,0 @@ -[test] -tags = crypto ctr prng -build_only = false diff --git a/tests/crypto/ctr_prng/testcase.yaml b/tests/crypto/ctr_prng/testcase.yaml new file mode 100644 index 0000000000000..e9845d231f373 --- /dev/null +++ b/tests/crypto/ctr_prng/testcase.yaml @@ -0,0 +1,4 @@ +tests: +- test: + build_only: false + tags: crypto ctr prng diff --git a/tests/crypto/ecc_dh/testcase.ini b/tests/crypto/ecc_dh/testcase.ini deleted file mode 100644 index 216b6dd346666..0000000000000 --- a/tests/crypto/ecc_dh/testcase.ini +++ /dev/null @@ -1,6 +0,0 @@ -[test] -tags = crypto ecc dh -timeout = 500 -slow = True -# FIXME -platform_exclude = qemu_riscv32 diff --git a/tests/crypto/ecc_dh/testcase.yaml b/tests/crypto/ecc_dh/testcase.yaml new file mode 100644 index 0000000000000..80206a497e610 --- /dev/null +++ b/tests/crypto/ecc_dh/testcase.yaml @@ -0,0 +1,6 @@ +tests: +- test: + platform_exclude: qemu_riscv32 + slow: true + tags: crypto ecc dh + timeout: 500 diff --git a/tests/crypto/ecc_dsa/testcase.ini b/tests/crypto/ecc_dsa/testcase.ini deleted file mode 100644 index 7e1285307db38..0000000000000 --- a/tests/crypto/ecc_dsa/testcase.ini +++ /dev/null @@ -1,7 +0,0 @@ -[test] -tags = crypto ecc dsa -timeout = 180 -# Failing on xtensa, see ZEP-2021 -filter = (ARCH == "nios2" or CONFIG_DTCM_SIZE > 0x4000 or - CONFIG_SRAM_SIZE > 16 or CONFIG_DCCM_SIZE > 16 or - CONFIG_RAM_SIZE > 16) diff --git a/tests/crypto/ecc_dsa/testcase.yaml b/tests/crypto/ecc_dsa/testcase.yaml new file mode 100644 index 0000000000000..5f7e515262ef7 --- /dev/null +++ b/tests/crypto/ecc_dsa/testcase.yaml @@ -0,0 +1,11 @@ +tests: +- test: + filter: '(ARCH == "nios2" or CONFIG_DTCM_SIZE + > 0x4000 or + + CONFIG_SRAM_SIZE > 16 or CONFIG_DCCM_SIZE + > 16 or + + CONFIG_RAM_SIZE > 16)' + tags: crypto ecc dsa + timeout: 180 diff --git a/tests/crypto/hmac/testcase.ini b/tests/crypto/hmac/testcase.ini deleted file mode 100644 index e619e0f4be0bb..0000000000000 --- a/tests/crypto/hmac/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -tags = crypto sha256 hmac -filter = (ARCH == "xtensa" or ARCH == "nios2" or CONFIG_DTCM_SIZE > 0x4000 or - CONFIG_SRAM_SIZE > 16 or CONFIG_DCCM_SIZE > 16 or - CONFIG_RAM_SIZE > 16) diff --git a/tests/crypto/hmac/testcase.yaml b/tests/crypto/hmac/testcase.yaml new file mode 100644 index 0000000000000..3e3c590d6f53e --- /dev/null +++ b/tests/crypto/hmac/testcase.yaml @@ -0,0 +1,10 @@ +tests: +- test: + filter: '(ARCH == "xtensa" or ARCH == "nios2" + or CONFIG_DTCM_SIZE > 0x4000 or + + CONFIG_SRAM_SIZE > 16 or CONFIG_DCCM_SIZE + > 16 or + + CONFIG_RAM_SIZE > 16)' + tags: crypto sha256 hmac diff --git a/tests/crypto/hmac_prng/testcase.ini b/tests/crypto/hmac_prng/testcase.ini deleted file mode 100644 index eef0d7cefca13..0000000000000 --- a/tests/crypto/hmac_prng/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -tags = crypto sha256 hmac prng -filter = (ARCH == "xtensa" or ARCH == "nios2" or CONFIG_DTCM_SIZE > 0xc000 or - CONFIG_SRAM_SIZE > 48 or CONFIG_DCCM_SIZE > 48 or - CONFIG_RAM_SIZE > 48) diff --git a/tests/crypto/hmac_prng/testcase.yaml b/tests/crypto/hmac_prng/testcase.yaml new file mode 100644 index 0000000000000..8f66ab05d658a --- /dev/null +++ b/tests/crypto/hmac_prng/testcase.yaml @@ -0,0 +1,10 @@ +tests: +- test: + filter: '(ARCH == "xtensa" or ARCH == "nios2" + or CONFIG_DTCM_SIZE > 0xc000 or + + CONFIG_SRAM_SIZE > 48 or CONFIG_DCCM_SIZE + > 48 or + + CONFIG_RAM_SIZE > 48)' + tags: crypto sha256 hmac prng diff --git a/tests/crypto/mbedtls/testcase.ini b/tests/crypto/mbedtls/testcase.ini deleted file mode 100644 index 96ea6fd57a82d..0000000000000 --- a/tests/crypto/mbedtls/testcase.ini +++ /dev/null @@ -1,11 +0,0 @@ -[test] -tags = crypto mbedtls -filter = ( CONFIG_SRAM_SIZE >= 32 or CONFIG_DCCM_SIZE >= 32 or - CONFIG_RAM_SIZE >= 32 ) -timeout = 200 - -[test_nios] -tags = crypto mbedtls -slow = true -arch_whitelist = nios2 -timeout = 200 diff --git a/tests/crypto/mbedtls/testcase.yaml b/tests/crypto/mbedtls/testcase.yaml new file mode 100644 index 0000000000000..915c0c0391d44 --- /dev/null +++ b/tests/crypto/mbedtls/testcase.yaml @@ -0,0 +1,6 @@ +tests: +- test: + min_ram: 32 + tags: crypto mbedtls + timeout: 200 + arch_exclude: riscv32 diff --git a/tests/crypto/sha256/testcase.ini b/tests/crypto/sha256/testcase.ini deleted file mode 100644 index 4b4d2b353d5b4..0000000000000 --- a/tests/crypto/sha256/testcase.ini +++ /dev/null @@ -1,12 +0,0 @@ -[test] -tags = crypto sha256 -build_only = false -timeout = 600 -arch_whitelist = arm arc x86 -filter = ( CONFIG_SRAM_SIZE > 32 or CONFIG_DCCM_SIZE > 32 or CONFIG_RAM_SIZE > 32 ) - -[test_nios2] -tags = crypto sha256 -build_only = false -timeout = 600 -arch_whitelist = nios2 diff --git a/tests/crypto/sha256/testcase.yaml b/tests/crypto/sha256/testcase.yaml new file mode 100644 index 0000000000000..ed986462f5a5b --- /dev/null +++ b/tests/crypto/sha256/testcase.yaml @@ -0,0 +1,12 @@ +tests: +- test: + arch_whitelist: arm arc x86 + build_only: false + min_ram: 32 + tags: crypto sha256 + timeout: 600 +- test_nios2: + arch_whitelist: nios2 + build_only: false + tags: crypto sha256 + timeout: 600 diff --git a/tests/drivers/adc/adc_api/testcase.ini b/tests/drivers/adc/adc_api/testcase.ini deleted file mode 100644 index ecfde8d6c99b0..0000000000000 --- a/tests/drivers/adc/adc_api/testcase.ini +++ /dev/null @@ -1,29 +0,0 @@ -[test_adc_arc_resolution_6] -tags = drivers -arch_whitelist = arc -extra_args = CONF_FILE=prj_resolution_6.conf -platform_whitelist = quark_se_c1000_devboard arduino_101 - -[test_adc_arc_resolution_8] -tags = drivers -arch_whitelist = arc -extra_args = CONF_FILE=prj_resolution_8.conf -platform_whitelist = quark_se_c1000_devboard arduino_101 - -[test_adc_arc_resolution_10] -tags = drivers -arch_whitelist = arc -extra_args = CONF_FILE=prj_resolution_10.conf -platform_whitelist = quark_se_c1000_devboard arduino_101 - -[test_adc_arc_resolution_12] -tags = drivers -arch_whitelist = arc -extra_args = CONF_FILE=prj_resolution_12.conf -platform_whitelist = quark_se_c1000_devboard arduino_101 - -[test_adc_arc_poll_mode] -tags = drivers -arch_whitelist = arc -extra_args = CONF_FILE=prj_poll_mode.conf -platform_whitelist = quark_se_c1000_devboard arduino_101 diff --git a/tests/drivers/adc/adc_api/testcase.yaml b/tests/drivers/adc/adc_api/testcase.yaml new file mode 100644 index 0000000000000..362dae2374a96 --- /dev/null +++ b/tests/drivers/adc/adc_api/testcase.yaml @@ -0,0 +1,31 @@ +tests: +- test_adc_arc_resolution_6: + arch_whitelist: arc + extra_args: CONF_FILE=prj_resolution_6.conf + platform_whitelist: quark_se_c1000_devboard + arduino_101 + tags: drivers +- test_adc_arc_resolution_8: + arch_whitelist: arc + extra_args: CONF_FILE=prj_resolution_8.conf + platform_whitelist: quark_se_c1000_devboard + arduino_101 + tags: drivers +- test_adc_arc_resolution_10: + arch_whitelist: arc + extra_args: CONF_FILE=prj_resolution_10.conf + platform_whitelist: quark_se_c1000_devboard + arduino_101 + tags: drivers +- test_adc_arc_resolution_12: + arch_whitelist: arc + extra_args: CONF_FILE=prj_resolution_12.conf + platform_whitelist: quark_se_c1000_devboard + arduino_101 + tags: drivers +- test_adc_arc_poll_mode: + arch_whitelist: arc + extra_args: CONF_FILE=prj_poll_mode.conf + platform_whitelist: quark_se_c1000_devboard + arduino_101 + tags: drivers diff --git a/tests/drivers/adc/adc_simple/testcase.ini b/tests/drivers/adc/adc_simple/testcase.ini deleted file mode 100644 index d4446f8a9e687..0000000000000 --- a/tests/drivers/adc/adc_simple/testcase.ini +++ /dev/null @@ -1,3 +0,0 @@ -[test] -tags = apps -platform_whitelist = galileo arduino_101_sss quark_d2000_crb quark_se_c1000_ss_devboard \ No newline at end of file diff --git a/tests/drivers/adc/adc_simple/testcase.yaml b/tests/drivers/adc/adc_simple/testcase.yaml new file mode 100644 index 0000000000000..7901001866932 --- /dev/null +++ b/tests/drivers/adc/adc_simple/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + platform_whitelist: galileo arduino_101_sss + quark_d2000_crb quark_se_c1000_ss_devboard + tags: apps diff --git a/tests/drivers/aio/aio_basic_api/testcase.ini b/tests/drivers/aio/aio_basic_api/testcase.ini deleted file mode 100644 index 672cccf90bde0..0000000000000 --- a/tests/drivers/aio/aio_basic_api/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test_aio] -tags = drivers -build_only = true -platform_whitelist = quark_se_c1000_devboard quark_d2000_crb arduino_101 diff --git a/tests/drivers/aio/aio_basic_api/testcase.yaml b/tests/drivers/aio/aio_basic_api/testcase.yaml new file mode 100644 index 0000000000000..3ef469ca7e5e1 --- /dev/null +++ b/tests/drivers/aio/aio_basic_api/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test_aio: + build_only: true + platform_whitelist: quark_se_c1000_devboard quark_d2000_crb arduino_101 + tags: drivers diff --git a/tests/drivers/aon_counter/aon_api/testcase.ini b/tests/drivers/aon_counter/aon_api/testcase.ini deleted file mode 100644 index d5c3dd24153e8..0000000000000 --- a/tests/drivers/aon_counter/aon_api/testcase.ini +++ /dev/null @@ -1,3 +0,0 @@ -[test_aon] -tags = drivers -platform_whitelist = quark_se_c1000_devboard quark_se_c1000_ss_devboard quark_d2000_crb arduino_101 arduino_101_sss diff --git a/tests/drivers/aon_counter/aon_api/testcase.yaml b/tests/drivers/aon_counter/aon_api/testcase.yaml new file mode 100644 index 0000000000000..18cacc388525e --- /dev/null +++ b/tests/drivers/aon_counter/aon_api/testcase.yaml @@ -0,0 +1,6 @@ +tests: +- test_aon: + platform_whitelist: quark_se_c1000_devboard + quark_se_c1000_ss_devboard quark_d2000_crb + arduino_101 arduino_101_sss + tags: drivers diff --git a/tests/drivers/build_all/testcase.ini b/tests/drivers/build_all/testcase.ini deleted file mode 100644 index 4d7a3096745de..0000000000000 --- a/tests/drivers/build_all/testcase.ini +++ /dev/null @@ -1,33 +0,0 @@ -[test_build_drivers] -build_only = true -tags = drivers footprint - -[test_build_sensors_a_m] -build_only = true -tags = drivers footprint -extra_args = CONF_FILE=sensors_a_m.conf -# Do not run for debug daily build -filter = not ((CONFIG_DEBUG or CONFIG_ASSERT)) and ( CONFIG_SRAM_SIZE >= 32 - or CONFIG_DCCM_SIZE >= 32 or CONFIG_RAM_SIZE >= 32 ) - -[test_build_sensors_n_z] -build_only = true -tags = drivers footprint -extra_args = CONF_FILE=sensors_n_z.conf -# Do not run for debug daily build -filter = not ((CONFIG_DEBUG or CONFIG_ASSERT)) and ( CONFIG_SRAM_SIZE >= 32 - or CONFIG_DCCM_SIZE >= 32 or CONFIG_RAM_SIZE >= 32 ) - -[test_build_sensor_triggers] -build_only = true -tags = drivers footprint -extra_args = CONF_FILE=sensors_trigger.conf -# Do not run for debug daily build -filter = not ((CONFIG_DEBUG or CONFIG_ASSERT)) and ( CONFIG_SRAM_SIZE >= 32 - or CONFIG_DCCM_SIZE >= 32 or CONFIG_RAM_SIZE >= 32 ) - -[test_build_ethernet] -build_only = true -tags = drivers footprint -extra_args = CONF_FILE=ethernet.conf -filter = CONFIG_SRAM_SIZE >= 32 or CONFIG_DCCM_SIZE >= 32 or CONFIG_RAM_SIZE >= 32 \ No newline at end of file diff --git a/tests/drivers/build_all/testcase.yaml b/tests/drivers/build_all/testcase.yaml new file mode 100644 index 0000000000000..fb67294155eda --- /dev/null +++ b/tests/drivers/build_all/testcase.yaml @@ -0,0 +1,24 @@ +tests: +- test_build_drivers: + build_only: true + tags: drivers footprint +- test_build_sensors_a_m: + build_only: true + extra_args: CONF_FILE=sensors_a_m.conf + min_ram: 32 + tags: drivers footprint +- test_build_sensors_n_z: + build_only: true + extra_args: CONF_FILE=sensors_n_z.conf + min_ram: 32 + tags: drivers footprint +- test_build_sensor_triggers: + build_only: true + extra_args: CONF_FILE=sensors_trigger.conf + min_ram: 32 + tags: drivers footprint +- test_build_ethernet: + build_only: true + extra_args: CONF_FILE=ethernet.conf + min_ram: 32 + tags: drivers footprint diff --git a/tests/drivers/dma/chan_blen_transfer/testcase.ini b/tests/drivers/dma/chan_blen_transfer/testcase.ini deleted file mode 100644 index 9aae96b48312d..0000000000000 --- a/tests/drivers/dma/chan_blen_transfer/testcase.ini +++ /dev/null @@ -1,11 +0,0 @@ -[test_dma] -tags = drivers -arch_whitelist = x86 -platform_whitelist = quark_se_c1000_devboard arduino_101 quark_d2000_crb - -[test_dma_shell] -tags = drivers -build_only = true -arch_whitelist = x86 -extra_args = CONF_FILE=prj_shell.conf -platform_whitelist = quark_se_c1000_devboard arduino_101 quark_d2000_crb diff --git a/tests/drivers/dma/chan_blen_transfer/testcase.yaml b/tests/drivers/dma/chan_blen_transfer/testcase.yaml new file mode 100644 index 0000000000000..4fe2c2c5b1e8b --- /dev/null +++ b/tests/drivers/dma/chan_blen_transfer/testcase.yaml @@ -0,0 +1,13 @@ +tests: +- test_dma: + arch_whitelist: x86 + platform_whitelist: quark_se_c1000_devboard + arduino_101 quark_d2000_crb + tags: drivers +- test_dma_shell: + arch_whitelist: x86 + build_only: true + extra_args: CONF_FILE=prj_shell.conf + platform_whitelist: quark_se_c1000_devboard + arduino_101 quark_d2000_crb + tags: drivers diff --git a/tests/drivers/dma/loop_transfer/testcase.ini b/tests/drivers/dma/loop_transfer/testcase.ini deleted file mode 100644 index c28ea16226451..0000000000000 --- a/tests/drivers/dma/loop_transfer/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -build_only = true -tags = apps -platform_whitelist = arduino_101 quark_d2000_crb quark_se_c1000_devboard diff --git a/tests/drivers/dma/loop_transfer/testcase.yaml b/tests/drivers/dma/loop_transfer/testcase.yaml new file mode 100644 index 0000000000000..e17aac44dd0df --- /dev/null +++ b/tests/drivers/dma/loop_transfer/testcase.yaml @@ -0,0 +1,6 @@ +tests: +- test: + build_only: true + platform_whitelist: arduino_101 quark_d2000_crb + quark_se_c1000_devboard + tags: apps diff --git a/tests/drivers/enc28j60/testcase.ini b/tests/drivers/enc28j60/testcase.ini deleted file mode 100644 index 4a8fac99bde17..0000000000000 --- a/tests/drivers/enc28j60/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test_enc28j60_build] -build_only = true -tags = drivers -platform_whitelist = arduino_101 diff --git a/tests/drivers/enc28j60/testcase.yaml b/tests/drivers/enc28j60/testcase.yaml new file mode 100644 index 0000000000000..a7ca721693311 --- /dev/null +++ b/tests/drivers/enc28j60/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test_enc28j60_build: + build_only: true + platform_whitelist: arduino_101 + tags: drivers diff --git a/tests/drivers/gpio/gpio_basic_api/testcase.ini b/tests/drivers/gpio/gpio_basic_api/testcase.ini deleted file mode 100644 index 62ec8cf7f475b..0000000000000 --- a/tests/drivers/gpio/gpio_basic_api/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test_gpio] -tags = drivers -build_only = true -arch_whitelist = x86 arc -platform_whitelist = quark_se_c1000_devboard arduino_101 quark_d2000_crb diff --git a/tests/drivers/gpio/gpio_basic_api/testcase.yaml b/tests/drivers/gpio/gpio_basic_api/testcase.yaml new file mode 100644 index 0000000000000..a51bc6434bb5e --- /dev/null +++ b/tests/drivers/gpio/gpio_basic_api/testcase.yaml @@ -0,0 +1,7 @@ +tests: +- test_gpio: + arch_whitelist: x86 arc + build_only: true + platform_whitelist: quark_se_c1000_devboard + arduino_101 quark_d2000_crb + tags: drivers diff --git a/tests/drivers/i2c/i2c_api/testcase.ini b/tests/drivers/i2c/i2c_api/testcase.ini deleted file mode 100644 index c231373aacdae..0000000000000 --- a/tests/drivers/i2c/i2c_api/testcase.ini +++ /dev/null @@ -1,9 +0,0 @@ -[test_i2c_x86] -tags = drivers -arch_whitelist = x86 -platform_whitelist = quark_se_c1000_devboard arduino_101 quark_d2000_crb - -[test_i2c_arc] -tags = drivers -arch_whitelist = arc -platform_whitelist = quark_se_c1000_devboard arduino_101 diff --git a/tests/drivers/i2c/i2c_api/testcase.yaml b/tests/drivers/i2c/i2c_api/testcase.yaml new file mode 100644 index 0000000000000..2654a327c38c3 --- /dev/null +++ b/tests/drivers/i2c/i2c_api/testcase.yaml @@ -0,0 +1,11 @@ +tests: +- test_i2c_x86: + arch_whitelist: x86 + platform_whitelist: quark_se_c1000_devboard + arduino_101 quark_d2000_crb + tags: drivers +- test_i2c_arc: + arch_whitelist: arc + platform_whitelist: quark_se_c1000_devboard + arduino_101 + tags: drivers diff --git a/tests/drivers/ipm/testcase.ini b/tests/drivers/ipm/testcase.ini deleted file mode 100644 index cfc5500f8a897..0000000000000 --- a/tests/drivers/ipm/testcase.ini +++ /dev/null @@ -1,3 +0,0 @@ -[test] -tags = core -filter = not CONFIG_SOC_QUARK_SE_C1000_SS diff --git a/tests/drivers/ipm/testcase.yaml b/tests/drivers/ipm/testcase.yaml new file mode 100644 index 0000000000000..66d2e40f83f7a --- /dev/null +++ b/tests/drivers/ipm/testcase.yaml @@ -0,0 +1,4 @@ +tests: +- test: + filter: not CONFIG_SOC_QUARK_SE_C1000_SS + tags: core diff --git a/tests/drivers/nsim_uart/testcase.ini b/tests/drivers/nsim_uart/testcase.ini deleted file mode 100644 index 53bd3feaebb69..0000000000000 --- a/tests/drivers/nsim_uart/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test_pinmux_dev] -build_only = true -tags = drivers -platform_whitelist = arduino_101_sss diff --git a/tests/drivers/nsim_uart/testcase.yaml b/tests/drivers/nsim_uart/testcase.yaml new file mode 100644 index 0000000000000..e9671622263c8 --- /dev/null +++ b/tests/drivers/nsim_uart/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test_pinmux_dev: + build_only: true + platform_whitelist: arduino_101_sss + tags: drivers diff --git a/tests/drivers/pci_enum/testcase.ini b/tests/drivers/pci_enum/testcase.ini deleted file mode 100644 index 1717189cd04a1..0000000000000 --- a/tests/drivers/pci_enum/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = samples -filter = CONFIG_PCI -platform_whitelist = qemu_x86 galileo diff --git a/tests/drivers/pci_enum/testcase.yaml b/tests/drivers/pci_enum/testcase.yaml new file mode 100644 index 0000000000000..e5a9e87410064 --- /dev/null +++ b/tests/drivers/pci_enum/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + filter: CONFIG_PCI + platform_whitelist: qemu_x86 galileo + tags: samples diff --git a/tests/drivers/pinmux/pinmux_basic_api/testcase.ini b/tests/drivers/pinmux/pinmux_basic_api/testcase.ini deleted file mode 100644 index 112530e6c845d..0000000000000 --- a/tests/drivers/pinmux/pinmux_basic_api/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test_pinmux] -tags = drivers -arch_whitelist = x86 arc -platform_whitelist = quark_se_c1000_devboard arduino_101 quark_d2000_crb diff --git a/tests/drivers/pinmux/pinmux_basic_api/testcase.yaml b/tests/drivers/pinmux/pinmux_basic_api/testcase.yaml new file mode 100644 index 0000000000000..f98503160225c --- /dev/null +++ b/tests/drivers/pinmux/pinmux_basic_api/testcase.yaml @@ -0,0 +1,6 @@ +tests: +- test_pinmux: + arch_whitelist: x86 arc + platform_whitelist: quark_se_c1000_devboard + arduino_101 quark_d2000_crb + tags: drivers diff --git a/tests/drivers/pwm/pwm_api/testcase.ini b/tests/drivers/pwm/pwm_api/testcase.ini deleted file mode 100644 index 68b206b04c18b..0000000000000 --- a/tests/drivers/pwm/pwm_api/testcase.ini +++ /dev/null @@ -1,8 +0,0 @@ -[test_pwm] -tags = drivers -platform_whitelist = quark_se_c1000_devboard quark_se_c1000_ss_devboard arduino_101 arduino_101_sss - -[test_pwm_d2000_crb] -tags = drivers -extra_args = CONF_FILE=prj_d2000.conf -platform_whitelist = quark_d2000_crb diff --git a/tests/drivers/pwm/pwm_api/testcase.yaml b/tests/drivers/pwm/pwm_api/testcase.yaml new file mode 100644 index 0000000000000..2e12d5e53334c --- /dev/null +++ b/tests/drivers/pwm/pwm_api/testcase.yaml @@ -0,0 +1,9 @@ +tests: +- test_pwm: + platform_whitelist: quark_se_c1000_devboard + quark_se_c1000_ss_devboard arduino_101 arduino_101_sss + tags: drivers +- test_pwm_d2000_crb: + extra_args: CONF_FILE=prj_d2000.conf + platform_whitelist: quark_d2000_crb + tags: drivers diff --git a/tests/drivers/quark_clock/testcase.ini b/tests/drivers/quark_clock/testcase.ini deleted file mode 100644 index f7338b0c4a63c..0000000000000 --- a/tests/drivers/quark_clock/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test_quark_clock_build] -build_only = true -tags = drivers -platform_whitelist = arduino_101 diff --git a/tests/drivers/quark_clock/testcase.yaml b/tests/drivers/quark_clock/testcase.yaml new file mode 100644 index 0000000000000..b0ee0694bc0df --- /dev/null +++ b/tests/drivers/quark_clock/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test_quark_clock_build: + build_only: true + platform_whitelist: arduino_101 + tags: drivers diff --git a/tests/drivers/rtc/rtc_basic_api/testcase.ini b/tests/drivers/rtc/rtc_basic_api/testcase.ini deleted file mode 100644 index e0e450fd26425..0000000000000 --- a/tests/drivers/rtc/rtc_basic_api/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test_rtc] -tags = drivers -arch_whitelist = x86 arc -platform_whitelist = quark_se_c1000_devboard arduino_101 quark_d2000_crb diff --git a/tests/drivers/rtc/rtc_basic_api/testcase.yaml b/tests/drivers/rtc/rtc_basic_api/testcase.yaml new file mode 100644 index 0000000000000..82e0b61281dc2 --- /dev/null +++ b/tests/drivers/rtc/rtc_basic_api/testcase.yaml @@ -0,0 +1,6 @@ +tests: +- test_rtc: + arch_whitelist: x86 arc + platform_whitelist: quark_se_c1000_devboard + arduino_101 quark_d2000_crb + tags: drivers diff --git a/tests/drivers/spi/spi_basic_api/testcase.ini b/tests/drivers/spi/spi_basic_api/testcase.ini deleted file mode 100644 index 858c4a10a6cd8..0000000000000 --- a/tests/drivers/spi/spi_basic_api/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test_spi] -tags = apps -arch_whitelist = x86 arc arm -platform_whitelist = quark_se_c1000_devboard quark_d2000_crb arduino_101 galileo frdm_k64f -platform_exclude = arduino_101_sss diff --git a/tests/drivers/spi/spi_basic_api/testcase.yaml b/tests/drivers/spi/spi_basic_api/testcase.yaml new file mode 100644 index 0000000000000..fe4d17384f529 --- /dev/null +++ b/tests/drivers/spi/spi_basic_api/testcase.yaml @@ -0,0 +1,7 @@ +tests: +- test_spi: + arch_whitelist: x86 arc arm + platform_exclude: arduino_101_sss + platform_whitelist: quark_se_c1000_devboard + quark_d2000_crb arduino_101 galileo frdm_k64f + tags: apps diff --git a/tests/drivers/uart/uart_basic_api/testcase.ini b/tests/drivers/uart/uart_basic_api/testcase.ini deleted file mode 100644 index 997ed122fa671..0000000000000 --- a/tests/drivers/uart/uart_basic_api/testcase.ini +++ /dev/null @@ -1,11 +0,0 @@ -[test_uart] -tags = drivers -arch_whitelist = x86 -platform_whitelist = quark_se_c1000_devboard arduino_101 quark_d2000_crb - -[test_uart_shell] -tags = drivers -build_only = true -arch_whitelist = x86 -extra_args = CONF_FILE=prj_shell.conf -platform_whitelist = quark_se_c1000_devboard arduino_101 quark_d2000_crb diff --git a/tests/drivers/uart/uart_basic_api/testcase.yaml b/tests/drivers/uart/uart_basic_api/testcase.yaml new file mode 100644 index 0000000000000..7853d8fb4da5a --- /dev/null +++ b/tests/drivers/uart/uart_basic_api/testcase.yaml @@ -0,0 +1,13 @@ +tests: +- test_uart: + arch_whitelist: x86 + platform_whitelist: quark_se_c1000_devboard + arduino_101 quark_d2000_crb + tags: drivers +- test_uart_shell: + arch_whitelist: x86 + build_only: true + extra_args: CONF_FILE=prj_shell.conf + platform_whitelist: quark_se_c1000_devboard + arduino_101 quark_d2000_crb + tags: drivers diff --git a/tests/drivers/watchdog/wdt_basic_api/testcase.ini b/tests/drivers/watchdog/wdt_basic_api/testcase.ini deleted file mode 100644 index 122306d1a5bca..0000000000000 --- a/tests/drivers/watchdog/wdt_basic_api/testcase.ini +++ /dev/null @@ -1,10 +0,0 @@ -[test_watchdog_reset] -tags = drivers -arch_whitelist = x86 arc -platform_whitelist = quark_se_c1000_devboard arduino_101 quark_d2000_crb - -[test_watchdog_int_reset] -tags = drivers -arch_whitelist = x86 arc -extra_args = CFLAGS=-DINT_RESET -platform_whitelist = quark_se_c1000_devboard arduino_101 quark_d2000_crb diff --git a/tests/drivers/watchdog/wdt_basic_api/testcase.yaml b/tests/drivers/watchdog/wdt_basic_api/testcase.yaml new file mode 100644 index 0000000000000..c636f3d02e857 --- /dev/null +++ b/tests/drivers/watchdog/wdt_basic_api/testcase.yaml @@ -0,0 +1,12 @@ +tests: +- test_watchdog_reset: + arch_whitelist: x86 arc + platform_whitelist: quark_se_c1000_devboard + arduino_101 quark_d2000_crb + tags: drivers +- test_watchdog_int_reset: + arch_whitelist: x86 arc + extra_args: CFLAGS=-DINT_RESET + platform_whitelist: quark_se_c1000_devboard + arduino_101 quark_d2000_crb + tags: drivers diff --git a/tests/kernel/alert/alert_api/testcase.ini b/tests/kernel/alert/alert_api/testcase.ini deleted file mode 100644 index 58c4d1a1747d7..0000000000000 --- a/tests/kernel/alert/alert_api/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = kernel diff --git a/tests/kernel/alert/alert_api/testcase.yaml b/tests/kernel/alert/alert_api/testcase.yaml new file mode 100644 index 0000000000000..76dee5ef4eae6 --- /dev/null +++ b/tests/kernel/alert/alert_api/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: kernel diff --git a/tests/kernel/arm_irq_vector_table/testcase.ini b/tests/kernel/arm_irq_vector_table/testcase.ini deleted file mode 100644 index 2fa38dcf3f597..0000000000000 --- a/tests/kernel/arm_irq_vector_table/testcase.ini +++ /dev/null @@ -1,3 +0,0 @@ -[test] -tags = core bat_commit -filter = CONFIG_ARMV7_M diff --git a/tests/kernel/arm_irq_vector_table/testcase.yaml b/tests/kernel/arm_irq_vector_table/testcase.yaml new file mode 100644 index 0000000000000..d42f7bec3ce11 --- /dev/null +++ b/tests/kernel/arm_irq_vector_table/testcase.yaml @@ -0,0 +1,4 @@ +tests: +- test: + filter: CONFIG_ARMV7_M + tags: core bat_commit diff --git a/tests/kernel/arm_runtime_nmi/testcase.ini b/tests/kernel/arm_runtime_nmi/testcase.ini deleted file mode 100644 index f3ce4f88bb1d2..0000000000000 --- a/tests/kernel/arm_runtime_nmi/testcase.ini +++ /dev/null @@ -1,3 +0,0 @@ -[test] -tags = core bat_commit -arch_whitelist = arm diff --git a/tests/kernel/arm_runtime_nmi/testcase.yaml b/tests/kernel/arm_runtime_nmi/testcase.yaml new file mode 100644 index 0000000000000..df5fb4fc0c989 --- /dev/null +++ b/tests/kernel/arm_runtime_nmi/testcase.yaml @@ -0,0 +1,4 @@ +tests: +- test: + arch_whitelist: arm + tags: core bat_commit diff --git a/tests/kernel/bitfield/testcase.ini b/tests/kernel/bitfield/testcase.ini deleted file mode 100644 index 73f5b8729caf8..0000000000000 --- a/tests/kernel/bitfield/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = core bat_commit -# FIXME not implemented -arch_exclude = arm diff --git a/tests/kernel/bitfield/testcase.yaml b/tests/kernel/bitfield/testcase.yaml new file mode 100644 index 0000000000000..1a39643855651 --- /dev/null +++ b/tests/kernel/bitfield/testcase.yaml @@ -0,0 +1,4 @@ +tests: +- test: + arch_exclude: arm + tags: core bat_commit diff --git a/tests/kernel/common/testcase.ini b/tests/kernel/common/testcase.ini deleted file mode 100644 index 914a14535fcb0..0000000000000 --- a/tests/kernel/common/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = core diff --git a/tests/kernel/common/testcase.yaml b/tests/kernel/common/testcase.yaml new file mode 100644 index 0000000000000..b116fe86ba1e7 --- /dev/null +++ b/tests/kernel/common/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: core diff --git a/tests/kernel/context/testcase.ini b/tests/kernel/context/testcase.ini deleted file mode 100644 index fc3e56d847ca7..0000000000000 --- a/tests/kernel/context/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = core bat_commit diff --git a/tests/kernel/context/testcase.yaml b/tests/kernel/context/testcase.yaml new file mode 100644 index 0000000000000..e6180af785052 --- /dev/null +++ b/tests/kernel/context/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: core bat_commit diff --git a/tests/kernel/critical/testcase.ini b/tests/kernel/critical/testcase.ini deleted file mode 100644 index fc3e56d847ca7..0000000000000 --- a/tests/kernel/critical/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = core bat_commit diff --git a/tests/kernel/critical/testcase.yaml b/tests/kernel/critical/testcase.yaml new file mode 100644 index 0000000000000..e6180af785052 --- /dev/null +++ b/tests/kernel/critical/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: core bat_commit diff --git a/tests/kernel/errno/testcase.ini b/tests/kernel/errno/testcase.ini deleted file mode 100644 index 81335c3942db4..0000000000000 --- a/tests/kernel/errno/testcase.ini +++ /dev/null @@ -1,12 +0,0 @@ -[test] -tags = core -# Make sure it has enough memory -filter = not ((CONFIG_DEBUG or CONFIG_ASSERT)) and ( CONFIG_SRAM_SIZE >= 32 - or CONFIG_DCCM_SIZE >= 32 or CONFIG_RAM_SIZE >= 32) - -[test_newlib] -tags = core -extra_args = CONF_FILE=prj_newlib.conf -# Make sure it has enough memory -filter = not ((CONFIG_DEBUG or CONFIG_ASSERT)) and ( CONFIG_SRAM_SIZE >= 32 - or CONFIG_DCCM_SIZE >= 32 or CONFIG_RAM_SIZE >= 32) diff --git a/tests/kernel/errno/testcase.yaml b/tests/kernel/errno/testcase.yaml new file mode 100644 index 0000000000000..d6dc522e6d20f --- /dev/null +++ b/tests/kernel/errno/testcase.yaml @@ -0,0 +1,16 @@ +tests: +- test: + filter: 'not ((CONFIG_DEBUG or CONFIG_ASSERT)) + and ( CONFIG_SRAM_SIZE >= 32 + + or CONFIG_DCCM_SIZE >= 32 or CONFIG_RAM_SIZE + >= 32)' + tags: core +- test_newlib: + extra_args: CONF_FILE=prj_newlib.conf + filter: 'not ((CONFIG_DEBUG or CONFIG_ASSERT)) + and ( CONFIG_SRAM_SIZE >= 32 + + or CONFIG_DCCM_SIZE >= 32 or CONFIG_RAM_SIZE + >= 32)' + tags: core diff --git a/tests/kernel/fatal/testcase.ini b/tests/kernel/fatal/testcase.ini deleted file mode 100644 index b97fd35be26f0..0000000000000 --- a/tests/kernel/fatal/testcase.ini +++ /dev/null @@ -1,11 +0,0 @@ -# Uses CONFIG_STACK_SENTINEL -[stack-sentinel] -tags = core ignore_faults -arch_exclude = arc - -# Uses CONFIG_ARC_STACK_CHECKING -[arc-stack-checking] -tags = core ignore_faults -extra_args = CONF_FILE=prj-arc.conf -arch_whitelist = arc - diff --git a/tests/kernel/fatal/testcase.yaml b/tests/kernel/fatal/testcase.yaml new file mode 100644 index 0000000000000..c53377176bafd --- /dev/null +++ b/tests/kernel/fatal/testcase.yaml @@ -0,0 +1,8 @@ +tests: +- stack-sentinel: + arch_exclude: arc + tags: core ignore_faults +- arc-stack-checking: + arch_whitelist: arc + extra_args: CONF_FILE=prj-arc.conf + tags: core ignore_faults diff --git a/tests/kernel/fifo/fifo_api/testcase.ini b/tests/kernel/fifo/fifo_api/testcase.ini deleted file mode 100644 index 58c4d1a1747d7..0000000000000 --- a/tests/kernel/fifo/fifo_api/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = kernel diff --git a/tests/kernel/fifo/fifo_api/testcase.yaml b/tests/kernel/fifo/fifo_api/testcase.yaml new file mode 100644 index 0000000000000..76dee5ef4eae6 --- /dev/null +++ b/tests/kernel/fifo/fifo_api/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: kernel diff --git a/tests/kernel/fp_sharing/testcase.ini b/tests/kernel/fp_sharing/testcase.ini deleted file mode 100644 index fa71fa2cbab03..0000000000000 --- a/tests/kernel/fp_sharing/testcase.ini +++ /dev/null @@ -1,15 +0,0 @@ -[test_x86] -tags = core -platform_whitelist = qemu_x86 -slow = true -# One may expect this test to take about two or three minutes to finish -# under normal circumstances. On a heavily loaded machine, extra time -# may be required--hence the 10 minute timeout. -timeout = 600 - -[test_arm] -tags = core -platform_whitelist = frdm_k64f -slow = true -extra_args = PI_NUM_ITERATIONS=70000 -timeout = 600 diff --git a/tests/kernel/fp_sharing/testcase.yaml b/tests/kernel/fp_sharing/testcase.yaml new file mode 100644 index 0000000000000..29a34c96a3a8a --- /dev/null +++ b/tests/kernel/fp_sharing/testcase.yaml @@ -0,0 +1,12 @@ +tests: +- test_x86: + platform_whitelist: qemu_x86 + slow: true + tags: core + timeout: 600 +- test_arm: + extra_args: PI_NUM_ITERATIONS=70000 + platform_whitelist: frdm_k64f + slow: true + tags: core + timeout: 600 diff --git a/tests/kernel/gen_isr_table/testcase.ini b/tests/kernel/gen_isr_table/testcase.ini deleted file mode 100644 index e5b2a38ec4e2d..0000000000000 --- a/tests/kernel/gen_isr_table/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = core -filter = CONFIG_GEN_ISR_TABLES and CONFIG_ARMV7_M - diff --git a/tests/kernel/gen_isr_table/testcase.yaml b/tests/kernel/gen_isr_table/testcase.yaml new file mode 100644 index 0000000000000..caa536e308aad --- /dev/null +++ b/tests/kernel/gen_isr_table/testcase.yaml @@ -0,0 +1,4 @@ +tests: +- test: + filter: CONFIG_GEN_ISR_TABLES and CONFIG_ARMV7_M + tags: core diff --git a/tests/kernel/irq_offload/testcase.ini b/tests/kernel/irq_offload/testcase.ini deleted file mode 100644 index 914a14535fcb0..0000000000000 --- a/tests/kernel/irq_offload/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = core diff --git a/tests/kernel/irq_offload/testcase.yaml b/tests/kernel/irq_offload/testcase.yaml new file mode 100644 index 0000000000000..b116fe86ba1e7 --- /dev/null +++ b/tests/kernel/irq_offload/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: core diff --git a/tests/kernel/libs/testcase.ini b/tests/kernel/libs/testcase.ini deleted file mode 100644 index ac42163878a3d..0000000000000 --- a/tests/kernel/libs/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = bat_commit core diff --git a/tests/kernel/libs/testcase.yaml b/tests/kernel/libs/testcase.yaml new file mode 100644 index 0000000000000..d17f5216e9d0e --- /dev/null +++ b/tests/kernel/libs/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: bat_commit core diff --git a/tests/kernel/lifo/lifo_api/testcase.ini b/tests/kernel/lifo/lifo_api/testcase.ini deleted file mode 100644 index 58c4d1a1747d7..0000000000000 --- a/tests/kernel/lifo/lifo_api/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = kernel diff --git a/tests/kernel/lifo/lifo_api/testcase.yaml b/tests/kernel/lifo/lifo_api/testcase.yaml new file mode 100644 index 0000000000000..76dee5ef4eae6 --- /dev/null +++ b/tests/kernel/lifo/lifo_api/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: kernel diff --git a/tests/kernel/mbox/mbox_api/testcase.ini b/tests/kernel/mbox/mbox_api/testcase.ini deleted file mode 100644 index 58c4d1a1747d7..0000000000000 --- a/tests/kernel/mbox/mbox_api/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = kernel diff --git a/tests/kernel/mbox/mbox_api/testcase.yaml b/tests/kernel/mbox/mbox_api/testcase.yaml new file mode 100644 index 0000000000000..76dee5ef4eae6 --- /dev/null +++ b/tests/kernel/mbox/mbox_api/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: kernel diff --git a/tests/kernel/mem_heap/mheap_api_concept/testcase.ini b/tests/kernel/mem_heap/mheap_api_concept/testcase.ini deleted file mode 100644 index 58c4d1a1747d7..0000000000000 --- a/tests/kernel/mem_heap/mheap_api_concept/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = kernel diff --git a/tests/kernel/mem_heap/mheap_api_concept/testcase.yaml b/tests/kernel/mem_heap/mheap_api_concept/testcase.yaml new file mode 100644 index 0000000000000..76dee5ef4eae6 --- /dev/null +++ b/tests/kernel/mem_heap/mheap_api_concept/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: kernel diff --git a/tests/kernel/mem_pool/mem_pool/testcase.ini b/tests/kernel/mem_pool/mem_pool/testcase.ini deleted file mode 100644 index 8a054534dc5b4..0000000000000 --- a/tests/kernel/mem_pool/mem_pool/testcase.ini +++ /dev/null @@ -1,8 +0,0 @@ -[test] -tags = bat_commit core -filter = ( CONFIG_SRAM_SIZE > 32 or CONFIG_DCCM_SIZE > 32 or - CONFIG_RAM_SIZE > 32 ) - -[test_nios2] -tags = bat_commit core -arch_whitelist = nios2 diff --git a/tests/kernel/mem_pool/mem_pool/testcase.yaml b/tests/kernel/mem_pool/mem_pool/testcase.yaml new file mode 100644 index 0000000000000..383718800f7da --- /dev/null +++ b/tests/kernel/mem_pool/mem_pool/testcase.yaml @@ -0,0 +1,7 @@ +tests: +- test: + min_ram: 32 + tags: bat_commit core +- test_nios2: + arch_whitelist: nios2 + tags: bat_commit core diff --git a/tests/kernel/mem_pool/mem_pool_api/testcase.ini b/tests/kernel/mem_pool/mem_pool_api/testcase.ini deleted file mode 100644 index 58c4d1a1747d7..0000000000000 --- a/tests/kernel/mem_pool/mem_pool_api/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = kernel diff --git a/tests/kernel/mem_pool/mem_pool_api/testcase.yaml b/tests/kernel/mem_pool/mem_pool_api/testcase.yaml new file mode 100644 index 0000000000000..76dee5ef4eae6 --- /dev/null +++ b/tests/kernel/mem_pool/mem_pool_api/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: kernel diff --git a/tests/kernel/mem_pool/mem_pool_concept/testcase.ini b/tests/kernel/mem_pool/mem_pool_concept/testcase.ini deleted file mode 100644 index 58c4d1a1747d7..0000000000000 --- a/tests/kernel/mem_pool/mem_pool_concept/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = kernel diff --git a/tests/kernel/mem_pool/mem_pool_concept/testcase.yaml b/tests/kernel/mem_pool/mem_pool_concept/testcase.yaml new file mode 100644 index 0000000000000..76dee5ef4eae6 --- /dev/null +++ b/tests/kernel/mem_pool/mem_pool_concept/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: kernel diff --git a/tests/kernel/mem_pool/mem_pool_threadsafe/testcase.ini b/tests/kernel/mem_pool/mem_pool_threadsafe/testcase.ini deleted file mode 100644 index 58c4d1a1747d7..0000000000000 --- a/tests/kernel/mem_pool/mem_pool_threadsafe/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = kernel diff --git a/tests/kernel/mem_pool/mem_pool_threadsafe/testcase.yaml b/tests/kernel/mem_pool/mem_pool_threadsafe/testcase.yaml new file mode 100644 index 0000000000000..76dee5ef4eae6 --- /dev/null +++ b/tests/kernel/mem_pool/mem_pool_threadsafe/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: kernel diff --git a/tests/kernel/mem_slab/mslab/testcase.ini b/tests/kernel/mem_slab/mslab/testcase.ini deleted file mode 100644 index 4ff0ab2de2227..0000000000000 --- a/tests/kernel/mem_slab/mslab/testcase.ini +++ /dev/null @@ -1,3 +0,0 @@ -[test] -tags = bat_commit core - diff --git a/tests/kernel/mem_slab/mslab/testcase.yaml b/tests/kernel/mem_slab/mslab/testcase.yaml new file mode 100644 index 0000000000000..d17f5216e9d0e --- /dev/null +++ b/tests/kernel/mem_slab/mslab/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: bat_commit core diff --git a/tests/kernel/mem_slab/mslab_api/testcase.ini b/tests/kernel/mem_slab/mslab_api/testcase.ini deleted file mode 100644 index 58c4d1a1747d7..0000000000000 --- a/tests/kernel/mem_slab/mslab_api/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = kernel diff --git a/tests/kernel/mem_slab/mslab_api/testcase.yaml b/tests/kernel/mem_slab/mslab_api/testcase.yaml new file mode 100644 index 0000000000000..76dee5ef4eae6 --- /dev/null +++ b/tests/kernel/mem_slab/mslab_api/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: kernel diff --git a/tests/kernel/mem_slab/mslab_concept/testcase.ini b/tests/kernel/mem_slab/mslab_concept/testcase.ini deleted file mode 100644 index 58c4d1a1747d7..0000000000000 --- a/tests/kernel/mem_slab/mslab_concept/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = kernel diff --git a/tests/kernel/mem_slab/mslab_concept/testcase.yaml b/tests/kernel/mem_slab/mslab_concept/testcase.yaml new file mode 100644 index 0000000000000..76dee5ef4eae6 --- /dev/null +++ b/tests/kernel/mem_slab/mslab_concept/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: kernel diff --git a/tests/kernel/mem_slab/mslab_threadsafe/testcase.ini b/tests/kernel/mem_slab/mslab_threadsafe/testcase.ini deleted file mode 100644 index 58c4d1a1747d7..0000000000000 --- a/tests/kernel/mem_slab/mslab_threadsafe/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = kernel diff --git a/tests/kernel/mem_slab/mslab_threadsafe/testcase.yaml b/tests/kernel/mem_slab/mslab_threadsafe/testcase.yaml new file mode 100644 index 0000000000000..76dee5ef4eae6 --- /dev/null +++ b/tests/kernel/mem_slab/mslab_threadsafe/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: kernel diff --git a/tests/kernel/msgq/msgq_api/testcase.ini b/tests/kernel/msgq/msgq_api/testcase.ini deleted file mode 100644 index 58c4d1a1747d7..0000000000000 --- a/tests/kernel/msgq/msgq_api/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = kernel diff --git a/tests/kernel/msgq/msgq_api/testcase.yaml b/tests/kernel/msgq/msgq_api/testcase.yaml new file mode 100644 index 0000000000000..76dee5ef4eae6 --- /dev/null +++ b/tests/kernel/msgq/msgq_api/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: kernel diff --git a/tests/kernel/multilib/testcase.ini b/tests/kernel/multilib/testcase.ini deleted file mode 100644 index 914a14535fcb0..0000000000000 --- a/tests/kernel/multilib/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = core diff --git a/tests/kernel/multilib/testcase.yaml b/tests/kernel/multilib/testcase.yaml new file mode 100644 index 0000000000000..b116fe86ba1e7 --- /dev/null +++ b/tests/kernel/multilib/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: core diff --git a/tests/kernel/mutex/mutex/testcase.ini b/tests/kernel/mutex/mutex/testcase.ini deleted file mode 100644 index 4ff0ab2de2227..0000000000000 --- a/tests/kernel/mutex/mutex/testcase.ini +++ /dev/null @@ -1,3 +0,0 @@ -[test] -tags = bat_commit core - diff --git a/tests/kernel/mutex/mutex/testcase.yaml b/tests/kernel/mutex/mutex/testcase.yaml new file mode 100644 index 0000000000000..d17f5216e9d0e --- /dev/null +++ b/tests/kernel/mutex/mutex/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: bat_commit core diff --git a/tests/kernel/mutex/mutex_api/testcase.ini b/tests/kernel/mutex/mutex_api/testcase.ini deleted file mode 100644 index 58c4d1a1747d7..0000000000000 --- a/tests/kernel/mutex/mutex_api/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = kernel diff --git a/tests/kernel/mutex/mutex_api/testcase.yaml b/tests/kernel/mutex/mutex_api/testcase.yaml new file mode 100644 index 0000000000000..76dee5ef4eae6 --- /dev/null +++ b/tests/kernel/mutex/mutex_api/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: kernel diff --git a/tests/kernel/obj_tracing/testcase.ini b/tests/kernel/obj_tracing/testcase.ini deleted file mode 100644 index 0e582453cdd0c..0000000000000 --- a/tests/kernel/obj_tracing/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -tags = core -# Make sure it has enough memory -filter = not ((CONFIG_DEBUG or CONFIG_ASSERT)) and ( CONFIG_SRAM_SIZE >= 32 - or CONFIG_DCCM_SIZE >= 32 or CONFIG_RAM_SIZE >= 32) diff --git a/tests/kernel/obj_tracing/testcase.yaml b/tests/kernel/obj_tracing/testcase.yaml new file mode 100644 index 0000000000000..692d69e79fcd3 --- /dev/null +++ b/tests/kernel/obj_tracing/testcase.yaml @@ -0,0 +1,8 @@ +tests: +- test: + filter: 'not ((CONFIG_DEBUG or CONFIG_ASSERT)) + and ( CONFIG_SRAM_SIZE >= 32 + + or CONFIG_DCCM_SIZE >= 32 or CONFIG_RAM_SIZE + >= 32)' + tags: core diff --git a/tests/kernel/pending/testcase.ini b/tests/kernel/pending/testcase.ini deleted file mode 100644 index e38b8b5efdc23..0000000000000 --- a/tests/kernel/pending/testcase.ini +++ /dev/null @@ -1,3 +0,0 @@ -[test] -tags = core bat_commit -filter = ( CONFIG_SRAM_SIZE > 16 or CONFIG_DCCM_SIZE > 16 or CONFIG_RAM_SIZE > 16 ) diff --git a/tests/kernel/pending/testcase.yaml b/tests/kernel/pending/testcase.yaml new file mode 100644 index 0000000000000..9de6e1c70e40f --- /dev/null +++ b/tests/kernel/pending/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + filter: ( CONFIG_SRAM_SIZE > 16 or CONFIG_DCCM_SIZE + > 16 or CONFIG_RAM_SIZE > 16 ) + tags: core bat_commit diff --git a/tests/kernel/pipe/pipe_api/testcase.ini b/tests/kernel/pipe/pipe_api/testcase.ini deleted file mode 100644 index 58c4d1a1747d7..0000000000000 --- a/tests/kernel/pipe/pipe_api/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = kernel diff --git a/tests/kernel/pipe/pipe_api/testcase.yaml b/tests/kernel/pipe/pipe_api/testcase.yaml new file mode 100644 index 0000000000000..76dee5ef4eae6 --- /dev/null +++ b/tests/kernel/pipe/pipe_api/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: kernel diff --git a/tests/kernel/poll/testcase.ini b/tests/kernel/poll/testcase.ini deleted file mode 100644 index 58c4d1a1747d7..0000000000000 --- a/tests/kernel/poll/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = kernel diff --git a/tests/kernel/poll/testcase.yaml b/tests/kernel/poll/testcase.yaml new file mode 100644 index 0000000000000..76dee5ef4eae6 --- /dev/null +++ b/tests/kernel/poll/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: kernel diff --git a/tests/kernel/profiling/profiling_api/testcase.ini b/tests/kernel/profiling/profiling_api/testcase.ini deleted file mode 100644 index 98d2d569a0ad0..0000000000000 --- a/tests/kernel/profiling/profiling_api/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -tags = kernel -# tickless is not supported on nios2 -arch_exclude = nios2 riscv32 -platform_exclude = em_starterkit diff --git a/tests/kernel/profiling/profiling_api/testcase.yaml b/tests/kernel/profiling/profiling_api/testcase.yaml new file mode 100644 index 0000000000000..bcd87bf52c13c --- /dev/null +++ b/tests/kernel/profiling/profiling_api/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + arch_exclude: nios2 riscv32 + platform_exclude: em_starterkit + tags: kernel diff --git a/tests/kernel/queue/testcase.ini b/tests/kernel/queue/testcase.ini deleted file mode 100644 index 58c4d1a1747d7..0000000000000 --- a/tests/kernel/queue/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = kernel diff --git a/tests/kernel/queue/testcase.yaml b/tests/kernel/queue/testcase.yaml new file mode 100644 index 0000000000000..76dee5ef4eae6 --- /dev/null +++ b/tests/kernel/queue/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: kernel diff --git a/tests/kernel/semaphore/sema_api/testcase.ini b/tests/kernel/semaphore/sema_api/testcase.ini deleted file mode 100644 index 58c4d1a1747d7..0000000000000 --- a/tests/kernel/semaphore/sema_api/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = kernel diff --git a/tests/kernel/semaphore/sema_api/testcase.yaml b/tests/kernel/semaphore/sema_api/testcase.yaml new file mode 100644 index 0000000000000..76dee5ef4eae6 --- /dev/null +++ b/tests/kernel/semaphore/sema_api/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: kernel diff --git a/tests/kernel/sleep/testcase.ini b/tests/kernel/sleep/testcase.ini deleted file mode 100644 index fc3e56d847ca7..0000000000000 --- a/tests/kernel/sleep/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = core bat_commit diff --git a/tests/kernel/sleep/testcase.yaml b/tests/kernel/sleep/testcase.yaml new file mode 100644 index 0000000000000..e6180af785052 --- /dev/null +++ b/tests/kernel/sleep/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: core bat_commit diff --git a/tests/kernel/sprintf/testcase.ini b/tests/kernel/sprintf/testcase.ini deleted file mode 100644 index 2e4e8851815d8..0000000000000 --- a/tests/kernel/sprintf/testcase.ini +++ /dev/null @@ -1,3 +0,0 @@ -[test] -tags = core - diff --git a/tests/kernel/sprintf/testcase.yaml b/tests/kernel/sprintf/testcase.yaml new file mode 100644 index 0000000000000..b116fe86ba1e7 --- /dev/null +++ b/tests/kernel/sprintf/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: core diff --git a/tests/kernel/stack/stack_api/testcase.ini b/tests/kernel/stack/stack_api/testcase.ini deleted file mode 100644 index 58c4d1a1747d7..0000000000000 --- a/tests/kernel/stack/stack_api/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = kernel diff --git a/tests/kernel/stack/stack_api/testcase.yaml b/tests/kernel/stack/stack_api/testcase.yaml new file mode 100644 index 0000000000000..76dee5ef4eae6 --- /dev/null +++ b/tests/kernel/stack/stack_api/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: kernel diff --git a/tests/kernel/stackprot/testcase.ini b/tests/kernel/stackprot/testcase.ini deleted file mode 100644 index eb88a282ee99a..0000000000000 --- a/tests/kernel/stackprot/testcase.ini +++ /dev/null @@ -1,3 +0,0 @@ -[test] -tags = bat_commit core ignore_faults -arch_exclude = nios2 xtensa diff --git a/tests/kernel/stackprot/testcase.yaml b/tests/kernel/stackprot/testcase.yaml new file mode 100644 index 0000000000000..a3fd60b2dfdd8 --- /dev/null +++ b/tests/kernel/stackprot/testcase.yaml @@ -0,0 +1,4 @@ +tests: +- test: + arch_exclude: nios2 xtensa + tags: bat_commit core ignore_faults diff --git a/tests/kernel/static_idt/testcase.ini b/tests/kernel/static_idt/testcase.ini deleted file mode 100644 index 49d1ad7383a3d..0000000000000 --- a/tests/kernel/static_idt/testcase.ini +++ /dev/null @@ -1,3 +0,0 @@ -[test] -tags = bat_commit core ignore_faults -arch_whitelist = x86 diff --git a/tests/kernel/static_idt/testcase.yaml b/tests/kernel/static_idt/testcase.yaml new file mode 100644 index 0000000000000..53024290e746b --- /dev/null +++ b/tests/kernel/static_idt/testcase.yaml @@ -0,0 +1,4 @@ +tests: +- test: + arch_whitelist: x86 + tags: bat_commit core ignore_faults diff --git a/tests/kernel/systhreads/testcase.ini b/tests/kernel/systhreads/testcase.ini deleted file mode 100644 index 1648d3a56d119..0000000000000 --- a/tests/kernel/systhreads/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = kernel -# tickless is not supported on nios2 and riscv-machine -arch_exclude = nios2 riscv32 diff --git a/tests/kernel/systhreads/testcase.yaml b/tests/kernel/systhreads/testcase.yaml new file mode 100644 index 0000000000000..ff232e9a208df --- /dev/null +++ b/tests/kernel/systhreads/testcase.yaml @@ -0,0 +1,4 @@ +tests: +- test: + arch_exclude: nios2 riscv32 + tags: kernel diff --git a/tests/kernel/test_build/testcase.ini b/tests/kernel/test_build/testcase.ini deleted file mode 100644 index 7b608288eb75b..0000000000000 --- a/tests/kernel/test_build/testcase.ini +++ /dev/null @@ -1,16 +0,0 @@ -[test_debug] -build_only = true -tags = apps -extra_args = CONF_FILE=debug.conf - - -[test_newlib] -build_only = true -tags = apps -extra_args = CONF_FILE=newlib.conf - -[test_runtime_nmi] -build_only = true -tags = apps -extra_args = CONF_FILE=runtime_nmi.conf -arch_whitelist = arm diff --git a/tests/kernel/test_build/testcase.yaml b/tests/kernel/test_build/testcase.yaml new file mode 100644 index 0000000000000..4b7f188b36eaf --- /dev/null +++ b/tests/kernel/test_build/testcase.yaml @@ -0,0 +1,14 @@ +tests: +- test_debug: + build_only: true + extra_args: CONF_FILE=debug.conf + tags: apps +- test_newlib: + build_only: true + extra_args: CONF_FILE=newlib.conf + tags: apps +- test_runtime_nmi: + arch_whitelist: arm + build_only: true + extra_args: CONF_FILE=runtime_nmi.conf + tags: apps diff --git a/tests/kernel/threads/custom_data/custom_data_api/testcase.ini b/tests/kernel/threads/custom_data/custom_data_api/testcase.ini deleted file mode 100644 index 58c4d1a1747d7..0000000000000 --- a/tests/kernel/threads/custom_data/custom_data_api/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = kernel diff --git a/tests/kernel/threads/custom_data/custom_data_api/testcase.yaml b/tests/kernel/threads/custom_data/custom_data_api/testcase.yaml new file mode 100644 index 0000000000000..76dee5ef4eae6 --- /dev/null +++ b/tests/kernel/threads/custom_data/custom_data_api/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: kernel diff --git a/tests/kernel/threads/lifecycle/lifecycle_api/testcase.ini b/tests/kernel/threads/lifecycle/lifecycle_api/testcase.ini deleted file mode 100644 index effdb40b9365e..0000000000000 --- a/tests/kernel/threads/lifecycle/lifecycle_api/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = kernel -# tickless is not supported on nios2 -arch_exclude = nios2 diff --git a/tests/kernel/threads/lifecycle/lifecycle_api/testcase.yaml b/tests/kernel/threads/lifecycle/lifecycle_api/testcase.yaml new file mode 100644 index 0000000000000..0520163867dbf --- /dev/null +++ b/tests/kernel/threads/lifecycle/lifecycle_api/testcase.yaml @@ -0,0 +1,4 @@ +tests: +- test: + arch_exclude: nios2 + tags: kernel diff --git a/tests/kernel/threads/lifecycle/thread_init/testcase.ini b/tests/kernel/threads/lifecycle/thread_init/testcase.ini deleted file mode 100644 index 58c4d1a1747d7..0000000000000 --- a/tests/kernel/threads/lifecycle/thread_init/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = kernel diff --git a/tests/kernel/threads/lifecycle/thread_init/testcase.yaml b/tests/kernel/threads/lifecycle/thread_init/testcase.yaml new file mode 100644 index 0000000000000..76dee5ef4eae6 --- /dev/null +++ b/tests/kernel/threads/lifecycle/thread_init/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: kernel diff --git a/tests/kernel/threads/scheduling/schedule_api/testcase.ini b/tests/kernel/threads/scheduling/schedule_api/testcase.ini deleted file mode 100644 index 58c4d1a1747d7..0000000000000 --- a/tests/kernel/threads/scheduling/schedule_api/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = kernel diff --git a/tests/kernel/threads/scheduling/schedule_api/testcase.yaml b/tests/kernel/threads/scheduling/schedule_api/testcase.yaml new file mode 100644 index 0000000000000..76dee5ef4eae6 --- /dev/null +++ b/tests/kernel/threads/scheduling/schedule_api/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: kernel diff --git a/tests/kernel/tickless/tickless/testcase.ini b/tests/kernel/tickless/tickless/testcase.ini deleted file mode 100644 index 8903dde6c3fbd..0000000000000 --- a/tests/kernel/tickless/tickless/testcase.ini +++ /dev/null @@ -1,6 +0,0 @@ -[test] -tags = core -arch_exclude = nios2 -filter = CONFIG_X86 or (CONFIG_ARM and - (CONFIG_SOC_MK64F12 or CONFIG_SOC_SERIES_SAM3X)) or - (CONFIG_ARC and CONFIG_SOC_QUARK_SE_C1000_SS) diff --git a/tests/kernel/tickless/tickless/testcase.yaml b/tests/kernel/tickless/tickless/testcase.yaml new file mode 100644 index 0000000000000..9d5e365317e4a --- /dev/null +++ b/tests/kernel/tickless/tickless/testcase.yaml @@ -0,0 +1,7 @@ +tests: +- test: + arch_exclude: nios2 riscv32 + filter: CONFIG_X86 or (CONFIG_ARM and + (CONFIG_SOC_MK64F12 or CONFIG_SOC_SERIES_SAM3X)) or + (CONFIG_ARC and CONFIG_SOC_QUARK_SE_C1000_SS) + tags: core diff --git a/tests/kernel/tickless/tickless_concept/testcase.ini b/tests/kernel/tickless/tickless_concept/testcase.ini deleted file mode 100644 index ac8f40d5f0e24..0000000000000 --- a/tests/kernel/tickless/tickless_concept/testcase.ini +++ /dev/null @@ -1,3 +0,0 @@ -[test] -tags = kernel -arch_exclude = riscv32 nios2 diff --git a/tests/kernel/tickless/tickless_concept/testcase.yaml b/tests/kernel/tickless/tickless_concept/testcase.yaml new file mode 100644 index 0000000000000..d7d822672579b --- /dev/null +++ b/tests/kernel/tickless/tickless_concept/testcase.yaml @@ -0,0 +1,4 @@ +tests: +- test: + arch_exclude: riscv32 nios2 + tags: kernel diff --git a/tests/kernel/timer/timer_api/testcase.ini b/tests/kernel/timer/timer_api/testcase.ini deleted file mode 100644 index 1dcef16d79671..0000000000000 --- a/tests/kernel/timer/timer_api/testcase.ini +++ /dev/null @@ -1,8 +0,0 @@ -[test] -tags = kernel - -[test_tickless] -extra_args = CONF_FILE="prj_tickless.conf" -build_only = true -tags = apps -filter = CONFIG_BOARD_QEMU_X86 diff --git a/tests/kernel/timer/timer_api/testcase.yaml b/tests/kernel/timer/timer_api/testcase.yaml new file mode 100644 index 0000000000000..8778fa82bd320 --- /dev/null +++ b/tests/kernel/timer/timer_api/testcase.yaml @@ -0,0 +1,8 @@ +tests: +- test: + tags: kernel +- test_tickless: + build_only: true + extra_args: CONF_FILE="prj_tickless.conf" + filter: CONFIG_BOARD_QEMU_X86 + tags: apps diff --git a/tests/kernel/timer/timer_monotonic/testcase.ini b/tests/kernel/timer/timer_monotonic/testcase.ini deleted file mode 100644 index 3a6a01169b991..0000000000000 --- a/tests/kernel/timer/timer_monotonic/testcase.ini +++ /dev/null @@ -1,3 +0,0 @@ -[test] -tags = timer - diff --git a/tests/kernel/timer/timer_monotonic/testcase.yaml b/tests/kernel/timer/timer_monotonic/testcase.yaml new file mode 100644 index 0000000000000..dcb8fec52e18d --- /dev/null +++ b/tests/kernel/timer/timer_monotonic/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: timer diff --git a/tests/kernel/workq/work_queue/testcase.ini b/tests/kernel/workq/work_queue/testcase.ini deleted file mode 100644 index fc3e56d847ca7..0000000000000 --- a/tests/kernel/workq/work_queue/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = core bat_commit diff --git a/tests/kernel/workq/work_queue/testcase.yaml b/tests/kernel/workq/work_queue/testcase.yaml new file mode 100644 index 0000000000000..e6180af785052 --- /dev/null +++ b/tests/kernel/workq/work_queue/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: core bat_commit diff --git a/tests/kernel/workq/work_queue_api/testcase.ini b/tests/kernel/workq/work_queue_api/testcase.ini deleted file mode 100644 index 58c4d1a1747d7..0000000000000 --- a/tests/kernel/workq/work_queue_api/testcase.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test] -tags = kernel diff --git a/tests/kernel/workq/work_queue_api/testcase.yaml b/tests/kernel/workq/work_queue_api/testcase.yaml new file mode 100644 index 0000000000000..76dee5ef4eae6 --- /dev/null +++ b/tests/kernel/workq/work_queue_api/testcase.yaml @@ -0,0 +1,3 @@ +tests: +- test: + tags: kernel diff --git a/tests/kernel/xip/testcase.ini b/tests/kernel/xip/testcase.ini deleted file mode 100644 index f3df9d76831ed..0000000000000 --- a/tests/kernel/xip/testcase.ini +++ /dev/null @@ -1,6 +0,0 @@ -[test] -tags = core bat_commit -platform_exclude = cc3200_launchxl cc3220sf_launchxl -filter = not CONFIG_SOC_RISCV32_PULPINO -# TODO https://jira.zephyrproject.org/browse/ZEP-1676 -arch_exclude = xtensa diff --git a/tests/kernel/xip/testcase.yaml b/tests/kernel/xip/testcase.yaml new file mode 100644 index 0000000000000..ab1a512e64612 --- /dev/null +++ b/tests/kernel/xip/testcase.yaml @@ -0,0 +1,6 @@ +tests: +- test: + arch_exclude: xtensa + filter: not CONFIG_SOC_RISCV32_PULPINO + platform_exclude: cc3200_launchxl cc3220sf_launchxl + tags: core bat_commit diff --git a/tests/lib/json/testcase.ini b/tests/lib/json/testcase.ini deleted file mode 100644 index 0a360c810c9c5..0000000000000 --- a/tests/lib/json/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = json -build_only = true -filter = ( CONFIG_SRAM_SIZE > 32 or CONFIG_DCCM_SIZE > 32 or CONFIG_RAM_SIZE > 32 ) diff --git a/tests/lib/json/testcase.yaml b/tests/lib/json/testcase.yaml new file mode 100644 index 0000000000000..55e4016623394 --- /dev/null +++ b/tests/lib/json/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + build_only: true + min_ram: 32 + tags: json diff --git a/tests/net/6lo/testcase.ini b/tests/net/6lo/testcase.ini deleted file mode 100644 index b418047188604..0000000000000 --- a/tests/net/6lo/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net -arch_whitelist = x86 -platform_exclude = quark_d2000_crb # not enough RAM diff --git a/tests/net/6lo/testcase.yaml b/tests/net/6lo/testcase.yaml new file mode 100644 index 0000000000000..9bfc9387a3bc8 --- /dev/null +++ b/tests/net/6lo/testcase.yaml @@ -0,0 +1,4 @@ +tests: +- test: + arch_whitelist: x86 + tags: net diff --git a/tests/net/all/testcase.ini b/tests/net/all/testcase.ini deleted file mode 100644 index 4aaa2413e62a3..0000000000000 --- a/tests/net/all/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -tags = net -build_only = true -arch_whitelist = x86 -platform_whitelist = qemu_x86 diff --git a/tests/net/all/testcase.yaml b/tests/net/all/testcase.yaml new file mode 100644 index 0000000000000..68f2a51ee5c82 --- /dev/null +++ b/tests/net/all/testcase.yaml @@ -0,0 +1,6 @@ +tests: +- test: + arch_whitelist: x86 + build_only: true + platform_whitelist: qemu_x86 + tags: net diff --git a/tests/net/arp/testcase.ini b/tests/net/arp/testcase.ini deleted file mode 100644 index 2b07c158c84fc..0000000000000 --- a/tests/net/arp/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net -arch_whitelist = x86 -platform_whitelist = qemu_x86 diff --git a/tests/net/arp/testcase.yaml b/tests/net/arp/testcase.yaml new file mode 100644 index 0000000000000..90c668c61079b --- /dev/null +++ b/tests/net/arp/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + arch_whitelist: x86 + platform_whitelist: qemu_x86 + tags: net diff --git a/tests/net/buf/testcase.ini b/tests/net/buf/testcase.ini deleted file mode 100644 index eeb4cdffcc1f8..0000000000000 --- a/tests/net/buf/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = buf -build_only = true -filter = ( CONFIG_SRAM_SIZE > 16 or CONFIG_DCCM_SIZE > 16 or CONFIG_RAM_SIZE > 16 ) diff --git a/tests/net/buf/testcase.yaml b/tests/net/buf/testcase.yaml new file mode 100644 index 0000000000000..7cc545b29c457 --- /dev/null +++ b/tests/net/buf/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + build_only: true + min_ram: 16 + tags: buf diff --git a/tests/net/context/testcase.ini b/tests/net/context/testcase.ini deleted file mode 100644 index 2b07c158c84fc..0000000000000 --- a/tests/net/context/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net -arch_whitelist = x86 -platform_whitelist = qemu_x86 diff --git a/tests/net/context/testcase.yaml b/tests/net/context/testcase.yaml new file mode 100644 index 0000000000000..90c668c61079b --- /dev/null +++ b/tests/net/context/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + arch_whitelist: x86 + platform_whitelist: qemu_x86 + tags: net diff --git a/tests/net/dhcpv4/testcase.ini b/tests/net/dhcpv4/testcase.ini deleted file mode 100644 index e57c836f927e5..0000000000000 --- a/tests/net/dhcpv4/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net -arch_whitelist = x86 -platform_exclude = quark_d2000_crb diff --git a/tests/net/dhcpv4/testcase.yaml b/tests/net/dhcpv4/testcase.yaml new file mode 100644 index 0000000000000..d78b4a4916fd6 --- /dev/null +++ b/tests/net/dhcpv4/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + arch_whitelist: x86 + platform_exclude: quark_d2000_crb + tags: net diff --git a/tests/net/icmpv6/testcase.ini b/tests/net/icmpv6/testcase.ini deleted file mode 100644 index 2b07c158c84fc..0000000000000 --- a/tests/net/icmpv6/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net -arch_whitelist = x86 -platform_whitelist = qemu_x86 diff --git a/tests/net/icmpv6/testcase.yaml b/tests/net/icmpv6/testcase.yaml new file mode 100644 index 0000000000000..90c668c61079b --- /dev/null +++ b/tests/net/icmpv6/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + arch_whitelist: x86 + platform_whitelist: qemu_x86 + tags: net diff --git a/tests/net/ieee802154/crypto/testcase.ini b/tests/net/ieee802154/crypto/testcase.ini deleted file mode 100644 index aa611c1ff242f..0000000000000 --- a/tests/net/ieee802154/crypto/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -tags = net -build_only = true -arch_whitelist = x86 -platform_whitelist = quark_se_c1000_devboard \ No newline at end of file diff --git a/tests/net/ieee802154/crypto/testcase.yaml b/tests/net/ieee802154/crypto/testcase.yaml new file mode 100644 index 0000000000000..debd26137285f --- /dev/null +++ b/tests/net/ieee802154/crypto/testcase.yaml @@ -0,0 +1,6 @@ +tests: +- test: + arch_whitelist: x86 + build_only: true + platform_whitelist: quark_se_c1000_devboard + tags: net diff --git a/tests/net/ieee802154/fragment/testcase.ini b/tests/net/ieee802154/fragment/testcase.ini deleted file mode 100644 index b418047188604..0000000000000 --- a/tests/net/ieee802154/fragment/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net -arch_whitelist = x86 -platform_exclude = quark_d2000_crb # not enough RAM diff --git a/tests/net/ieee802154/fragment/testcase.yaml b/tests/net/ieee802154/fragment/testcase.yaml new file mode 100644 index 0000000000000..d78b4a4916fd6 --- /dev/null +++ b/tests/net/ieee802154/fragment/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + arch_whitelist: x86 + platform_exclude: quark_d2000_crb + tags: net diff --git a/tests/net/ieee802154/l2/testcase.ini b/tests/net/ieee802154/l2/testcase.ini deleted file mode 100644 index 2b07c158c84fc..0000000000000 --- a/tests/net/ieee802154/l2/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net -arch_whitelist = x86 -platform_whitelist = qemu_x86 diff --git a/tests/net/ieee802154/l2/testcase.yaml b/tests/net/ieee802154/l2/testcase.yaml new file mode 100644 index 0000000000000..90c668c61079b --- /dev/null +++ b/tests/net/ieee802154/l2/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + arch_whitelist: x86 + platform_whitelist: qemu_x86 + tags: net diff --git a/tests/net/iface/testcase.ini b/tests/net/iface/testcase.ini deleted file mode 100644 index 2b07c158c84fc..0000000000000 --- a/tests/net/iface/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net -arch_whitelist = x86 -platform_whitelist = qemu_x86 diff --git a/tests/net/iface/testcase.yaml b/tests/net/iface/testcase.yaml new file mode 100644 index 0000000000000..90c668c61079b --- /dev/null +++ b/tests/net/iface/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + arch_whitelist: x86 + platform_whitelist: qemu_x86 + tags: net diff --git a/tests/net/ip-addr/testcase.ini b/tests/net/ip-addr/testcase.ini deleted file mode 100644 index 2b07c158c84fc..0000000000000 --- a/tests/net/ip-addr/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net -arch_whitelist = x86 -platform_whitelist = qemu_x86 diff --git a/tests/net/ip-addr/testcase.yaml b/tests/net/ip-addr/testcase.yaml new file mode 100644 index 0000000000000..90c668c61079b --- /dev/null +++ b/tests/net/ip-addr/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + arch_whitelist: x86 + platform_whitelist: qemu_x86 + tags: net diff --git a/tests/net/ipv6/testcase.ini b/tests/net/ipv6/testcase.ini deleted file mode 100644 index 2eed6cd48ad4d..0000000000000 --- a/tests/net/ipv6/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -tags = net -build_only = true -arch_whitelist = x86 -platform_exclude = quark_d2000_crb diff --git a/tests/net/ipv6/testcase.yaml b/tests/net/ipv6/testcase.yaml new file mode 100644 index 0000000000000..9ef2fea5b780a --- /dev/null +++ b/tests/net/ipv6/testcase.yaml @@ -0,0 +1,6 @@ +tests: +- test: + arch_whitelist: x86 + build_only: true + platform_exclude: quark_d2000_crb + tags: net diff --git a/tests/net/ipv6_fragment/testcase.ini b/tests/net/ipv6_fragment/testcase.ini deleted file mode 100644 index 2b07c158c84fc..0000000000000 --- a/tests/net/ipv6_fragment/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net -arch_whitelist = x86 -platform_whitelist = qemu_x86 diff --git a/tests/net/lib/dns_packet/testcase.ini b/tests/net/lib/dns_packet/testcase.ini deleted file mode 100644 index e714768c41406..0000000000000 --- a/tests/net/lib/dns_packet/testcase.ini +++ /dev/null @@ -1,7 +0,0 @@ -[test] -tags = dns -build_only = false -platform_whitelist = qemu_x86 arduino_101 quark_se_c1000_devboard frdm_k64f -timeout = 200 -slow = True - diff --git a/tests/net/lib/dns_packet/testcase.yaml b/tests/net/lib/dns_packet/testcase.yaml new file mode 100644 index 0000000000000..6d206b3616164 --- /dev/null +++ b/tests/net/lib/dns_packet/testcase.yaml @@ -0,0 +1,7 @@ +tests: +- test: + build_only: false + platform_whitelist: qemu_x86 arduino_101 quark_se_c1000_devboard frdm_k64f + slow: true + tags: dns + timeout: 200 diff --git a/tests/net/lib/dns_resolve/testcase.ini b/tests/net/lib/dns_resolve/testcase.ini deleted file mode 100644 index fcccbbbee4eef..0000000000000 --- a/tests/net/lib/dns_resolve/testcase.ini +++ /dev/null @@ -1,6 +0,0 @@ -[test] -tags = dns net -build_only = false -platform_whitelist = qemu_x86 -timeout = 600 -slow = True diff --git a/tests/net/lib/dns_resolve/testcase.yaml b/tests/net/lib/dns_resolve/testcase.yaml new file mode 100644 index 0000000000000..948b5ddc5b7a4 --- /dev/null +++ b/tests/net/lib/dns_resolve/testcase.yaml @@ -0,0 +1,7 @@ +tests: +- test: + build_only: false + platform_whitelist: qemu_x86 + slow: true + tags: dns net + timeout: 600 diff --git a/tests/net/lib/http_header_fields/testcase.ini b/tests/net/lib/http_header_fields/testcase.ini deleted file mode 100644 index 2c8cfec66606e..0000000000000 --- a/tests/net/lib/http_header_fields/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = http -build_only = false -platform_whitelist = qemu_x86 arduino_101 quark_se_c1000_devboard frdm_k64f diff --git a/tests/net/lib/http_header_fields/testcase.yaml b/tests/net/lib/http_header_fields/testcase.yaml new file mode 100644 index 0000000000000..a48cc94f4bfdf --- /dev/null +++ b/tests/net/lib/http_header_fields/testcase.yaml @@ -0,0 +1,6 @@ +tests: +- test: + build_only: false + platform_whitelist: qemu_x86 arduino_101 quark_se_c1000_devboard + frdm_k64f + tags: http diff --git a/tests/net/lib/mqtt_packet/testcase.ini b/tests/net/lib/mqtt_packet/testcase.ini deleted file mode 100644 index 96880b93ff0fd..0000000000000 --- a/tests/net/lib/mqtt_packet/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = mqtt -build_only = false -platform_whitelist = qemu_x86 arduino_101 quark_se_c1000_devboard frdm_k64f diff --git a/tests/net/lib/mqtt_packet/testcase.yaml b/tests/net/lib/mqtt_packet/testcase.yaml new file mode 100644 index 0000000000000..d922c044acfde --- /dev/null +++ b/tests/net/lib/mqtt_packet/testcase.yaml @@ -0,0 +1,6 @@ +tests: +- test: + build_only: false + platform_whitelist: qemu_x86 arduino_101 quark_se_c1000_devboard + frdm_k64f + tags: mqtt diff --git a/tests/net/lib/mqtt_publisher/testcase.ini b/tests/net/lib/mqtt_publisher/testcase.ini deleted file mode 100644 index 2404983754154..0000000000000 --- a/tests/net/lib/mqtt_publisher/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net mqtt -build_only = true -platform_whitelist = frdm_k64f qemu_x86 diff --git a/tests/net/lib/mqtt_publisher/testcase.yaml b/tests/net/lib/mqtt_publisher/testcase.yaml new file mode 100644 index 0000000000000..67518e59e5e64 --- /dev/null +++ b/tests/net/lib/mqtt_publisher/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + build_only: true + platform_whitelist: frdm_k64f qemu_x86 + tags: net mqtt diff --git a/tests/net/lib/mqtt_subscriber/testcase.ini b/tests/net/lib/mqtt_subscriber/testcase.ini deleted file mode 100644 index 2404983754154..0000000000000 --- a/tests/net/lib/mqtt_subscriber/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net mqtt -build_only = true -platform_whitelist = frdm_k64f qemu_x86 diff --git a/tests/net/lib/mqtt_subscriber/testcase.yaml b/tests/net/lib/mqtt_subscriber/testcase.yaml new file mode 100644 index 0000000000000..67518e59e5e64 --- /dev/null +++ b/tests/net/lib/mqtt_subscriber/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + build_only: true + platform_whitelist: frdm_k64f qemu_x86 + tags: net mqtt diff --git a/tests/net/lib/zoap/testcase.ini b/tests/net/lib/zoap/testcase.ini deleted file mode 100644 index 2b07c158c84fc..0000000000000 --- a/tests/net/lib/zoap/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net -arch_whitelist = x86 -platform_whitelist = qemu_x86 diff --git a/tests/net/lib/zoap/testcase.yaml b/tests/net/lib/zoap/testcase.yaml new file mode 100644 index 0000000000000..90c668c61079b --- /dev/null +++ b/tests/net/lib/zoap/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + arch_whitelist: x86 + platform_whitelist: qemu_x86 + tags: net diff --git a/tests/net/mgmt/testcase.ini b/tests/net/mgmt/testcase.ini deleted file mode 100644 index 2b07c158c84fc..0000000000000 --- a/tests/net/mgmt/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net -arch_whitelist = x86 -platform_whitelist = qemu_x86 diff --git a/tests/net/mgmt/testcase.yaml b/tests/net/mgmt/testcase.yaml new file mode 100644 index 0000000000000..90c668c61079b --- /dev/null +++ b/tests/net/mgmt/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + arch_whitelist: x86 + platform_whitelist: qemu_x86 + tags: net diff --git a/tests/net/mld/testcase.ini b/tests/net/mld/testcase.ini deleted file mode 100644 index 2eed6cd48ad4d..0000000000000 --- a/tests/net/mld/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -tags = net -build_only = true -arch_whitelist = x86 -platform_exclude = quark_d2000_crb diff --git a/tests/net/mld/testcase.yaml b/tests/net/mld/testcase.yaml new file mode 100644 index 0000000000000..9ef2fea5b780a --- /dev/null +++ b/tests/net/mld/testcase.yaml @@ -0,0 +1,6 @@ +tests: +- test: + arch_whitelist: x86 + build_only: true + platform_exclude: quark_d2000_crb + tags: net diff --git a/tests/net/neighbor/testcase.ini b/tests/net/neighbor/testcase.ini deleted file mode 100644 index 2b07c158c84fc..0000000000000 --- a/tests/net/neighbor/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net -arch_whitelist = x86 -platform_whitelist = qemu_x86 diff --git a/tests/net/neighbor/testcase.yaml b/tests/net/neighbor/testcase.yaml new file mode 100644 index 0000000000000..90c668c61079b --- /dev/null +++ b/tests/net/neighbor/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + arch_whitelist: x86 + platform_whitelist: qemu_x86 + tags: net diff --git a/tests/net/net_pkt/testcase.ini b/tests/net/net_pkt/testcase.ini deleted file mode 100644 index 2b07c158c84fc..0000000000000 --- a/tests/net/net_pkt/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net -arch_whitelist = x86 -platform_whitelist = qemu_x86 diff --git a/tests/net/net_pkt/testcase.yaml b/tests/net/net_pkt/testcase.yaml new file mode 100644 index 0000000000000..90c668c61079b --- /dev/null +++ b/tests/net/net_pkt/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + arch_whitelist: x86 + platform_whitelist: qemu_x86 + tags: net diff --git a/tests/net/route/testcase.ini b/tests/net/route/testcase.ini deleted file mode 100644 index 2b07c158c84fc..0000000000000 --- a/tests/net/route/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net -arch_whitelist = x86 -platform_whitelist = qemu_x86 diff --git a/tests/net/route/testcase.yaml b/tests/net/route/testcase.yaml new file mode 100644 index 0000000000000..90c668c61079b --- /dev/null +++ b/tests/net/route/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + arch_whitelist: x86 + platform_whitelist: qemu_x86 + tags: net diff --git a/tests/net/rpl/testcase.ini b/tests/net/rpl/testcase.ini deleted file mode 100644 index 2b07c158c84fc..0000000000000 --- a/tests/net/rpl/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net -arch_whitelist = x86 -platform_whitelist = qemu_x86 diff --git a/tests/net/rpl/testcase.yaml b/tests/net/rpl/testcase.yaml new file mode 100644 index 0000000000000..90c668c61079b --- /dev/null +++ b/tests/net/rpl/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + arch_whitelist: x86 + platform_whitelist: qemu_x86 + tags: net diff --git a/tests/net/tcp/testcase.ini b/tests/net/tcp/testcase.ini deleted file mode 100644 index 2eed6cd48ad4d..0000000000000 --- a/tests/net/tcp/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -tags = net -build_only = true -arch_whitelist = x86 -platform_exclude = quark_d2000_crb diff --git a/tests/net/tcp/testcase.yaml b/tests/net/tcp/testcase.yaml new file mode 100644 index 0000000000000..9ef2fea5b780a --- /dev/null +++ b/tests/net/tcp/testcase.yaml @@ -0,0 +1,6 @@ +tests: +- test: + arch_whitelist: x86 + build_only: true + platform_exclude: quark_d2000_crb + tags: net diff --git a/tests/net/trickle/testcase.ini b/tests/net/trickle/testcase.ini deleted file mode 100644 index 2b07c158c84fc..0000000000000 --- a/tests/net/trickle/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net -arch_whitelist = x86 -platform_whitelist = qemu_x86 diff --git a/tests/net/trickle/testcase.yaml b/tests/net/trickle/testcase.yaml new file mode 100644 index 0000000000000..90c668c61079b --- /dev/null +++ b/tests/net/trickle/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + arch_whitelist: x86 + platform_whitelist: qemu_x86 + tags: net diff --git a/tests/net/udp/testcase.ini b/tests/net/udp/testcase.ini deleted file mode 100644 index 2b07c158c84fc..0000000000000 --- a/tests/net/udp/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net -arch_whitelist = x86 -platform_whitelist = qemu_x86 diff --git a/tests/net/udp/testcase.yaml b/tests/net/udp/testcase.yaml new file mode 100644 index 0000000000000..90c668c61079b --- /dev/null +++ b/tests/net/udp/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + arch_whitelist: x86 + platform_whitelist: qemu_x86 + tags: net diff --git a/tests/net/utils/testcase.ini b/tests/net/utils/testcase.ini deleted file mode 100644 index 2b07c158c84fc..0000000000000 --- a/tests/net/utils/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = net -arch_whitelist = x86 -platform_whitelist = qemu_x86 diff --git a/tests/net/utils/testcase.yaml b/tests/net/utils/testcase.yaml new file mode 100644 index 0000000000000..90c668c61079b --- /dev/null +++ b/tests/net/utils/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + arch_whitelist: x86 + platform_whitelist: qemu_x86 + tags: net diff --git a/tests/power/power_states/testcase.ini b/tests/power/power_states/testcase.ini deleted file mode 100644 index e04645fbde3a5..0000000000000 --- a/tests/power/power_states/testcase.ini +++ /dev/null @@ -1,12 +0,0 @@ -[test] -build_only = true -tags = samples power -platform_exclude = tinytile panther -filter = (CONFIG_SOC_QUARK_SE_C1000 or CONFIG_SOC_QUARK_SE_C1000_SS) - -[test_socwatch] -extra_args = CONF_FILE="prj_socwatch.conf" -build_only = true -tags = samples power -platform_exclude = tinytile panther -filter = CONFIG_SOC_QUARK_SE_C1000 diff --git a/tests/power/power_states/testcase.yaml b/tests/power/power_states/testcase.yaml new file mode 100644 index 0000000000000..9b84cc848d9c6 --- /dev/null +++ b/tests/power/power_states/testcase.yaml @@ -0,0 +1,12 @@ +tests: +- test: + build_only: true + filter: (CONFIG_SOC_QUARK_SE_C1000 or CONFIG_SOC_QUARK_SE_C1000_SS) + platform_exclude: tinytile panther + tags: samples power +- test_socwatch: + build_only: true + extra_args: CONF_FILE="prj_socwatch.conf" + filter: CONFIG_SOC_QUARK_SE_C1000 + platform_exclude: tinytile panther + tags: samples power diff --git a/tests/shell/testcase.ini b/tests/shell/testcase.ini deleted file mode 100644 index 2ddf87c6e93b2..0000000000000 --- a/tests/shell/testcase.ini +++ /dev/null @@ -1,3 +0,0 @@ -[test] -tags = shell -platform_whitelist = qemu_x86 diff --git a/tests/shell/testcase.yaml b/tests/shell/testcase.yaml new file mode 100644 index 0000000000000..d41955356f905 --- /dev/null +++ b/tests/shell/testcase.yaml @@ -0,0 +1,4 @@ +tests: +- test: + platform_whitelist: qemu_x86 + tags: shell diff --git a/tests/subsys/debug/gdb_server/testcase.ini b/tests/subsys/debug/gdb_server/testcase.ini deleted file mode 100644 index d6ae26f6891a1..0000000000000 --- a/tests/subsys/debug/gdb_server/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -build_only = true -tags = apps -platform_whitelist = qemu_x86 diff --git a/tests/subsys/debug/gdb_server/testcase.yaml b/tests/subsys/debug/gdb_server/testcase.yaml new file mode 100644 index 0000000000000..a861b4c6573c5 --- /dev/null +++ b/tests/subsys/debug/gdb_server/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + build_only: true + platform_whitelist: qemu_x86 + tags: apps diff --git a/tests/subsys/fs/fat_fs_api/testcase.ini b/tests/subsys/fs/fat_fs_api/testcase.ini deleted file mode 100644 index 283a874eb782e..0000000000000 --- a/tests/subsys/fs/fat_fs_api/testcase.ini +++ /dev/null @@ -1,5 +0,0 @@ -[test] -tags = fs -build_only = true -arch_whitelist = x86 -platform_whitelist = arduino_101 diff --git a/tests/subsys/fs/fat_fs_api/testcase.yaml b/tests/subsys/fs/fat_fs_api/testcase.yaml new file mode 100644 index 0000000000000..2708d892ce5d1 --- /dev/null +++ b/tests/subsys/fs/fat_fs_api/testcase.yaml @@ -0,0 +1,6 @@ +tests: +- test: + arch_whitelist: x86 + build_only: true + platform_whitelist: arduino_101 + tags: fs diff --git a/tests/unit/bluetooth/at/testcase.ini b/tests/unit/bluetooth/at/testcase.ini deleted file mode 100644 index c1a502f4f2a60..0000000000000 --- a/tests/unit/bluetooth/at/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -tags = bluetooth -build_only = true -filter = ( CONFIG_SRAM_SIZE > 16 or CONFIG_DCCM_SIZE > 16 or CONFIG_RAM_SIZE > 16 ) diff --git a/tests/unit/bluetooth/at/testcase.yaml b/tests/unit/bluetooth/at/testcase.yaml new file mode 100644 index 0000000000000..4b8fa653133ca --- /dev/null +++ b/tests/unit/bluetooth/at/testcase.yaml @@ -0,0 +1,6 @@ +tests: +- test: + build_only: true + min_ram: 16 + tags: bluetooth + platform_whitelist: qemu_x86_iamcu qemu_cortex_m3 diff --git a/tests/unit/drivers/crc/testcase.ini b/tests/unit/drivers/crc/testcase.ini deleted file mode 100644 index e935e4171ae2f..0000000000000 --- a/tests/unit/drivers/crc/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -type = unit -tags = net crc -timeout = 5 diff --git a/tests/unit/drivers/crc/testcase.yaml b/tests/unit/drivers/crc/testcase.yaml new file mode 100644 index 0000000000000..857373a4daf39 --- /dev/null +++ b/tests/unit/drivers/crc/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + tags: net crc + timeout: 5 + type: unit diff --git a/tests/unit/net/buf/testcase.ini b/tests/unit/net/buf/testcase.ini deleted file mode 100644 index 28cbf8c230ae7..0000000000000 --- a/tests/unit/net/buf/testcase.ini +++ /dev/null @@ -1,4 +0,0 @@ -[test] -type = unit -tags = buf -timeout = 5 diff --git a/tests/unit/net/buf/testcase.yaml b/tests/unit/net/buf/testcase.yaml new file mode 100644 index 0000000000000..c36ee9030a7dd --- /dev/null +++ b/tests/unit/net/buf/testcase.yaml @@ -0,0 +1,5 @@ +tests: +- test: + tags: buf + timeout: 5 + type: unit diff --git a/tests/ztest/test/base/testcase.ini b/tests/ztest/test/base/testcase.ini deleted file mode 100644 index fd3487b4e3637..0000000000000 --- a/tests/ztest/test/base/testcase.ini +++ /dev/null @@ -1,15 +0,0 @@ -[test_verbose_0] -tags = test_framework -extra_args = CONF_FILE=prj_verbose_0.conf - -[test_verbose_1] -tags = test_framework -extra_args = CONF_FILE=prj_verbose_1.conf - -[test_verbose_2] -tags = test_framework -extra_args = CONF_FILE=prj_verbose_2.conf - -[test] -type = unit -tags = test_framework diff --git a/tests/ztest/test/base/testcase.yaml b/tests/ztest/test/base/testcase.yaml new file mode 100644 index 0000000000000..ab03f990f45ff --- /dev/null +++ b/tests/ztest/test/base/testcase.yaml @@ -0,0 +1,13 @@ +tests: +- test_verbose_0: + extra_args: CONF_FILE=prj_verbose_0.conf + tags: test_framework +- test_verbose_1: + extra_args: CONF_FILE=prj_verbose_1.conf + tags: test_framework +- test_verbose_2: + extra_args: CONF_FILE=prj_verbose_2.conf + tags: test_framework +- test: + tags: test_framework + type: unit diff --git a/tests/ztest/test/mock/testcase.ini b/tests/ztest/test/mock/testcase.ini deleted file mode 100644 index 46ea30220b6f0..0000000000000 --- a/tests/ztest/test/mock/testcase.ini +++ /dev/null @@ -1,8 +0,0 @@ -[test] -tags = test_framework -# sys_bitfield_*() still not implemented for ARM, ZEP-82 -arch_exclude = arm - -[test_unit] -type = unit -tags = test_framework diff --git a/tests/ztest/test/mock/testcase.yaml b/tests/ztest/test/mock/testcase.yaml new file mode 100644 index 0000000000000..449549f1fabf9 --- /dev/null +++ b/tests/ztest/test/mock/testcase.yaml @@ -0,0 +1,7 @@ +tests: +- test: + arch_exclude: arm + tags: test_framework +- test_unit: + tags: test_framework + type: unit