yamllint: indentation: fix files in samples/

Fix the YAML files indentation for files in samples/.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
Fabio Baltieri 2023-01-03 19:08:27 +00:00 committed by Carles Cufí
parent 3e7e44b70d
commit 792469aae9
73 changed files with 509 additions and 508 deletions

View file

@ -11,4 +11,4 @@ tests:
harness_config:
type: one_line
regex:
- "Hello World! (.*)"
- "Hello World! (.*)"

View file

@ -3,17 +3,17 @@ sample:
a number of threads
name: SMP Pi
common:
tags: introduction
integration_platforms:
- qemu_x86_64
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "Calculate first [0-9]+ digits of Pi independently by [0-9]+ threads.(.*)"
- "Pi value calculated by thread #[0-9]+: [0-9]+(.*)"
- "All [0-9]+ threads executed by [0-9]+ cores in [0-9]+ msec(.*)"
tags: introduction
integration_platforms:
- qemu_x86_64
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "Calculate first [0-9]+ digits of Pi independently by [0-9]+ threads.(.*)"
- "Pi value calculated by thread #[0-9]+: [0-9]+(.*)"
- "All [0-9]+ threads executed by [0-9]+ cores in [0-9]+ msec(.*)"
tests:
sample.smp.pi:
tags: introduction

View file

@ -3,13 +3,13 @@ sample:
a number of threads
name: SMP Pktqueue
common:
tags: introduction
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "RESULT: OK(.*)"
tags: introduction
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "RESULT: OK(.*)"
tests:
sample.smp.pktqueue:

View file

@ -8,17 +8,17 @@ compatible: "pwm-servo"
include: base.yaml
properties:
pwms:
required: true
type: phandle-array
description: PWM specifier driving the servo motor.
pwms:
required: true
type: phandle-array
description: PWM specifier driving the servo motor.
min-pulse:
required: true
type: int
description: Minimum pulse width (nanoseconds).
min-pulse:
required: true
type: int
description: Minimum pulse width (nanoseconds).
max-pulse:
required: true
type: int
description: Maximum pulse width (nanoseconds).
max-pulse:
required: true
type: int
description: Maximum pulse width (nanoseconds).

View file

@ -6,9 +6,9 @@ tests:
tags: board pm
harness: console
harness_config:
type: multi_line
ordered: false
regex:
- "Wake from Light Sleep"
- "Wake from Deep Sleep"
repeat: 3
type: multi_line
ordered: false
regex:
- "Wake from Light Sleep"
- "Wake from Deep Sleep"
repeat: 3

View file

@ -1,11 +1,11 @@
sample:
description: This app shows how RTCs are synchronized
on nrf53 cores.
name: nRF53 Synchronized RTC sample (net)
description: This app shows how RTCs are synchronized
on nrf53 cores.
name: nRF53 Synchronized RTC sample (net)
common:
harness: remote
harness: remote
tests:
sample.boards.nrf.nrf53_sync_rtc.net:
platform_allow: nrf5340dk_nrf5340_cpunet
integration_platforms:
- nrf5340dk_nrf5340_cpunet
sample.boards.nrf.nrf53_sync_rtc.net:
platform_allow: nrf5340dk_nrf5340_cpunet
integration_platforms:
- nrf5340dk_nrf5340_cpunet

View file

@ -1,11 +1,11 @@
sample:
description: This app shows how RTCs are synchronized
on nrf53 cores.
name: nRF53 Synchronized RTC sample
description: This app shows how RTCs are synchronized
on nrf53 cores.
name: nRF53 Synchronized RTC sample
common:
harness: remote
harness: remote
tests:
sample.boards.nrf.nrf53_sync_rtc:
platform_allow: nrf5340dk_nrf5340_cpuapp
integration_platforms:
- nrf5340dk_nrf5340_cpuapp
sample.boards.nrf.nrf53_sync_rtc:
platform_allow: nrf5340dk_nrf5340_cpuapp
integration_platforms:
- nrf5340dk_nrf5340_cpuapp

View file

@ -13,11 +13,11 @@ tests:
integration_platforms:
- nucleo_f746zg
harness_config:
type: multi_line
ordered: true
regex:
- "Counter alarm sample"
- "Set alarm in 2 sec"
- "!!! Alarm !!!"
- "Now: [2|3]"
type: multi_line
ordered: true
regex:
- "Counter alarm sample"
- "Set alarm in 2 sec"
- "!!! Alarm !!!"
- "Now: [2|3]"
depends_on: counter

View file

@ -79,9 +79,9 @@ tests:
platform_allow: native_posix
extra_args: DTC_OVERLAY_FILE="dummy_dc.overlay"
extra_configs:
- CONFIG_DUMMY_DISPLAY=y
- CONFIG_SDL_DISPLAY=n
- CONFIG_TEST=y
- CONFIG_DUMMY_DISPLAY=y
- CONFIG_SDL_DISPLAY=n
- CONFIG_TEST=y
tags: display
sample.display.max7219:
platform_allow: nrf52840dk_nrf52840

View file

@ -23,6 +23,6 @@ tests:
extra_args: SHIELD=x_nucleo_eeprma2
harness: console
harness_config:
fixture: fixture_shield_x_nucleo_eeprma2
fixture: fixture_shield_x_nucleo_eeprma2
integration_platforms:
- nucleo_f070rb

View file

