tests: fix test identifiers

The seasonal overhaul of test identifiers aligning the terms being used
and creating a structure. This is hopefully the last time we do this,
plan is to document the identifiers and enforce syntax.

The end-goal is to be able to generate a testsuite description from the
existing tests and sync it frequently with the testsuite in Testrail.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-12-01 12:29:43 -05:00
parent 9a06428244
commit 70758c4374
133 changed files with 203 additions and 206 deletions

View file

@ -2,7 +2,7 @@ sample:
description: Code data relocation Sample description: Code data relocation Sample
name: code relocation name: code relocation
tests: tests:
sample.app_dev.code_relocation: sample.application_development.code_relocation:
harness: console harness: console
harness_config: harness_config:
type: one_line type: one_line

View file

@ -1,7 +1,7 @@
sample: sample:
name: Blink LED (PWM based) name: Blink LED (PWM based)
tests: tests:
sample.blink_led: sample.basic.blink_led:
# FIXME: We should remove those and just rely on depends_on # FIXME: We should remove those and just rely on depends_on
filter: dt_alias_exists("pwm-led0") filter: dt_alias_exists("pwm-led0")
tags: drivers pwm tags: drivers pwm

View file

@ -1,7 +1,7 @@
sample: sample:
name: Blinky Sample name: Blinky Sample
tests: tests:
sample.blinky: sample.basic.blinky:
tags: LED gpio tags: LED gpio
filter: dt_compat_enabled_with_alias("gpio-leds", "led0") filter: dt_compat_enabled_with_alias("gpio-leds", "led0")
depends_on: gpio depends_on: gpio

View file

@ -1,7 +1,7 @@
sample: sample:
name: Button Sample name: Button Sample
tests: tests:
sample.button: sample.basic.button:
tags: button gpio tags: button gpio
filter: dt_compat_enabled_with_alias("gpio-keys", "sw0") filter: dt_compat_enabled_with_alias("gpio-keys", "sw0")
depends_on: gpio depends_on: gpio

View file

@ -1,7 +1,7 @@
sample: sample:
name: Fade LED name: Fade LED
tests: tests:
sample.fade_led: sample.basic.fade_led:
tags: drivers pwm tags: drivers pwm
depends_on: pwm depends_on: pwm
harness: led harness: led

View file

@ -1,7 +1,7 @@
sample: sample:
name: RGB LED name: RGB LED
tests: tests:
sample.rgb_led: sample.basic.rgb_led:
filter: dt_alias_exists("red-pwm-led") and filter: dt_alias_exists("red-pwm-led") and
dt_alias_exists("green-pwm-led") and dt_alias_exists("green-pwm-led") and
dt_alias_exists("blue-pwm-led") dt_alias_exists("blue-pwm-led")

View file

@ -1,7 +1,7 @@
sample: sample:
name: Servo Motor using PWM name: Servo Motor using PWM
tests: tests:
sample.servo_motor: sample.basic.servo_motor:
tags: drivers pwm tags: drivers pwm
depends_on: pwm depends_on: pwm
harness: motor harness: motor

View file

@ -3,7 +3,7 @@ sample:
using K_THREAD_DEFINE using K_THREAD_DEFINE
name: Basic Thread Demo name: Basic Thread Demo
tests: tests:
sample.threads: sample.basic.threads:
tags: kernel threads gpio tags: kernel threads gpio
filter: dt_compat_enabled_with_alias("gpio-leds", "led0") and filter: dt_compat_enabled_with_alias("gpio-leds", "led0") and
dt_compat_enabled_with_alias("gpio-leds", "led1") dt_compat_enabled_with_alias("gpio-leds", "led1")

View file

@ -3,7 +3,7 @@ sample:
Designware ARC SecureShiled. Designware ARC SecureShiled.
name: Designware ARC Secure monitor name: Designware ARC Secure monitor
tests: tests:
sample.arc_secure_services: sample.board.arc_secure_services:
platform_whitelist: nsim_sem em_starterkit_em7d_secure platform_whitelist: nsim_sem em_starterkit_em7d_secure
tags: secure tags: secure
harness: console harness: console

View file

@ -1,7 +1,7 @@
sample: sample:
name: Syncronisation (C++) name: Syncronisation (C++)
tests: tests:
sample.cpp_syncronisation: sample.cpp.synchronization:
tags: cpp tags: cpp
toolchain_exclude: issm toolchain_exclude: issm
arch_exclude: posix arch_exclude: posix

View file

@ -1,7 +1,7 @@
sample: sample:
name: Counter RTC Driver Sample name: Counter RTC Driver Sample
tests: tests:
sample.driver.counter.alarm: sample.drivers.counter.alarm:
tags: drivers tags: drivers
harness: console harness: console
platform_whitelist: nucleo_f746zg nrf51_pca10028 nrf52_pca10040 platform_whitelist: nucleo_f746zg nrf51_pca10028 nrf52_pca10040

View file

@ -8,7 +8,7 @@ common:
min_ram: 20 min_ram: 20
arch_exclude: xtensa arch_exclude: xtensa
tests: tests:
sample.driver.crypto.mbedtls: sample.drivers.crypto.mbedtls:
min_flash: 34 min_flash: 34
extra_args: CONF_FILE=prj_mtls_shim.conf extra_args: CONF_FILE=prj_mtls_shim.conf
harness_config: harness_config:
@ -18,7 +18,7 @@ tests:
- ".*main: CBC Mode" - ".*main: CBC Mode"
- ".*main: CTR Mode" - ".*main: CTR Mode"
- ".*main: CCM Mode" - ".*main: CCM Mode"
sample.driver.crypto.mbedtls.micro: sample.drivers.crypto.mbedtls.micro:
tags: crypto tags: crypto
harness_config: harness_config:
type: multi_line type: multi_line

View file

@ -1,7 +1,7 @@
sample: sample:
name: TI INA219 power monitor name: TI INA219 power monitor
tests: tests:
sample.driver.current_sensing: sample.drivers.current_sensing:
tags: sensors tags: sensors
depends_on: i2c depends_on: i2c
harness: sensor harness: sensor

View file

@ -1,7 +1,7 @@
sample: sample:
name: Sample for the entropy gathering driver name: Sample for the entropy gathering driver
tests: tests:
sample.driver.entropy: sample.drivers.entropy:
tags: crypto tags: crypto
filter: CONFIG_ENTROPY_HAS_DRIVER filter: CONFIG_ENTROPY_HAS_DRIVER
harness: console harness: console