@ -9,16 +9,16 @@ description: |
GPIOs required before performing a eSPI host-slave handshake
properties:
pwrg-gpios:
type: phandle-array
required: true
description: |
Board GPIO input used to detect that power rails are stable.
pwrg-gpios:
type: phandle-array
required: true
description: |
Board GPIO input used to detect that power rails are stable.
rsm-gpios:
type: phandle-array
required: true
description: |
Board GPIO output used to notify eSPI master to ackwnowledge
power has stabilized and bare minimum initialization in eSPI slave
is complete so eSPI master can proceed with eSPI handshake.
rsm-gpios:
type: phandle-array
required: true
description: |
Board GPIO output used to notify eSPI master to ackwnowledge
power has stabilized and bare minimum initialization in eSPI slave
is complete so eSPI master can proceed with eSPI handshake.

View file

@ -9,38 +9,38 @@ tests:
depends_on: espi
harness: console
harness_config:
fixture: espi_device_connect
type: multi_line
ordered: true
regex:
- "Hello eSPI test (.*)"
- "eSPI test - I/O initialization...complete"
- "eSPI slave configured successfully!"
- "eSPI test - callbacks initialization... complete"
- "eSPI test - Power initialization...complete"
- "eSPI BUS reset (.*)"
- "espi: Hello eSPI test mec1501modular_assy6885"
- "espi: eSPI slave configured successfully"
- "espi: eSPI test - callbacks initialization..."
- "espi: complete"
- "espi: eSPI test - callbacks registration..."
- "espi: complete"
- "espi: eSPI BUS reset 1"
- "espi: VW channel is ready"
- "espi: Flash channel is ready"
- "espi: Test eSPI write flash"
- "espi: 16 write flash transactions completed"
- "espi: 16 write flash transactions completed"
- "espi: Test eSPI read flash"
- "espi: 16 read flash transactions completed"
- "espi: 16 read flash transactions completed"
- "espi: eSPI test - Handshake with eSPI master..."
- "espi: 1st phase completed"
- "espi: 2nd phase completed"
- "espi: PLT_RST changed 1"
- "espi: 3rd phase completed"
- "espi: get_pch_temp:"
- "espi: OOB transaction completed rcvd: 4 bytes"
- "espi: Postcode fe"
- "espi: Postcode 7f"
- "espi: eSPI sample completed"
fixture: espi_device_connect
type: multi_line
ordered: true
regex:
- "Hello eSPI test (.*)"
- "eSPI test - I/O initialization...complete"
- "eSPI slave configured successfully!"
- "eSPI test - callbacks initialization... complete"
- "eSPI test - Power initialization...complete"
- "eSPI BUS reset (.*)"
- "espi: Hello eSPI test mec1501modular_assy6885"
- "espi: eSPI slave configured successfully"
- "espi: eSPI test - callbacks initialization..."
- "espi: complete"
- "espi: eSPI test - callbacks registration..."
- "espi: complete"
- "espi: eSPI BUS reset 1"
- "espi: VW channel is ready"
- "espi: Flash channel is ready"
- "espi: Test eSPI write flash"
- "espi: 16 write flash transactions completed"
- "espi: 16 write flash transactions completed"
- "espi: Test eSPI read flash"
- "espi: 16 read flash transactions completed"
- "espi: 16 read flash transactions completed"
- "espi: eSPI test - Handshake with eSPI master..."
- "espi: 1st phase completed"
- "espi: 2nd phase completed"
- "espi: PLT_RST changed 1"
- "espi: 3rd phase completed"
- "espi: get_pch_temp:"
- "espi: OOB transaction completed rcvd: 4 bytes"
- "espi: Postcode fe"
- "espi: Postcode 7f"
- "espi: eSPI sample completed"

View file

@ -2,8 +2,8 @@ sample:
name: FPGA Controller sample
common:
tags: FPGA
build_only: true
tags: FPGA
build_only: true
tests:
sample.drivers.fpga_controller:

View file

@ -7,7 +7,7 @@ tests:
filter: dt_nodelabel_enabled("i2c0")
harness: console
harness_config:
type: one_line
regex:
- "Data comparison successful."
fixture: fixture_i2c_FRAM
type: one_line
regex:
- "Data comparison successful."
fixture: fixture_i2c_FRAM

View file

@ -3,9 +3,9 @@ sample:
name: i2s example
common:
tags: introduction
harness: console
harness_config:
type: one_line
regex:
- "i2s example (.*)"
tags: introduction
harness: console
harness_config:
type: one_line
regex:
- "i2s example (.*)"

View file

@ -1,14 +1,14 @@
sample:
name: JESD216 Sample
common:
tags: spi flash
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "sfdp-bfp ="
- "jedec-id ="
tags: spi flash
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "sfdp-bfp ="
- "jedec-id ="
tests:
sample.drivers.jesd216:
platform_exclude: hifive1 hifive_unleashed hifive_unmatched mimxrt1170_evk_cm7

View file

@ -5,9 +5,9 @@ tests:
tags: drivers kscan
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "kb data(.*)"
fixture: fixture_connect_keyboard
type: multi_line
ordered: true
regex:
- "kb data(.*)"
fixture: fixture_connect_keyboard
depends_on: kscan

View file

@ -5,8 +5,8 @@ tests:
tags: drivers kscan_touch
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "kb data(.*)"
type: multi_line
ordered: true
regex:
- "kb data(.*)"
depends_on: kscan:touch

View file

@ -2,12 +2,12 @@ sample:
description: Cyclone V Soc Devkit LCD sample
name: lcd_cyclonev_socdk
common:
tags: introduction
harness: console
harness_config:
type: one_line
regex:
- "Hello World! (.*)"
tags: introduction
harness: console
harness_config:
type: one_line
regex:
- "Hello World! (.*)"
tests:
sample.lcd_cyclonev_socdk.helloworld:
platform_allow: cyclonev_socdk

View file

@ -6,4 +6,4 @@ tests:
tags: LED
filter: dt_compat_enabled("worldsemi,ws2812-spi")
harness_config:
fixture: fixture_led_ws2812
fixture: fixture_led_ws2812

View file

@ -1,13 +1,13 @@
common:
tags: lora
depends_on: lora
tags: lora
depends_on: lora
sample:
description: Demonstration of LoRa Receive functionality
name: LoRa Receive Sample
description: Demonstration of LoRa Receive functionality
name: LoRa Receive Sample
tests:
sample.driver.lora.receive:
harness: console
harness_config:
sample.driver.lora.receive:
harness: console
harness_config:
type: one_line
regex:
- "<inf> lora_receive: Synchronous reception"

View file

@ -1,13 +1,13 @@
common:
tags: lora
depends_on: lora
tags: lora
depends_on: lora
sample:
description: Demonstration of LoRa Send functionality
name: LoRa Send Sample
description: Demonstration of LoRa Send functionality
name: LoRa Send Sample
tests:
sample.driver.lora.send:
harness: console
harness_config:
sample.driver.lora.send:
harness: console
harness_config:
type: one_line
regex:
- "<inf> lora_send: Data sent!"

View file

@ -1,9 +1,9 @@
sample:
name: MBOX IPC sample (remote)
name: MBOX IPC sample (remote)
tests:
sample.drivers.mbox_remote:
platform_allow: nrf5340dk_nrf5340_cpunet
integration_platforms:
- nrf5340dk_nrf5340_cpunet
tags: mbox
harness: remote
sample.drivers.mbox_remote:
platform_allow: nrf5340dk_nrf5340_cpunet
integration_platforms:
- nrf5340dk_nrf5340_cpunet
tags: mbox
harness: remote

View file

@ -1,9 +1,9 @@
sample:
name: MBOX IPC sample
name: MBOX IPC sample
tests:
sample.drivers.mbox:
platform_allow: nrf5340dk_nrf5340_cpuapp
integration_platforms:
- nrf5340dk_nrf5340_cpuapp
tags: mbox
harness: remote
sample.drivers.mbox:
platform_allow: nrf5340dk_nrf5340_cpuapp
integration_platforms:
- nrf5340dk_nrf5340_cpuapp
tags: mbox
harness: remote

View file

@ -2,15 +2,15 @@ sample:
description: Memory controller sample
name: memc driver sample
common:
tags: memc
filter: dt_alias_exists("sram-ext")
integration_platforms:
- mimxrt595_evk_cm33
harness: console
harness_config:
type: one_line
regex:
- "Read data matches written data"
tags: memc
filter: dt_alias_exists("sram-ext")
integration_platforms:
- mimxrt595_evk_cm33
harness: console
harness_config:
type: one_line
regex:
- "Read data matches written data"
tests:
sample.drivers.memc:
tags: memc

View file

@ -9,7 +9,7 @@ tests:
tags: drivers peci
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "mb data(.*)"
type: multi_line
ordered: true
regex:
- "mb data(.*)"

View file

@ -5,9 +5,9 @@ tests:
tags: drivers ps2
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "mb data(.*)"
fixture: fixture_connect_mouse
type: multi_line
ordered: true
regex:
- "mb data(.*)"
fixture: fixture_connect_mouse
filter: dt_compat_enabled("microchip,xec-ps2")

View file

@ -8,14 +8,14 @@ tests:
platform_exclude: hifive_unmatched
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "Test 1: Flash erase"
- "Flash erase succeeded!"
- "Test 2: Flash write"
- "Attempting to write 4 bytes"
- "Data read matches data written. Good!!"
type: multi_line
ordered: true
regex:
- "Test 1: Flash erase"
- "Flash erase succeeded!"
- "Test 2: Flash write"
- "Attempting to write 4 bytes"
- "Data read matches data written. Good!!"
depends_on: spi
sample.drivers.spi.flash_dpd:
tags: spi flash

View file

@ -2,7 +2,7 @@ sample:
name: 1-Wire scanner sample
common:
harness: console
harness: console
tests:
sample.drivers.w1.scanner.ds2484:

View file

@ -3,14 +3,14 @@ sample:
application
name: hello world
common:
tags: introduction
integration_platforms:
- native_posix
harness: console
harness_config:
type: one_line
regex:
- "Hello World! (.*)"
tags: introduction
integration_platforms:
- native_posix
harness: console
harness_config:
type: one_line
regex:
- "Hello World! (.*)"
tests:
sample.basic.helloworld:
tags: introduction

View file

@ -3,11 +3,11 @@ sample:
MetaIRQ thread
name: MetaIRQ Dispatch
common:
harness: console
harness_config:
type: one_line
regex:
- "MetaIRQ Test Complete"
harness: console
harness_config:
type: one_line
regex:
- "MetaIRQ Test Complete"
# Note that native_posix architectures are filtered, they require
# instrumentation (e.g. a k_busy_wait()) inside the worker threads

View file