View file

@ -1,7 +1,7 @@
sample: sample:
name: eSPI driver sample name: eSPI driver sample
tests: tests:
sample.driver.espi: sample.drivers.espi:
tags: drivers tags: drivers
harness: console harness: console
harness_config: harness_config:

View file

@ -3,7 +3,7 @@ sample:
behavior behavior
name: Flash shell name: Flash shell
tests: tests:
sample.driver.flash_shell: sample.drivers.flash.shell:
platform_whitelist: 96b_carbon frdm_k64f frdm_kw41z frdm_kl25z nucleo_f746zg platform_whitelist: 96b_carbon frdm_k64f frdm_kw41z frdm_kl25z nucleo_f746zg
tags: flash shell tags: flash shell
harness: keyboard harness: keyboard

View file

@ -2,7 +2,7 @@ sample:
description: Demonstration of the HT16K33 LED driver with keyscan description: Demonstration of the HT16K33 LED driver with keyscan
name: HT16K33 sample name: HT16K33 sample
tests: tests:
sample.driver.ht16k33: sample.drivers.ht16k33:
platform_whitelist: nrf52840_pca10056 platform_whitelist: nrf52840_pca10056
harness: TBD harness: TBD
tags: LED tags: LED

View file

@ -1,7 +1,7 @@
sample: sample:
name: Demo for Fujitsu MB85RC256V FRAM (I2C) name: Demo for Fujitsu MB85RC256V FRAM (I2C)
tests: tests:
sample.driver.i2c_fujitsu_fram: sample.drivers.i2c.fujitsu_fram:
tags: drivers tags: drivers
depends_on: i2c depends_on: i2c
filter: dt_alias_exists("i2c-0") filter: dt_alias_exists("i2c-0")

View file

@ -1,7 +1,7 @@
sample: sample:
name: I2C scanner name: I2C scanner
tests: tests:
sample.driver.i2c_scanner: sample.drivers.i2c_scanner:
platform_whitelist: nrf52840_blip nrf51_ble400 platform_whitelist: nrf52840_blip nrf51_ble400
tags: drivers tags: drivers
depends_on: i2c depends_on: i2c

View file

@ -1,7 +1,7 @@
sample: sample:
name: KSCAN driver sample name: KSCAN driver sample
tests: tests:
sample.driver.kscan: sample.drivers.kscan:
tags: drivers tags: drivers
harness: console harness: console
harness_config: harness_config:

View file

@ -1,7 +1,7 @@
sample: sample:
name: Display text strings on HD44780 based 20x4 LCD controller name: Display text strings on HD44780 based 20x4 LCD controller
tests: tests:
sample.driver.lcd_hd44780: sample.drivers.lcd.hd44780:
platform_whitelist: arduino_due platform_whitelist: arduino_due
tags: display tags: display
harness: display harness: display

View file

@ -2,7 +2,7 @@ sample:
description: Demonstration of the APA102 LED strip driver description: Demonstration of the APA102 LED strip driver
name: APA102 sample name: APA102 sample
tests: tests:
sample.driver.led_apa102: sample.drivers.led.apa102:
platform_whitelist: nucleo_l432kc platform_whitelist: nucleo_l432kc
tags: LED tags: LED
depends_on: spi depends_on: spi

View file

@ -1,7 +1,7 @@
sample: sample:
name: Utilize APA102C LED name: Utilize APA102C LED
tests: tests:
sample.driver.led_apa102c_bitbang: sample.drivers.led.apa102c_bitbang:
tags: LED tags: LED
filter: dt_alias_exists("gpio-0") filter: dt_alias_exists("gpio-0")
depends_on: gpio depends_on: gpio

View file

@ -2,6 +2,6 @@ sample:
description: Demonstration of the LP3943 LED driver description: Demonstration of the LP3943 LED driver
name: LP3943 sample name: LP3943 sample
tests: tests:
sample.driver.led_lp3943: sample.drivers.led.lp3943:
platform_whitelist: 96b_neonkey 96b_argonkey platform_whitelist: 96b_neonkey 96b_argonkey
tags: LED tags: LED

View file

@ -2,7 +2,7 @@ sample:
description: Demonstration of the LP5562 LED driver description: Demonstration of the LP5562 LED driver
name: LP5562 sample name: LP5562 sample
tests: tests:
sample.driver.led_lp5562: sample.drivers.led.lp5562:
platform_whitelist: nrf52840_pca10056 platform_whitelist: nrf52840_pca10056
tags: led tags: led
harness: TBD harness: TBD

View file

@ -2,6 +2,6 @@ sample:
description: Demonstration of the lpd880x LED driver description: Demonstration of the lpd880x LED driver
name: LPD880x sample name: LPD880x sample
tests: tests:
sample.driver.led_lpd8806: sample.drivers.led.lpd8806:
platform_whitelist: 96b_carbon platform_whitelist: 96b_carbon
tags: LED tags: LED

View file

@ -2,6 +2,6 @@ sample:
description: Demonstration of the PCA9633 LED driver description: Demonstration of the PCA9633 LED driver
name: PCA9633 sample name: PCA9633 sample
tests: tests:
sample.driver.led_pca9633: sample.drivers.led.pca9633:
platform_whitelist: stm32373c_eval platform_whitelist: stm32373c_eval
tags: LED tags: LED

View file

@ -2,6 +2,6 @@ sample:
description: Demonstration of the WS2812 LED driver description: Demonstration of the WS2812 LED driver
name: WS2812 sample name: WS2812 sample
tests: tests:
sample.driver.led_ws2812: sample.drivers.led.ws2812:
platform_whitelist: 96b_carbon bbc_microbit platform_whitelist: 96b_carbon bbc_microbit
tags: LED tags: LED

View file

@ -1,7 +1,7 @@
sample: sample:
name: PS2 driver sample name: PS2 driver sample
tests: tests:
sample.driver.espi: sample.drivers.espi.ps2:
tags: drivers tags: drivers
harness: console harness: console
harness_config: harness_config:

View file