@ -13,14 +13,15 @@ tests:
type: multi_line
ordered: false
regex:
- "Hello CHRE!"
- "I: EventLoop start.*"
- "D: Instance ID 1 assigned to app ID 0x0000000000000001.*"
- "EchoApp::nanoappStart\\(\\)"
- "EchoApp::nanoappHandleEvent\\(sender_instance_id=0, event_type=1, event_data@\\(nil\\)\\)"
- "Event \\(1\\) complete!"
- "EchoApp::nanoappEnd\\(\\)"
- "I: Exiting EventLoop.*"
- "Hello CHRE!"
- "I: EventLoop start.*"
- "D: Instance ID 1 assigned to app ID 0x0000000000000001.*"
- "EchoApp::nanoappStart\\(\\)"
- "EchoApp::nanoappHandleEvent\\(sender_instance_id=0, event_type=1,
event_data@\\(nil\\)\\)"
- "Event \\(1\\) complete!"
- "EchoApp::nanoappEnd\\(\\)"
- "I: Exiting EventLoop.*"
integration_platforms:
- native_posix
- native_posix
filter: not CONFIG_MINIMAL_LIBC

View file

@ -14,5 +14,5 @@ tests:
sample.modules.nanopb:
tags: samples nanopb
integration_platforms:
- native_posix
- native_posix_64
- native_posix
- native_posix_64

View file

@ -22,4 +22,4 @@ tests:
tags: tensorflow
platform_allow: mps3_an547
extra_configs:
- CONFIG_TENSORFLOW_LITE_MICRO_CMSIS_NN_KERNELS=y
- CONFIG_TENSORFLOW_LITE_MICRO_CMSIS_NN_KERNELS=y

View file

@ -2,10 +2,10 @@ sample:
description: Test wpan_serial sample
name: wpan_serial
common:
depends_on: usb_device
harness: net
tags: usb ieee802154
platform_exclude: pinnacle_100_dvk
depends_on: usb_device
harness: net
tags: usb ieee802154
platform_exclude: pinnacle_100_dvk
tests:
sample.net.wpan.serial:
filter: dt_chosen_enabled("zephyr,ieee802154")

View file

@ -9,12 +9,12 @@ tests:
tags: sensors
depends_on: i2c gpio
harness_config:
type: multi_line
ordered: true
regex:
- "APDS9960 sample application"
- "ambient light intensity (.*), proximity (.*)"
fixture: fixture_i2c_apds9960
type: multi_line
ordered: true
regex:
- "APDS9960 sample application"
- "ambient light intensity (.*), proximity (.*)"
fixture: fixture_i2c_apds9960
sample.sensor.apds9960.trigger:
harness: console
platform_allow: reel_board
@ -25,10 +25,10 @@ tests:
extra_configs:
- CONFIG_APDS9960_TRIGGER_GLOBAL_THREAD=y
harness_config:
type: multi_line
ordered: true
regex:
- "APDS9960 sample application"
- "Waiting for a threshold event"
- "ambient light intensity (.*), proximity (.*)"
fixture: fixture_i2c_apds9960
type: multi_line
ordered: true
regex:
- "APDS9960 sample application"
- "Waiting for a threshold event"
- "ambient light intensity (.*), proximity (.*)"
fixture: fixture_i2c_apds9960

View file

@ -8,17 +8,17 @@ tests:
integration_platforms:
- adafruit_feather_m0_basic_proto
harness_config:
type: one_line
regex:
- "temp: (.*); press: (.*); humidity: (.*)"
fixture: fixture_i2c_bme280
type: one_line
regex:
- "temp: (.*); press: (.*); humidity: (.*)"
fixture: fixture_i2c_bme280
sample.sensor.bme280.spi:
harness: console
tags: sensors
depends_on: spi bme280
extra_args: "DTC_OVERLAY_FILE=arduino_spi.overlay"
harness_config:
type: one_line
regex:
- "temp: (.*); press: (.*); humidity: (.*)"
fixture: fixture_spi_bme280
type: one_line
regex:
- "temp: (.*); press: (.*); humidity: (.*)"
fixture: fixture_spi_bme280

View file

@ -6,7 +6,7 @@ tests:
tags: sensors
depends_on: i2c arduino_i2c
harness_config:
type: one_line
regex:
- "temp: (.*); press: (.*);"
fixture: fixture_i2c_dps310
type: one_line
regex:
- "temp: (.*); press: (.*);"
fixture: fixture_i2c_dps310

View file

@ -1,8 +1,8 @@
sample:
name: DS18B20 Temperature Sensor sample
common:
harness: console
tags: sensors
harness: console
tags: sensors
tests:
sample.sensor.ds18b20.w1_serial:
platform_allow: nucleo_g0b1re nrf52840dk_nrf52840
@ -10,10 +10,10 @@ tests:
- nucleo_g0b1re
- nrf52840dk_nrf52840
harness_config:
type: one_line
regex:
- "Temp: (.*)"
fixture: fixture_w1_serial_ds18b20
type: one_line
regex:
- "Temp: (.*)"
fixture: fixture_w1_serial_ds18b20
sample.sensor.ds18b20.w1_arduino_serial:
platform_allow: nucleo_g071rb
depends_on: arduino_serial
@ -21,7 +21,7 @@ tests:
- nucleo_g071rb
extra_args: "DTC_OVERLAY_FILE=arduino_serial.overlay"
harness_config:
type: one_line
regex:
- "Temp: (.*)"
fixture: fixture_w1_arduino_serial_ds18b20
type: one_line
regex:
- "Temp: (.*)"
fixture: fixture_w1_arduino_serial_ds18b20

View file

@ -1,23 +1,23 @@
sample:
name: HTS221 Temperature and Humidity Monitor
common:
harness: console
integration_platforms:
- disco_l475_iot1
filter: dt_compat_enabled("st,hts221")
tags: sensors
depends_on: i2c hts221
harness_config:
type: multi_line
ordered: true
regex:
- "Observation:(.*)"
- "Temperature:(.*) C"
- "Relative Humidity:(.*)%"
harness: console
integration_platforms:
- disco_l475_iot1
filter: dt_compat_enabled("st,hts221")
tags: sensors
depends_on: i2c hts221
harness_config:
type: multi_line
ordered: true
regex:
- "Observation:(.*)"
- "Temperature:(.*) C"
- "Relative Humidity:(.*)%"
tests:
sample.sensor.hts221:
extra_configs:
- CONFIG_HTS221_TRIGGER_NONE=y
- CONFIG_HTS221_TRIGGER_NONE=y
sample.sensor.hts221.trigger:
extra_configs:
- CONFIG_HTS221_TRIGGER_OWN_THREAD=y
- CONFIG_HTS221_TRIGGER_OWN_THREAD=y

View file

@ -6,9 +6,9 @@ tests:
tags: sensors
depends_on: i2c lps22hb
harness_config:
type: multi_line
ordered: true
regex:
- "Temperature: (.*)"
- "Relative Humidity: (.*)"
fixture: fixture_i2c_lps22hb
type: multi_line
ordered: true
regex:
- "Temperature: (.*)"
- "Relative Humidity: (.*)"
fixture: fixture_i2c_lps22hb

View file

@ -7,9 +7,9 @@ tests:
depends_on: i2c
filter: dt_compat_enabled("st,lps22hh")
harness_config:
type: multi_line
ordered: true
regex:
- "Temperature: (.*)"
- "Pressure: (.*)"
fixture: fixture_i2c_lps22hh
type: multi_line
ordered: true
regex:
- "Temperature: (.*)"
- "Pressure: (.*)"
fixture: fixture_i2c_lps22hh

View file

@ -8,8 +8,8 @@ tests:
filter: dt_compat_enabled("st,lps22hh")
build_only: true
harness_config:
type: multi_line
ordered: true
regex:
- "Temperature: (.*)"
- "Pressure: (.*)"
type: multi_line
ordered: true
regex:
- "Temperature: (.*)"
- "Pressure: (.*)"

View file

@ -9,7 +9,7 @@ tests:
tags: sensors
platform_allow: nrf52840dk_nrf52840
harness_config:
type: one_line
regex:
- "V: (.*) V; I: (.*) mA; T: (.*) °C"
fixture: fixture_i2c_max17262
type: one_line
regex:
- "V: (.*) V; I: (.*) mA; T: (.*) °C"
fixture: fixture_i2c_max17262

View file

@ -6,10 +6,10 @@ tests:
harness: console
depends_on: i2c
harness_config:
type: multi_line
ordered: true
regex:
- "MAX44009 light sensor application"
- "sensor: lum reading: (.*)"
fixture: fixture_i2c_max44009
type: multi_line
ordered: true
regex:
- "MAX44009 light sensor application"
- "sensor: lum reading: (.*)"
fixture: fixture_i2c_max44009
filter: dt_compat_enabled("maxim,max44009")

View file

@ -6,9 +6,9 @@ tests:
harness: console
depends_on: spi
harness_config:
type: multi_line
ordered: true
regex:
- "Temperature: ([0-9\\.]+) C"
fixture: fixture_spi_max6675
type: multi_line
ordered: true
regex:
- "Temperature: ([0-9\\.]+) C"
fixture: fixture_spi_max6675
filter: dt_compat_enabled("maxim,max6675")

View file

@ -7,6 +7,6 @@ tests:
depends_on: i2c gpio
filter: dt_compat_enabled("ti,tmp108")
harness_config:
type: multi_line
regex:
- "temperature is *.*C"
type: multi_line
regex:
- "temperature is *.*C"

View file

@ -7,7 +7,7 @@ tests:
depends_on: i2c
filter: dt_compat_enabled("ti,tmp112")
harness_config:
type: one_line
regex:
- "temp is (.*)"
fixture: fixture_i2c_tmp112
type: one_line
regex:
- "temp is (.*)"
fixture: fixture_i2c_tmp112

View file

@ -9,7 +9,7 @@ tests:
tags: sensors
depends_on: i2c
harness_config:
type: one_line
regex:
- "temp is (.*) oC"
fixture: fixture_i2c_tmp116
type: one_line
regex:
- "temp is (.*) oC"
fixture: fixture_i2c_tmp116

View file

@ -19,4 +19,4 @@ tests:
tags: shield
harness: console
harness_config:
fixture: fixture_shield_adafruit_2_8_tft_touch_v2
fixture: fixture_shield_adafruit_2_8_tft_touch_v2

View file

@ -1,9 +1,9 @@
sample:
name: IPC Service example integration (icmsg backend) (remote)
name: IPC Service example integration (icmsg backend) (remote)
tests:
sample.ipc.icmsg_remote:
platform_allow: nrf5340dk_nrf5340_cpunet
integration_platforms:
- nrf5340dk_nrf5340_cpunet
tags: ipc
harness: remote
sample.ipc.icmsg_remote:
platform_allow: nrf5340dk_nrf5340_cpunet
integration_platforms:
- nrf5340dk_nrf5340_cpunet
tags: ipc
harness: remote