@ -1,6 +1,6 @@
sample: sample:
name: SoC Flash on NRF52 name: SoC Flash on NRF52
tests: tests:
sample.driver.soc_flash_nrf: sample.drivers.flash.soc_flash_nrf::
platform_whitelist: nrf52_pca10040 nrf9160_pca10090 nrf9160_pca10090ns platform_whitelist: nrf52_pca10040 nrf9160_pca10090 nrf9160_pca10090ns
tags: flash nrf52 tags: flash nrf52

View file

@ -1,7 +1,7 @@
sample: sample:
name: SPI Flash Sample name: SPI Flash Sample
tests: tests:
sample.driver.spi_flash: sample.drivers.spi.flash:
tags: spi flash tags: spi flash
filter: dt_compat_enabled("jedec,spi-nor") filter: dt_compat_enabled("jedec,spi-nor")
harness: console harness: console
@ -16,7 +16,7 @@ tests:
- "Data read 55 aa" - "Data read 55 aa"
- "Data read matches with data written. Good!!" - "Data read matches with data written. Good!!"
depends_on: spi depends_on: spi
sample.driver.spi_flash_dpd: sample.drivers.spi.flash_dpd:
tags: spi flash tags: spi flash
filter: dt_compat_enabled("jedec,spi-nor") filter: dt_compat_enabled("jedec,spi-nor")
build_only: true build_only: true

View file

@ -1,7 +1,7 @@
sample: sample:
name: SPI FRAM Module Sample name: SPI FRAM Module Sample
tests: tests:
sample.driver.spi_fujitsu_fram: sample.drivers.spi.fujitsu_fram:
tags: drivers fram tags: drivers fram
harness: fram harness: fram
depends_on: gpio spi depends_on: gpio spi

View file

@ -1,7 +1,7 @@
sample: sample:
name: Watchdog Driver Sample name: Watchdog Driver Sample
tests: tests:
sample.driver.watchdog: sample.drivers.watchdog:
tags: drivers tags: drivers
harness: console harness: console
harness_config: harness_config:
@ -14,7 +14,7 @@ tests:
- "Watchdog sample application" - "Watchdog sample application"
depends_on: watchdog depends_on: watchdog
platform_exclude: nucleo_l496zg nucleo_f401re platform_exclude: nucleo_l496zg nucleo_f401re
sample.driver.window_watchdog_nucleo_l496zg: sample.drivers.watchdog.nucleo_l496zg:
tags: drivers tags: drivers
harness: console harness: console
harness_config: harness_config:

View file

@ -10,5 +10,5 @@ common:
regex: regex:
- "Hello World! (.*)" - "Hello World! (.*)"
tests: tests:
sample.helloworld: sample.basic.helloworld:
tags: introduction tags: introduction

View file

@ -13,30 +13,30 @@ common:
- ".*THINKING.*" - ".*THINKING.*"
- ".*EATING.*" - ".*EATING.*"
tests: tests:
sample.philosopher: sample.kernel.philosopher:
tags: introduction tags: introduction
sample.philosopher.tracing: sample.kernel.philosopher.tracing:
min_ram: 32 min_ram: 32
extra_configs: extra_configs:
- CONFIG_SEGGER_SYSTEMVIEW=y - CONFIG_SEGGER_SYSTEMVIEW=y
sample.philosopher.same_prio: sample.kernel.philosopher.same_prio:
extra_args: "-DSAME_PRIO=1" extra_args: "-DSAME_PRIO=1"
sample.philosopher.static: sample.kernel.philosopher.static:
extra_args: "-DSTATIC_OBJS=1" extra_args: "-DSTATIC_OBJS=1"
sample.philosopher.semaphores: sample.kernel.philosopher.semaphores:
extra_args: "-DFORKS=SEMAPHORES" extra_args: "-DFORKS=SEMAPHORES"
sample.philosopher.stacks: sample.kernel.philosopher.stacks:
extra_args: "-DFORKS=STACKS" extra_args: "-DFORKS=STACKS"
sample.philosopher.fifos: sample.kernel.philosopher.fifos:
extra_args: "-DFORKS=FIFOS" extra_args: "-DFORKS=FIFOS"
sample.philosopher.lifos: sample.kernel.philosopher.lifos:
extra_args: "-DFORKS=LIFOS" extra_args: "-DFORKS=LIFOS"
sample.philosopher.preempt_only: sample.kernel.philosopher.preempt_only:
extra_configs: extra_configs:
- CONFIG_NUM_PREEMPT_PRIORITIES=6 - CONFIG_NUM_PREEMPT_PRIORITIES=6
- CONFIG_NUM_COOP_PRIORITIES=0 - CONFIG_NUM_COOP_PRIORITIES=0
- CONFIG_BT=n - CONFIG_BT=n
sample.philosopher.coop_only: sample.kernel.philosopher.coop_only:
extra_configs: extra_configs:
- CONFIG_NUM_PREEMPT_PRIORITIES=0 - CONFIG_NUM_PREEMPT_PRIORITIES=0
- CONFIG_NUM_COOP_PRIORITIES=6 - CONFIG_NUM_COOP_PRIORITIES=6

View file

@ -2,7 +2,7 @@ sample:
description: Demonstration of the AMS iAQ-core Digital VOC Sensor driver description: Demonstration of the AMS iAQ-core Digital VOC Sensor driver
name: iAQcore sample name: iAQcore sample
tests: tests:
sample.iAQcore: sample.sensor.iaqcore:
harness: sensor harness: sensor
tags: samples tags: samples
depends_on: i2c arduino_i2c depends_on: i2c arduino_i2c

View file

@ -1,7 +1,7 @@
sample: sample:
name: BME680 Sensor sample name: BME680 Sensor sample
tests: tests:
sample.bme680: sample.sensor.bme680:
harness: sensor harness: sensor
tags: samples sensor tags: samples sensor
depends_on: i2c bme680 depends_on: i2c bme680

View file

@ -2,7 +2,7 @@ sample:
description: Demonstration of the AMS Temperature and Humidity Sensor driver description: Demonstration of the AMS Temperature and Humidity Sensor driver
name: ENS210 sample name: ENS210 sample
tests: tests:
sample.ens210: sample.sensor.ens210:
harness: sensor harness: sensor
tags: samples tags: samples
depends_on: i2c arduino_i2c depends_on: i2c arduino_i2c

View file