View file

@ -1,9 +1,9 @@
sample:
name: IPC Service example integration (icmsg backend)
name: IPC Service example integration (icmsg backend)
tests:
sample.ipc.icmsg:
platform_allow: nrf5340dk_nrf5340_cpuapp
integration_platforms:
- nrf5340dk_nrf5340_cpuapp
tags: ipc
harness: remote
sample.ipc.icmsg:
platform_allow: nrf5340dk_nrf5340_cpuapp
integration_platforms:
- nrf5340dk_nrf5340_cpuapp
tags: ipc
harness: remote

View file

@ -1,9 +1,9 @@
sample:
name: IPC Service example integration (icmsg multi endpoint follower backend) (remote)
name: IPC Service example integration (icmsg multi endpoint follower backend) (remote)
tests:
sample.ipc.icmsg_me_follower:
platform_allow: nrf5340dk_nrf5340_cpunet
integration_platforms:
- nrf5340dk_nrf5340_cpunet
tags: ipc
harness: remote
sample.ipc.icmsg_me_follower:
platform_allow: nrf5340dk_nrf5340_cpunet
integration_platforms:
- nrf5340dk_nrf5340_cpunet
tags: ipc
harness: remote

View file

@ -1,9 +1,9 @@
sample:
name: IPC Service example integration (icmsg multi endpoint backend)
name: IPC Service example integration (icmsg multi endpoint backend)
tests:
sample.ipc.icmsg_me:
platform_allow: nrf5340dk_nrf5340_cpuapp
integration_platforms:
- nrf5340dk_nrf5340_cpuapp
tags: ipc
harness: remote
sample.ipc.icmsg_me:
platform_allow: nrf5340dk_nrf5340_cpuapp
integration_platforms:
- nrf5340dk_nrf5340_cpuapp
tags: ipc
harness: remote

View file

@ -1,9 +1,9 @@
sample:
name: IPC Service example integration (OpenAMP static_vrings backend) (remote)
name: IPC Service example integration (OpenAMP static_vrings backend) (remote)
tests:
sample.ipc.static_vrings_remote:
platform_allow: nrf5340dk_nrf5340_cpunet
integration_platforms:
- nrf5340dk_nrf5340_cpunet
tags: ipc
harness: remote
sample.ipc.static_vrings_remote:
platform_allow: nrf5340dk_nrf5340_cpunet
integration_platforms:
- nrf5340dk_nrf5340_cpunet
tags: ipc
harness: remote

View file

@ -1,9 +1,9 @@
sample:
name: IPC Service example integration (OpenAMP static_vrings backend)
name: IPC Service example integration (OpenAMP static_vrings backend)
tests:
sample.ipc.static_vrings:
platform_allow: nrf5340dk_nrf5340_cpuapp
integration_platforms:
- nrf5340dk_nrf5340_cpuapp
tags: ipc
harness: remote
sample.ipc.static_vrings:
platform_allow: nrf5340dk_nrf5340_cpuapp
integration_platforms:
- nrf5340dk_nrf5340_cpuapp
tags: ipc
harness: remote

View file

@ -1,18 +1,18 @@
sample:
description: This app provides an example of how to integrate OpenAMP
with Zephyr.
name: OpenAMP example integration
description: This app provides an example of how to integrate OpenAMP
with Zephyr.
name: OpenAMP example integration
tests:
sample.ipc.openamp:
platform_allow: lpcxpresso54114_m4 lpcxpresso55s69_cpu0 mps2_an521 v2m_musca_b1
integration_platforms:
- mps2_an521
tags: ipm
harness: console
sysbuild: true
harness_config:
type: multi_line
regex:
- "Master core received a message: 1"
- "Master core received a message: 99"
- "OpenAMP demo ended."
sample.ipc.openamp:
platform_allow: lpcxpresso54114_m4 lpcxpresso55s69_cpu0 mps2_an521 v2m_musca_b1
integration_platforms:
- mps2_an521
tags: ipm
harness: console
sysbuild: true
harness_config:
type: multi_line
regex:
- "Master core received a message: 1"
- "Master core received a message: 99"
- "OpenAMP demo ended."

View file

@ -1,9 +1,9 @@
sample:
name: Logging in multi-domain environment
name: Logging in multi-domain environment
tests:
sample.logging.multidomain.ipc_static_vrings:
platform_allow: nrf5340dk_nrf5340_cpuapp
integration_platforms:
- nrf5340dk_nrf5340_cpuapp
tags: ipc
build_only: true
sample.logging.multidomain.ipc_static_vrings:
platform_allow: nrf5340dk_nrf5340_cpuapp
integration_platforms:
- nrf5340dk_nrf5340_cpuapp
tags: ipc
build_only: true

View file

@ -2,8 +2,8 @@ sample:
description: Simple Management Protocol sample
name: smp svr
common:
harness: bluetooth
tags: bluetooth
harness: bluetooth
tags: bluetooth
tests:
sample.mcumgr.smp_svr.bt:
extra_args: OVERLAY_CONFIG="overlay-bt.conf"
@ -15,7 +15,7 @@ tests:
extra_args: OVERLAY_CONFIG="overlay-udp.conf"
platform_allow: frdm_k64f
integration_platforms:
- frdm_k64f
- frdm_k64f
sample.mcumgr.smp_svr.cdc:
extra_args: OVERLAY_CONFIG="overlay-cdc.conf"
DTC_OVERLAY_FILE="usb.overlay"

View file

@ -1,11 +1,11 @@
common:
tags: tracing debug
harness: console
harness_config:
type: multi_line
regex:
- "thread_a: Hello World from (.*)!"
- "thread_b: Hello World from (.*)!"
tags: tracing debug
harness: console
harness_config:
type: multi_line
regex:
- "thread_a: Hello World from (.*)!"
- "thread_b: Hello World from (.*)!"
tests:
sample.tracing.user:
extra_args: CONF_FILE="prj_user.conf"

View file

@ -6,8 +6,8 @@ tests:
tags: usb
platform_exclude: native_posix native_posix_64
integration_platforms:
- nrf52840dk_nrf52840
- nrf5340dk_nrf5340_cpuapp
- nrf52840dk_nrf52840
- nrf5340dk_nrf5340_cpuapp
harness: console
harness_config:
type: multi_line

View file

@ -6,8 +6,8 @@ tests:
tags: usb
platform_exclude: native_posix native_posix_64
integration_platforms:
- nrf52840dk_nrf52840
- nrf5340dk_nrf5340_cpuapp
- nrf52840dk_nrf52840
- nrf5340dk_nrf5340_cpuapp
harness: console
harness_config:
type: multi_line

View file

@ -13,8 +13,8 @@ common:
dt_chosen_enabled("zephyr,flash-controller") and
CONFIG_FLASH_HAS_DRIVER_ENABLED
integration_platforms:
- nrf52840dk_nrf52840
- frdm_k64f
- nrf52840dk_nrf52840
- frdm_k64f
tests:
sample.usb.dfu:
tags: usb

View file

@ -6,7 +6,7 @@ tests:
depends_on: usb_device
platform_exclude: native_posix native_posix_64
extra_configs:
- CONFIG_LOG_DEFAULT_LEVEL=3
- CONFIG_LOG_DEFAULT_LEVEL=3
tags: msd usb
harness: console
harness_config:
@ -20,8 +20,8 @@ tests:
depends_on: usb_device
platform_exclude: native_posix native_posix_64
extra_configs:
- CONFIG_LOG_DEFAULT_LEVEL=3
- CONFIG_APP_MSC_STORAGE_RAM=y
- CONFIG_LOG_DEFAULT_LEVEL=3
- CONFIG_APP_MSC_STORAGE_RAM=y
tags: msd usb
harness: console
harness_config:
@ -40,8 +40,8 @@ tests:
integration_platforms:
- nrf52840dk_nrf52840
extra_configs:
- CONFIG_LOG_DEFAULT_LEVEL=3
- CONFIG_APP_MSC_STORAGE_FLASH_FATFS=y
- CONFIG_LOG_DEFAULT_LEVEL=3
- CONFIG_APP_MSC_STORAGE_FLASH_FATFS=y
tags: msd usb
harness: console
harness_config:
@ -56,8 +56,8 @@ tests:
- fatfs
depends_on: usb_device sdhc
extra_configs:
- CONFIG_LOG_DEFAULT_LEVEL=3
- CONFIG_APP_MSC_STORAGE_SDCARD=y
- CONFIG_LOG_DEFAULT_LEVEL=3
- CONFIG_APP_MSC_STORAGE_SDCARD=y
tags: msd usb
harness: console
harness_config:
@ -77,8 +77,8 @@ tests:
integration_platforms:
- nrf52840dk_nrf52840
extra_configs:
- CONFIG_LOG_DEFAULT_LEVEL=3
- CONFIG_APP_MSC_STORAGE_FLASH_LITTLEFS=y
- CONFIG_LOG_DEFAULT_LEVEL=3
- CONFIG_APP_MSC_STORAGE_FLASH_LITTLEFS=y
tags: msd usb
harness: console
harness_config:

View file

@ -1,7 +1,7 @@
sample:
description: This app provides an example of using the PSA Firmware calls
to update to a new firmware using TF-M and MCUBoot.
name: TF-M PSA firmware update example
description: This app provides an example of using the PSA Firmware calls
to update to a new firmware using TF-M and MCUBoot.
name: TF-M PSA firmware update example
tests:
sample.update-success:
tags: introduction tfm
@ -22,7 +22,7 @@ tests:
tags: introduction tfm
platform_allow: mps3_an547_ns
integration_platforms:
- mps3_an547_ns
- mps3_an547_ns
harness: console
timeout: 300
extra_configs:

View file

@ -1,33 +1,33 @@
sample:
description: This app provides an example of using TF-M on the secure
side, with Zephyr on the NS side, using IPC.
name: TF-M IPC example
description: This app provides an example of using TF-M on the secure
side, with Zephyr on the NS side, using IPC.
name: TF-M IPC example
tests:
sample.tfm_ipc:
tags: introduction tfm
platform_allow: mps2_an521_ns mps3_an547_ns
nrf5340dk_nrf5340_cpuapp_ns nrf9160dk_nrf9160_ns nucleo_l552ze_q_ns
stm32l562e_dk_ns v2m_musca_s1_ns v2m_musca_b1_ns bl5340_dvk_cpuapp_ns
integration_platforms:
- mps2_an521_ns
harness: console
harness_config:
type: multi_line
regex:
- "The version of the PSA Framework API is"
- "The minor version is"
- "Connect success!"
- "TF-M IPC on .*"
sample.tfm_ipc.no_bl2:
tags: introduction tfm
platform_allow: mps2_an521_ns
extra_configs:
- CONFIG_TFM_BL2=n
harness: console
harness_config:
type: multi_line
regex:
- "The version of the PSA Framework API is"
- "The minor version is"
- "Connect success!"
- "TF-M IPC on .*"
sample.tfm_ipc:
tags: introduction tfm
platform_allow: mps2_an521_ns mps3_an547_ns
nrf5340dk_nrf5340_cpuapp_ns nrf9160dk_nrf9160_ns nucleo_l552ze_q_ns
stm32l562e_dk_ns v2m_musca_s1_ns v2m_musca_b1_ns bl5340_dvk_cpuapp_ns
integration_platforms:
- mps2_an521_ns
harness: console
harness_config:
type: multi_line
regex:
- "The version of the PSA Framework API is"
- "The minor version is"
- "Connect success!"
- "TF-M IPC on .*"
sample.tfm_ipc.no_bl2:
tags: introduction tfm
platform_allow: mps2_an521_ns
extra_configs:
- CONFIG_TFM_BL2=n
harness: console
harness_config:
type: multi_line
regex:
- "The version of the PSA Framework API is"
- "The minor version is"
- "Connect success!"
- "TF-M IPC on .*"