@ -1,7 +1,7 @@
sample: sample:
name: USB HID accelerometer mouse sample name: USB HID accelerometer mouse sample
tests: tests:
sample.usb.hid-mouse: sample.sensor.usb.fxos8700-hid:
depends_on: usb_device depends_on: usb_device
platform_whitelist: frdm_k64f platform_whitelist: frdm_k64f
harness: usb harness: usb

View file

@ -1,7 +1,7 @@
sample: sample:
name: TI HDC Humidity/Temperature Sensor name: TI HDC Humidity/Temperature Sensor
tests: tests:
test_build: sample.sensor.ti_hdc:
harness: sensor harness: sensor
platform_whitelist: reel_board nucleo_l496zg platform_whitelist: reel_board nucleo_l496zg
tags: sensors tags: sensors

View file

@ -1,11 +1,6 @@
sample: sample:
name: TI TMP116 Sensor Sample name: TI TMP116 Sensor Sample
tests: tests:
test_build:
harness: sensor
platform_whitelist: nucleo_f401re
tags: sensors
depends_on: i2c
sample.sensor.tmp116: sample.sensor.tmp116:
harness: console harness: console
platform_whitelist: nucleo_f401re platform_whitelist: nucleo_f401re

View file

@ -1,7 +1,7 @@
sample: sample:
name: X-NUCLEO-IKS01A2 sensor shield name: X-NUCLEO-IKS01A2 sensor shield
tests: tests:
sample.shields.x_nucleo_iks01a2: sample.shields..x_nucleo_iks01a2:
harness: shield harness: shield
tags: shield tags: shield
depends_on: arduino_i2c arduino_gpio depends_on: arduino_i2c arduino_gpio

View file

@ -1,7 +1,7 @@
sample: sample:
name: X-NUCLEO-IKS01A3 sensor shield name: X-NUCLEO-IKS01A3 sensor shield
tests: tests:
sample.shield.x_nucleo_iks01a3: sample.shields.x_nucleo_iks01a3:
harness: shield harness: shield
tags: shield tags: shield
depends_on: arduino_i2c arduino_gpio depends_on: arduino_i2c arduino_gpio

View file

@ -3,7 +3,7 @@ sample:
common: common:
min_ram: 16 min_ram: 16
tests: tests:
sample.shield.x_nucleo_iks01a3: sample.shields.x_nucleo_iks01a3:
harness: shield harness: shield
tags: shield tags: shield
depends_on: arduino_i2c arduino_gpio depends_on: arduino_i2c arduino_gpio

View file

@ -13,6 +13,6 @@ common:
- "Pi value calculated by thread #[0-9]+: [0-9]+(.*)" - "Pi value calculated by thread #[0-9]+: [0-9]+(.*)"
- "All [0-9]+ threads executed by [0-9]+ cores in [0-9]+ msec(.*)" - "All [0-9]+ threads executed by [0-9]+ cores in [0-9]+ msec(.*)"
tests: tests:
sample.smp_pi: sample.smp.pi:
tags: introduction tags: introduction
platform_whitelist: nsim_hs_smp qemu_x86_64 platform_whitelist: nsim_hs_smp qemu_x86_64

View file

@ -1,7 +1,7 @@
sample: sample:
name: echo Sample name: echo Sample
tests: tests:
sample.subsys.console.echo: sample.console.echo:
filter: CONFIG_UART_CONSOLE and CONFIG_SERIAL_SUPPORT_INTERRUPT filter: CONFIG_UART_CONSOLE and CONFIG_SERIAL_SUPPORT_INTERRUPT
tags: console tags: console
harness: keyboard harness: keyboard

View file

@ -1,7 +1,7 @@
sample: sample:
name: getchar sample name: getchar sample
tests: tests:
sample.subsys.console.getchar: sample.console.getchar:
filter: CONFIG_UART_CONSOLE and CONFIG_SERIAL_SUPPORT_INTERRUPT filter: CONFIG_UART_CONSOLE and CONFIG_SERIAL_SUPPORT_INTERRUPT
tags: console tags: console
harness: keyboard harness: keyboard

View file

@ -1,7 +1,7 @@
sample: sample:
name: getline Sample name: getline Sample
tests: tests:
sample.subsys.console.getline: sample.console.getline:
filter: CONFIG_UART_CONSOLE and CONFIG_SERIAL_SUPPORT_INTERRUPT filter: CONFIG_UART_CONSOLE and CONFIG_SERIAL_SUPPORT_INTERRUPT
tags: console tags: console
harness: keyboard harness: keyboard

View file

@ -1,7 +1,7 @@
sample: sample:
name: Fat filesystem sample name: Fat filesystem sample
tests: tests:
sample.subsys.fs.fat_fs: sample.filesystem.fat_fs:
build_only: true build_only: true
platform_whitelist: nrf52840_blip olimexino_stm32 mimxrt1050_evk platform_whitelist: nrf52840_blip olimexino_stm32 mimxrt1050_evk
tags: filesystem tags: filesystem

View file

@ -1,7 +1,7 @@
sample: sample:
name: littlefs filesystem sample name: littlefs filesystem sample
tests: tests:
sample.subsys.fs.littlefs: sample.filesystem.littlefs:
build_only: true build_only: true
platform_whitelist: nrf52840_pca10056 particle_xenon platform_whitelist: nrf52840_pca10056 particle_xenon
tags: filesystem tags: filesystem

View file

@ -3,7 +3,7 @@ sample:
using the IPM and transmits it back unchanged using the IPM and transmits it back unchanged
name: i.MX IPM sample name: i.MX IPM sample
tests: tests:
sample.subsys.ipc.ipm_imx: sample.ipc.ipm.ipm_imx:
build_only: true build_only: true
filter: CONFIG_SOC_FAMILY_IMX filter: CONFIG_SOC_FAMILY_IMX
platform_whitelist: udoo_neo_full_m4 colibri_imx7d_m4 warp7_m4 platform_whitelist: udoo_neo_full_m4 colibri_imx7d_m4 warp7_m4

View file

@ -3,7 +3,7 @@ sample:
the lpcxpresso54114 using a mailbox. the lpcxpresso54114 using a mailbox.
name: IPM MCUX Mailbox Sample name: IPM MCUX Mailbox Sample
tests: tests:
sample.subsys.ipc.ipm_mcux: sample.ipc.ipm.ipm_mcux:
platform_whitelist: lpcxpresso54114_m4 platform_whitelist: lpcxpresso54114_m4
tags: ipm tags: ipm
harness: console harness: console

View file

@ -3,6 +3,6 @@ sample:
application application
name: ipm_mhu_dual_core name: ipm_mhu_dual_core
tests: tests:
sample.ipm: sample.ipc.ipm.ipm_mhu_dual_core:
tags: ipm tags: ipm
platform_whitelist: v2m_musca v2m_musca_nonsecure v2m_musca_b1 v2m_musca_b1_nonsecure platform_whitelist: v2m_musca v2m_musca_nonsecure v2m_musca_b1 v2m_musca_b1_nonsecure

View file

@ -3,7 +3,7 @@ sample:
with Zephyr. with Zephyr.
name: OpenAMP example integration name: OpenAMP example integration
tests: tests:
sample.subsys.ipc.openamp: sample.ipc.openamp:
platform_whitelist: lpcxpresso54114_m4 platform_whitelist: lpcxpresso54114_m4
tags: ipm tags: ipm
harness: console harness: console

View file

@ -3,7 +3,7 @@ sample:
use of logging feature. use of logging feature.
name: logger sample name: logger sample
tests: tests:
samples.logger: sample.logger:
tags: logging tags: logging
harness: console harness: console
harness_config: harness_config:
@ -16,7 +16,7 @@ tests:
- Logging performance showcase - Logging performance showcase
- Logs from external logging system showcase - Logs from external logging system showcase
samples.logger.rtt: sample.logger.rtt:
tags: logging tags: logging
filter: CONFIG_HAS_SEGGER_RTT filter: CONFIG_HAS_SEGGER_RTT
harness: keyboard harness: keyboard
@ -24,7 +24,7 @@ tests:
- CONFIG_LOG_BACKEND_RTT=y - CONFIG_LOG_BACKEND_RTT=y
- CONFIG_USE_SEGGER_RTT=y - CONFIG_USE_SEGGER_RTT=y
samples.logger.usermode: sample.logger.usermode:
tags: logging usermode tags: logging usermode
filter: CONFIG_ARCH_HAS_USERSPACE filter: CONFIG_ARCH_HAS_USERSPACE
harness: keyboard harness: keyboard

View file

@ -1,7 +1,7 @@
sample: sample:
name: syst sample name: syst sample
tests: tests:
sample.subsys.logging.syst: sample.logger.syst:
platform_whitelist: mps2_an385 sam_e70_xplained platform_whitelist: mps2_an385 sam_e70_xplained
tags: logging tags: logging
harness: console harness: console

View file

@ -2,7 +2,7 @@ sample:
name: NVS Sample name: NVS Sample
tests: tests:
sample.subsys.nvs: sample.nvs:
tags: settings tags: settings
depends_on: nvs depends_on: nvs
platform_exclude: qemu_x86 platform_exclude: qemu_x86

View file

@ -2,5 +2,5 @@ sample:
description: FS shell sample description: FS shell sample
name: FS shell name: FS shell
tests: tests:
test_fs_shell: sample.filesystem.shell:
platform_whitelist: reel_board platform_whitelist: reel_board

View file

@ -1,17 +1,17 @@
sample: sample:
name: Shell Sample name: Shell Sample
tests: tests:
sample.subsys.shell.shell_module: sample.shell.shell_module:
filter: ( CONFIG_SERIAL and CONFIG_UART_SHELL_ON_DEV_NAME ) filter: ( CONFIG_SERIAL and CONFIG_UART_SHELL_ON_DEV_NAME )
tags: shell tags: shell
harness: keyboard harness: keyboard
min_ram: 40 min_ram: 40
sample.subsys.shell.shell_module.minimal: sample.shell.shell_module.minimal:
filter: ( CONFIG_SERIAL and CONFIG_UART_SHELL_ON_DEV_NAME ) filter: ( CONFIG_SERIAL and CONFIG_UART_SHELL_ON_DEV_NAME )
tags: shell tags: shell
harness: keyboard harness: keyboard
extra_args: CONF_FILE="prj_minimal.conf" extra_args: CONF_FILE="prj_minimal.conf"
sample.subsys.shell.shell_module.minimal_rtt: sample.shell.shell_module.minimal_rtt:
filter: CONFIG_HAS_SEGGER_RTT filter: CONFIG_HAS_SEGGER_RTT
tags: shell tags: shell
harness: keyboard harness: keyboard

View file

@ -1,6 +1,6 @@
sample: sample:
name: Console over USB name: Console over USB
tests: tests:
sample.subsys.usb.console: sample.usb.console:
depends_on: usb_device usb_cdc depends_on: usb_device usb_cdc
tags: usb tags: usb

View file

@ -1,7 +1,7 @@
sample: sample:
name: USB DFU sample name: USB DFU sample
tests: tests:
sample.subsys.usb.dfu: sample.usb.dfu:
build_only: True build_only: True
platform_whitelist: nrf52840_pca10056 intel_s1000_crb platform_whitelist: nrf52840_pca10056 intel_s1000_crb
depends_on: usb_device depends_on: usb_device

View file

@ -3,7 +3,7 @@ sample:
basic sanity of the kernel. basic sanity of the kernel.
name: Synchronization Sample name: Synchronization Sample
tests: tests:
sample.synchronization: sample.kernel.synchronization:
build_on_all: true build_on_all: true
tags: kernel synchronization tags: kernel synchronization
harness: console harness: console

View file

@ -1,4 +1,6 @@
tests: tests:
section.subsection: # section.subsection
testing.ztest:
build_only: true build_only: true
tags: my_tags platform_whitelist: native_posix
tags: testing

View file

@ -1,5 +1,5 @@
tests: tests:
misc.app_dev.cpp: application_development.cpp.main:
arch_exclude: posix arch_exclude: posix
platform_exclude: qemu_x86_coverage platform_exclude: qemu_x86_coverage
tags: cpp tags: cpp

View file

@ -1,10 +1,10 @@
tests: tests:
misc.app_dev.libcxx: application_development.cpp.libcxx:
arch_exclude: posix arch_exclude: posix
platform_exclude: qemu_x86_coverage platform_exclude: qemu_x86_coverage
min_flash: 54 min_flash: 54
tags: cpp tags: cpp
misc.app_dev.libcxx.exceptions: application_development.cpp.libcxx.exceptions:
arch_exclude: posix arch_exclude: posix
platform_exclude: qemu_x86_coverage platform_exclude: qemu_x86_coverage
min_flash: 54 min_flash: 54