View file

@ -1,16 +1,16 @@
common:
tags: tfm
platform_allow: mps2_an521_ns
nrf5340dk_nrf5340_cpuapp_ns nrf9160dk_nrf9160_ns
v2m_musca_s1_ns
integration_platforms:
- mps2_an521_ns
harness: console
harness_config:
type: multi_line
regex:
- "\\*\\*\\*\\*\\* PSA Architecture Test Suite - Version .* \\*\\*\\*\\*\\*"
- "TOTAL FAILED *: 0"
tags: tfm
platform_allow: mps2_an521_ns
nrf5340dk_nrf5340_cpuapp_ns nrf9160dk_nrf9160_ns
v2m_musca_s1_ns
integration_platforms:
- mps2_an521_ns
harness: console
harness_config:
type: multi_line
regex:
- "\\*\\*\\*\\*\\* PSA Architecture Test Suite - Version .* \\*\\*\\*\\*\\*"
- "TOTAL FAILED *: 0"
sample:
name: "TFM PSA Test"

View file

@ -1,17 +1,17 @@
common:
tags: tfm
platform_allow: nrf5340dk_nrf5340_cpuapp_ns nrf9160dk_nrf9160_ns
v2m_musca_s1_ns
tags: tfm
platform_allow: nrf5340dk_nrf5340_cpuapp_ns nrf9160dk_nrf9160_ns
v2m_musca_s1_ns
integration_platforms:
- nrf5340dk_nrf5340_cpuapp_ns
harness: console
harness_config:
type: multi_line
regex:
- "Non-Secure system starting..."
- "\\#\\#\\#\\# Execute test suites for the Non-secure area \\#\\#\\#\\#"
- "\\*\\*\\* End of Non-secure test suites \\*\\*\\*"
integration_platforms:
- nrf5340dk_nrf5340_cpuapp_ns
harness: console
harness_config:
type: multi_line
regex:
- "Non-Secure system starting..."
- "\\#\\#\\#\\# Execute test suites for the Non-secure area \\#\\#\\#\\#"
- "\\*\\*\\* End of Non-secure test suites \\*\\*\\*"
sample:
name: "TFM Regression Test"

View file

@ -37,7 +37,7 @@
"non_secure_clients": true,
"version": 1,
"version_policy": "STRICT"
}
}
],
"dependencies": [

View file

@ -3,15 +3,15 @@ sample:
Zephyr application
name: hello world user
common:
integration_platforms:
- mps2_an385
platform_exclude: intel_adsp_cavs15
tags: introduction
harness: console
harness_config:
type: one_line
regex:
- "Hello World from UserSpace! (.*)"
integration_platforms:
- mps2_an385
platform_exclude: intel_adsp_cavs15
tags: introduction
harness: console
harness_config:
type: one_line
regex:
- "Hello World from UserSpace! (.*)"
tests:
sample.helloworld:
filter: CONFIG_ARCH_HAS_USERSPACE

View file

@ -2,14 +2,14 @@ sample:
description: userspace producer-consumer example
name: producer-consumer
common:
integration_platforms:
- mps2_an385
tags: userspace
harness: console
harness_config:
type: one_line
regex:
- "SUCCESS"
integration_platforms:
- mps2_an385
tags: userspace
harness: console
harness_config:
type: one_line
regex:
- "SUCCESS"
tests:
sample.userspace.prod_consumer:
filter: CONFIG_ARCH_HAS_USERSPACE
sample.userspace.prod_consumer:
filter: CONFIG_ARCH_HAS_USERSPACE

View file

@ -3,14 +3,14 @@ sample:
example application
name: protected memory
common:
integration_platforms:
- mps2_an385
tags: userspace
harness: console
harness_config:
type: one_line
regex:
- "MSG"
integration_platforms:
- mps2_an385
tags: userspace
harness: console
harness_config:
type: one_line
regex:
- "MSG"
tests:
sample.kernel.memory_protection.shared_mem:
filter: CONFIG_ARCH_HAS_USERSPACE

View file

@ -2,12 +2,12 @@ sample:
description: syscall performances sample
name: syscall performances
common:
tags: userspace
harness: console
harness_config:
type: one_line
regex:
- "User thread"
tags: userspace
harness: console
harness_config:
type: one_line
regex:
- "User thread"
tests:
sample.syscall_performances:
filter: CONFIG_ARCH_HAS_USERSPACE