View file

@ -1,5 +1,5 @@
tests: tests:
arch.ramfunc: arch.arm.ramfunc:
filter: CONFIG_ARCH_HAS_RAMFUNC_SUPPORT filter: CONFIG_ARCH_HAS_RAMFUNC_SUPPORT
tags: arm userspace tags: arm userspace
arch_whitelist: arm arch_whitelist: arm

View file

@ -1,5 +1,5 @@
tests: tests:
arch.zero_latency_interrupts: arch.arm.zero_latency_interrupts:
filter: CONFIG_ARMV7_M_ARMV8_M_MAINLINE filter: CONFIG_ARMV7_M_ARMV8_M_MAINLINE
tags: arm interrupt tags: arm interrupt
arch_whitelist: arm arch_whitelist: arm

View file

@ -1,12 +1,12 @@
tests: tests:
benchmark.application: benchmark.kernel.application:
arch_whitelist: x86 arm arch_whitelist: x86 arm
min_flash: 34 min_flash: 34
min_ram: 32 min_ram: 32
tags: benchmark tags: benchmark
slow: true slow: true
timeout: 300 timeout: 300
benchmark.application.posix: benchmark.kernel.application.posix:
arch_whitelist: posix arch_whitelist: posix
min_ram: 32 min_ram: 32
tags: benchmark tags: benchmark

View file

@ -1,5 +1,5 @@
tests: tests:
benchmark.boot_time: benchmark.kernel.boot_time:
arch_whitelist: x86 arm posix arch_whitelist: x86 arm posix
platform_exclude: qemu_x86 qemu_x86_coverage qemu_x86_64 qemu_x86_nommu platform_exclude: qemu_x86 qemu_x86_coverage qemu_x86_64 qemu_x86_nommu
minnowboard acrn minnowboard acrn

View file

@ -1,5 +1,5 @@
tests: tests:
benchmark.latency: benchmark.kernel.latency:
arch_whitelist: x86 arm posix arch_whitelist: x86 arm posix
platform_exclude: qemu_x86_64 platform_exclude: qemu_x86_64
filter: CONFIG_PRINTK filter: CONFIG_PRINTK

View file

@ -2,5 +2,5 @@ common:
harness: crypto harness: crypto
tags: crypto tags: crypto
tests: tests:
benchmark.mbedtls: benchmark.crypto.mbedtls:
platform_whitelist: qemu_x86 frdm_k64f sam_e70_xplained nrf52840_pca10056 platform_whitelist: qemu_x86 frdm_k64f sam_e70_xplained nrf52840_pca10056

View file

@ -1,5 +1,5 @@
tests: tests:
benchmark.scheduler: benchmark.kernel.scheduler:
tags: benchmark tags: benchmark
slow: true slow: true
harness: console harness: console

View file

@ -1,5 +1,5 @@
tests: tests:
benchmark.kernel: benchmark.kernel.core:
arch_exclude: nios2 riscv32 xtensa arch_exclude: nios2 riscv32 xtensa
platform_exclude: qemu_x86_64 platform_exclude: qemu_x86_64
min_ram: 32 min_ram: 32

View file

@ -1,5 +1,5 @@
tests: tests:
benchmark.timing.default_kernel: benchmark.kernel.timing.default:
arch_exclude: posix arch_exclude: posix
tags: benchmark tags: benchmark
harness: console harness: console
@ -9,7 +9,7 @@ tests:
regex: "(?P<metric>.*):(?P<cycles>.*) cycles ,(?P<nanoseconds>.*) ns" regex: "(?P<metric>.*):(?P<cycles>.*) cycles ,(?P<nanoseconds>.*) ns"
regex: regex:
- "PROJECT EXECUTION SUCCESSFUL" - "PROJECT EXECUTION SUCCESSFUL"
benchmark.timing.userspace: benchmark.kernel.timing.userspace:
filter: CONFIG_ARCH_HAS_USERSPACE filter: CONFIG_ARCH_HAS_USERSPACE
extra_args: CONF_FILE=prj_userspace.conf extra_args: CONF_FILE=prj_userspace.conf
arch_whitelist: x86 arm arc arch_whitelist: x86 arm arc

View file

@ -1,39 +1,39 @@
tests: tests:
mesh: bluetooth.mesh.main:
build_only: true build_only: true
platform_whitelist: qemu_x86 nrf51_pca10028 nrf52840_pca10056 platform_whitelist: qemu_x86 nrf51_pca10028 nrf52840_pca10056
tags: bluetooth mesh tags: bluetooth mesh
mesh.dbg: bluetooth.mesh.dbg:
build_only: true build_only: true
extra_args: CONF_FILE=dbg.conf extra_args: CONF_FILE=dbg.conf
platform_whitelist: qemu_x86 nrf51_pca10028 nrf52840_pca10056 platform_whitelist: qemu_x86 nrf51_pca10028 nrf52840_pca10056
tags: bluetooth mesh tags: bluetooth mesh
mesh.friend: bluetooth.mesh.friend:
build_only: true build_only: true
extra_args: CONF_FILE=friend.conf extra_args: CONF_FILE=friend.conf
platform_whitelist: qemu_x86 nrf51_pca10028 nrf52840_pca10056 platform_whitelist: qemu_x86 nrf51_pca10028 nrf52840_pca10056
tags: bluetooth mesh tags: bluetooth mesh
mesh.gatt: bluetooth.mesh.gatt:
build_only: true build_only: true
extra_args: CONF_FILE=gatt.conf extra_args: CONF_FILE=gatt.conf
platform_whitelist: qemu_x86 nrf51_pca10028 nrf52840_pca10056 platform_whitelist: qemu_x86 nrf51_pca10028 nrf52840_pca10056
tags: bluetooth mesh tags: bluetooth mesh
mesh.lpn: bluetooth.mesh.lpn:
build_only: true build_only: true
extra_args: CONF_FILE=lpn.conf extra_args: CONF_FILE=lpn.conf
platform_whitelist: qemu_x86 nrf51_pca10028 nrf52840_pca10056 platform_whitelist: qemu_x86 nrf51_pca10028 nrf52840_pca10056
tags: bluetooth mesh tags: bluetooth mesh
mesh.microbit: bluetooth.mesh.main.microbit:
build_only: true build_only: true
extra_args: CONF_FILE=microbit.conf extra_args: CONF_FILE=microbit.conf
platform_whitelist: bbc_microbit platform_whitelist: bbc_microbit
tags: bluetooth mesh tags: bluetooth mesh
mesh.pb_gatt: bluetooth.mesh.pb_gatt:
build_only: true build_only: true
extra_args: CONF_FILE=pb_gatt.conf extra_args: CONF_FILE=pb_gatt.conf
platform_whitelist: qemu_x86 nrf51_pca10028 nrf52840_pca10056 platform_whitelist: qemu_x86 nrf51_pca10028 nrf52840_pca10056
tags: bluetooth mesh tags: bluetooth mesh
mesh.proxy: bluetooth.mesh.proxy:
build_only: true build_only: true
extra_args: CONF_FILE=proxy.conf extra_args: CONF_FILE=proxy.conf
platform_whitelist: qemu_x86 nrf51_pca10028 nrf52840_pca10056 platform_whitelist: qemu_x86 nrf51_pca10028 nrf52840_pca10056

View file

@ -1,5 +1,5 @@
tests: tests:
bluetooth.mesh_shell: bluetooth.mesh.mesh_shell:
platform_whitelist: qemu_cortex_m3 qemu_x86 nrf51_pca10028 platform_whitelist: qemu_cortex_m3 qemu_x86 nrf51_pca10028
platform_exclude: nrf52810_pca10040 platform_exclude: nrf52810_pca10040
tags: bluetooth tags: bluetooth

View file

@ -1,5 +1,5 @@
tests: tests:
bluetooth.shell: bluetooth.shell.main:
extra_configs: extra_configs:
- CONFIG_NATIVE_UART_0_ON_STDINOUT=y - CONFIG_NATIVE_UART_0_ON_STDINOUT=y
platform_whitelist: qemu_cortex_m3 qemu_x86 native_posix native_posix_64 nrf52840_pca10056 platform_whitelist: qemu_cortex_m3 qemu_x86 native_posix native_posix_64 nrf52840_pca10056
@ -7,7 +7,7 @@ tests:
tags: bluetooth tags: bluetooth
harness: keyboard harness: keyboard
min_flash: 145 min_flash: 145
bluetooth.shell_br: bluetooth.shell.shell_br:
extra_configs: extra_configs:
- CONFIG_NATIVE_UART_0_ON_STDINOUT=y - CONFIG_NATIVE_UART_0_ON_STDINOUT=y
extra_args: CONF_FILE="prj_br.conf" extra_args: CONF_FILE="prj_br.conf"

View file

@ -1,5 +1,5 @@
tests: tests:
board.shell: boards.shell.shell:
tags: shell tags: shell
harness: keyboard harness: keyboard
platform_whitelist: nrf52840_pca10056 frdm_k64f platform_whitelist: nrf52840_pca10056 frdm_k64f

View file

@ -1,4 +1,4 @@
tests: tests:
boards.s1000_crb: boards.s1000_crb.main:
platform_whitelist: intel_s1000_crb platform_whitelist: intel_s1000_crb
tags: boards tags: boards

View file

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

View file

@ -1,72 +1,72 @@
common: common:
depends_on: gpio spi i2c depends_on: gpio spi i2c
tests: tests:
test_build_drivers: drivers.build.build:
build_only: true build_only: true
min_ram: 16 min_ram: 16
tags: drivers footprint tags: drivers
depends_on: adc i2c depends_on: adc i2c
test_build_ethernet: net.ethernet.build:
build_only: true build_only: true
extra_args: CONF_FILE=ethernet.conf extra_args: CONF_FILE=ethernet.conf
min_flash: 42 min_flash: 42
min_ram: 32 min_ram: 32
platform_exclude: frdm_kw41z platform_exclude: frdm_kw41z
tags: drivers footprint tags: drivers
depends_on: spi netif depends_on: spi netif
test_build_sensors_trigger_a_h: sensors.build.trigger_a_h:
build_only: true build_only: true
extra_args: CONF_FILE=sensors_trigger_a_h.conf extra_args: CONF_FILE=sensors_trigger_a_h.conf
min_ram: 32 min_ram: 32
platform_exclude: frdm_kw41z platform_exclude: frdm_kw41z
tags: drivers footprint tags: drivers
depends_on: adc spi depends_on: adc spi
test_build_sensors_trigger_i_z: sensors.build.trigger_i_z:
build_only: true build_only: true
extra_args: CONF_FILE=sensors_trigger_i_z.conf extra_args: CONF_FILE=sensors_trigger_i_z.conf
min_ram: 32 min_ram: 32
platform_exclude: frdm_kw41z platform_exclude: frdm_kw41z
tags: drivers footprint tags: drivers
depends_on: adc spi depends_on: adc spi
test_build_sensors_a_h: sensors.build.a_h:
build_only: true build_only: true
extra_args: CONF_FILE=sensors_a_h.conf extra_args: CONF_FILE=sensors_a_h.conf
min_flash: 44 min_flash: 44
min_ram: 32 min_ram: 32
platform_exclude: frdm_kw41z platform_exclude: frdm_kw41z
tags: drivers footprint tags: drivers
depends_on: adc spi depends_on: adc spi
test_build_sensors_i_z: sensors.build.i_z:
build_only: true build_only: true
extra_args: CONF_FILE=sensors_i_z.conf extra_args: CONF_FILE=sensors_i_z.conf
min_ram: 32 min_ram: 32
platform_exclude: frdm_kw41z platform_exclude: frdm_kw41z
tags: drivers footprint tags: drivers
depends_on: adc spi depends_on: adc spi
test_build_sensors_stmemsc: sensors.build.stmemsc:
build_only: true build_only: true
extra_args: CONF_FILE=sensors_stmemsc.conf extra_args: CONF_FILE=sensors_stmemsc.conf
min_ram: 32 min_ram: 32
platform_exclude: frdm_kw41z platform_exclude: frdm_kw41z
tags: drivers footprint tags: drivers
depends_on: adc spi depends_on: adc spi
test_build_sensors_stmemsc_trigger: sensors.build.stmemsc_trigger:
build_only: true build_only: true
extra_args: CONF_FILE=sensors_stmemsc_trigger.conf extra_args: CONF_FILE=sensors_stmemsc_trigger.conf
min_ram: 32 min_ram: 32
platform_exclude: frdm_kw41z platform_exclude: frdm_kw41z
tags: drivers footprint tags: drivers
depends_on: adc spi depends_on: adc spi
test_clock: drivers.clock.build:
build_only: true build_only: true
extra_configs: extra_configs:
- CONFIG_CLOCK_CONTROL=y - CONFIG_CLOCK_CONTROL=y
test_build_gpio: drivers.gpio.build:
build_only: true build_only: true
extra_args: CONF_FILE=gpio.conf extra_args: CONF_FILE=gpio.conf
min_ram: 32 min_ram: 32
depends_on: gpio depends_on: gpio
test_build_eeprom: drivers.eeprom.build:
build_only: true build_only: true
extra_args: CONF_FILE=eeprom.conf extra_args: CONF_FILE=eeprom.conf
min_ram: 32 min_ram: 32

View file

@ -1,4 +1,4 @@
tests: tests:
peripheral.can: drivers.can:
tags: driver can tags: driver can
depends_on: can depends_on: can

View file

@ -1,4 +1,4 @@
tests: tests:
peripheral.can.stm32: drivers.can.stm32:
tags: driver can tags: driver can
depends_on: can depends_on: can

View file

@ -1,9 +1,9 @@
tests: tests:
peripheral.clock_control_nrf5: drivers.clock.clock_control_nrf5:
tags: drivers tags: drivers
platform_whitelist: nrf51_pca10028 nrf52_pca10040 nrf52840_pca10056 platform_whitelist: nrf51_pca10028 nrf52_pca10040 nrf52840_pca10056
nrf9160_pca10090 nrf9160_pca10090
peripheral.clock_control_nrf5_lfclk_rc: drivers.clock.clock_control_nrf5_lfclk_rc:
tags: drivers tags: drivers
platform_whitelist: nrf51_pca10028 nrf52_pca10040 nrf52840_pca10056 platform_whitelist: nrf51_pca10028 nrf52_pca10040 nrf52840_pca10056
extra_args: CONF_FILE="nrf_lfclk_rc.conf" extra_args: CONF_FILE="nrf_lfclk_rc.conf"

View file

@ -1,5 +1,5 @@
tests: tests:
peripheral.nrf5_clock_calibration: drivers.clock.nrf5_clock_calibration:
tags: drivers tags: drivers
platform_whitelist: nrf51_pca10028 nrf52_pca10040 nrf52840_pca10056 platform_whitelist: nrf51_pca10028 nrf52_pca10040 nrf52840_pca10056

View file

@ -1,5 +1,5 @@
tests: tests:
peripheral.counter: drivers.counter:
tags: drivers tags: drivers
depends_on: counter depends_on: counter
min_ram: 16 min_ram: 16

View file

@ -1,4 +1,4 @@
tests: tests:
counter.cmos: drivers.counter.cmos:
tags: drivers tags: drivers
arch_whitelist: x86 arch_whitelist: x86

View file

@ -1,5 +1,5 @@
tests: tests:
peripheral.counter: drivers.counter:
tags: drivers tags: drivers
depends_on: counter depends_on: counter
platform_whitelist: nrf52840_pca0056 platform_whitelist: nrf52840_pca0056

View file

@ -1,9 +1,9 @@
tests: tests:
peripheral.dma: drivers.dma:
min_ram: 16 min_ram: 16
depends_on: dma depends_on: dma
tags: drivers dma tags: drivers dma
peripheral.dma.interactive: drivers.dma.interactive:
depends_on: dma depends_on: dma
extra_args: CONF_FILE=prj_shell.conf extra_args: CONF_FILE=prj_shell.conf
min_ram: 16 min_ram: 16

View file

@ -1,5 +1,5 @@
tests: tests:
driver.dma.loop_transfer: drivers.dma.loop_transfer:
depends_on: dma depends_on: dma
tags: drivers dma tags: drivers dma
harness: console harness: console

View file

@ -1,4 +1,4 @@
tests: tests:
peripheral.eeprom: drivers.eeprom:
platform_whitelist: native_posix native_posix_64 platform_whitelist: native_posix native_posix_64
tags: drivers userspace tags: drivers userspace

View file

@ -1,4 +1,4 @@
tests: tests:
peripheral.entropy: drivers.entropy:
filter: CONFIG_ENTROPY_HAS_DRIVER filter: CONFIG_ENTROPY_HAS_DRIVER
tags: driver tags: driver

View file

@ -1,4 +1,4 @@
tests: tests:
peripheral.flash_simulator: drivers.flash.flash_simulator:
platform_whitelist: qemu_x86 platform_whitelist: qemu_x86
tags: driver tags: driver

View file

@ -1,5 +1,5 @@
tests: tests:
peripheral.gpio: drivers.gpio:
tags: drivers gpio tags: drivers gpio
depends_on: gpio depends_on: gpio
harness: loopback # see documentation harness: loopback # see documentation

View file

@ -1,4 +1,4 @@
tests: tests:
peripheral.device_id: drivers.device_id:
tags: driver tags: driver
depends_on: hwinfo depends_on: hwinfo

View file

@ -1,5 +1,5 @@
tests: tests:
peripheral.i2c: drivers.i2c:
depends_on: i2c depends_on: i2c
tags: drivers i2c tags: drivers i2c
harness: sensor harness: sensor

View file

@ -1,5 +1,5 @@
tests: tests:
peripheral.i2c_slave: drivers.i2c_slave:
depends_on: i2c depends_on: i2c
tags: drivers i2c tags: drivers i2c
platform_whitelist: nucleo_f091rc stm32f072b_disco platform_whitelist: nucleo_f091rc stm32f072b_disco

View file

@ -1,4 +1,4 @@
tests: tests:
peripheral.i2s: drivers.i2s:
depends_on: i2s depends_on: i2s
tags: drivers userspace tags: drivers userspace

View file

@ -1,4 +1,4 @@
tests: tests:
peripheral.i2s.speed: drivers.i2s.speed:
depends_on: i2s depends_on: i2s
tags: drivers i2s tags: drivers i2s

View file

@ -1,4 +1,4 @@
tests: tests:
peripheral.mailbox: drivers.ipc.mailbox:
arch_exclude: posix xtensa arch_exclude: posix xtensa
tags: drivers ipc tags: drivers ipc

Some files were not shown because too many files have changed in this diff Show more