Skip to content

Commit da5f185

Browse files
committed
samples: add test identifier
Add unique identifier instead of just 'test' for samples. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
1 parent eba7854 commit da5f185

File tree

154 files changed

+202
-207
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

154 files changed

+202
-207
lines changed

samples/application_development/code_relocation/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ sample:
22
description: Code data relocation Sample
33
name: code relocation
44
tests:
5-
test:
5+
sample.app_dev.code_relocation:
66
harness: console
77
harness_config:
88
type: one_line

samples/application_development/external_lib/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sample:
22
name: External Library
33
tests:
4-
test:
4+
sample.app_dev.external_lib:
55
tags: external
66
platform_exclude: qemu_x86_64
77
harness: console

samples/application_development/out_of_tree_board/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ sample:
22
description: Sample that uses an out-of-tree board
33
name: Out-of-tree board
44
tests:
5-
boards.out_of_tree:
5+
sample.app_dev.out_of_tree:
66
tags: out_of_tree
77
platform_whitelist: nrf52840_pca10056 nrf52_pca10040
88
harness: console

samples/basic/blink_led/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sample:
22
name: Blink LED (PWM based)
33
tests:
4-
test:
4+
sample.blink_led:
55
# FIXME: We should remove those and just rely on depends_on
66
platform_whitelist: arduino_101 quark_d2000_crb
77
nucleo_f103rb nucleo_f302r8 nucleo_f401re nucleo_l476rg stm32f4_disco

samples/basic/blinky/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sample:
22
name: Blinky Sample
33
tests:
4-
test:
4+
sample.blinky:
55
tags: LED gpio
66
filter: DT_GPIO_LEDS_LED0_GPIO_CONTROLLER
77
depends_on: gpio

samples/basic/button/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sample:
22
name: Button Sample
33
tests:
4-
test:
4+
sample.button:
55
tags: button gpio
66
filter: DT_GPIO_KEYS_SW0_GPIO_CONTROLLER
77
depends_on: gpio

samples/basic/disco/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sample:
22
name: Disco Lights
33
tests:
4-
test:
4+
sample.disco:
55
filter: DT_GPIO_LEDS_LED0_GPIO_CONTROLLER and DT_GPIO_LEDS_LED1_GPIO_CONTROLLER
66
tags: LED gpio
77
depends_on: gpio

samples/basic/fade_led/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sample:
22
name: Fade LED
33
tests:
4-
test:
4+
sample.fade_led:
55
# FIXME: We should remove those and just rely on depends_on
66
platform_whitelist: arduino_101 quark_d2000_crb
77
nucleo_f103rb nucleo_f401re nucleo_l476rg nucleo_l496zg hexiwear_k64

samples/basic/rgb_led/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sample:
22
name: RGB LED
33
tests:
4-
test:
4+
sample.rgb_led:
55
filter: DT_PWM_LEDS_RED_PWM_LED_PWM_CONTROLLER and
66
DT_PWM_LEDS_GREEN_PWM_LED_PWM_CONTROLLER and
77
DT_PWM_LEDS_BLUE_PWM_LED_PWM_CONTROLLER

samples/basic/servo_motor/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sample:
22
name: Servo Motor using PWM
33
tests:
4-
test:
4+
sample.servo_motor:
55
# FIXME: We should remove those and just rely on depends_on
66
platform_whitelist: arduino_101 quark_d2000_crb bbc_microbit
77
tags: drivers pwm

samples/basic/threads/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ sample:
33
using K_THREAD_DEFINE
44
name: Basic Thread Demo
55
tests:
6-
test:
6+
sample.threads:
77
tags: kernel threads gpio
88
filter: DT_GPIO_LEDS_LED0_GPIO_CONTROLLER and DT_GPIO_LEDS_LED1_GPIO_CONTROLLER
99
depends_on: gpio

samples/bluetooth/beacon/sample.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
sample:
2-
description: TBD
3-
name: TBD
2+
name: Bluetooth Beacon
43
tests:
5-
test:
4+
sample.bluetooth.beacon:
65
harness: bluetooth
76
platform_whitelist: qemu_cortex_m3 qemu_x86 nrf52_pca10040
87
tags: bluetooth

samples/bluetooth/central/sample.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
sample:
2-
description: TBD
3-
name: TBD
2+
name: Bluetooth Central
43
tests:
5-
test:
4+
sample.bluetooth.central:
65
harness: bluetooth
76
platform_whitelist: qemu_cortex_m3 qemu_x86
87
tags: bluetooth
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
sample:
2-
description: TBD
3-
name: TBD
2+
name: Bluetooth Central HR
43
tests:
5-
test:
4+
sample.bluetooth.central_hr:
65
arch_whitelist: x86
76
harness: bluetooth
87
tags: bluetooth
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
sample:
2-
description: TBD
3-
name: TBD
2+
name: Bluetooth Eddystone
43
tests:
5-
test:
4+
sample.bluetooth.eddystone:
65
harness: bluetooth
76
platform_whitelist: qemu_cortex_m3 qemu_x86
87
tags: bluetooth
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
sample:
2-
description: TBD
3-
name: TBD
2+
name: Bluetooth Handsfree
43
tests:
5-
test:
4+
sample.bluetooth.handsfree:
65
harness: bluetooth
76
platform_whitelist: qemu_cortex_m3 qemu_x86
87
tags: bluetooth

samples/bluetooth/hci_spi/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ sample:
33
via SPI.
44
name: Bluetooth HCI SPI
55
tests:
6-
test:
6+
sample.bluetooth.hci_spi:
77
harness: bluetooth
88
platform_whitelist: 96b_carbon_nrf51 nrf51_pca10028
99
tags: bluetooth spi

samples/bluetooth/hci_uart/sample.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ sample:
22
description: TBD
33
name: TBD
44
tests:
5-
test_arm:
5+
sample.bluetooth.hci_uart.arm:
66
harness: bluetooth
77
platform_whitelist: 96b_nitrogen nrf51_pca10028
88
nrf52_pca10040 bbc_microbit
99
tags: uart bluetooth
10-
test_nrf5:
10+
sample.bluetooth.hci_uart.nrf5:
1111
harness: bluetooth
1212
extra_args: CONF_FILE="nrf5.conf"
1313
platform_whitelist: 96b_nitrogen nrf51_pca10028

samples/bluetooth/ibeacon/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ sample:
22
description: Sample code for Zephyr iBeacon Demo
33
name: iBeacon
44
tests:
5-
test:
5+
sample.bluetooth.ibeacon:
66
harness: bluetooth
77
platform_whitelist: bbc_microbit qemu_x86
88
tags: bluetooth

samples/bluetooth/ipsp/sample.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ sample:
22
description: TBD
33
name: TBD
44
tests:
5-
test:
5+
sample.bluetooth.ipsp:
66
harness: bluetooth
77
platform_whitelist: qemu_x86 qemu_cortex_m3
88
tags: bluetooth net
9-
test_zep1656:
9+
sample.bluetooth.ipsp.zep1656:
1010
harness: bluetooth
1111
extra_args: CONF_FILE="prj_zep1656.conf"
1212
platform_whitelist: qemu_x86 qemu_cortex_m3

samples/bluetooth/mesh/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sample:
22
name: Bluetooth Mesh
33
tests:
4-
test:
4+
sample.bluetooth.mesh:
55
harness: bluetooth
66
platform_whitelist: bbc_microbit nrf51_blenano qemu_x86
77
tags: bluetooth
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sample:
22
name: Bluetooth Mesh Demo
33
tests:
4-
test:
4+
sample.bluetooth.mesh_demo:
55
harness: bluetooth
66
platform_whitelist: bbc_microbit nrf51_blenano qemu_x86
77
tags: bluetooth

samples/bluetooth/peripheral/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ sample:
22
description: TBD
33
name: TBD
44
tests:
5-
test:
5+
sample.bluetooth.peripheral:
66
harness: bluetooth
77
platform_whitelist: qemu_cortex_m3 qemu_x86
88
tags: bluetooth

samples/bluetooth/peripheral_csc/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ sample:
22
description: TBD
33
name: TBD
44
tests:
5-
test:
5+
sample.bluetooth.peripheral_csc:
66
harness: bluetooth
77
platform_whitelist: qemu_cortex_m3 qemu_x86
88
tags: bluetooth

samples/bluetooth/peripheral_dis/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ sample:
22
description: TBD
33
name: TBD
44
tests:
5-
test:
5+
sample.bluetooth.peripheral_dis:
66
harness: bluetooth
77
platform_whitelist: qemu_cortex_m3 qemu_x86
88
tags: bluetooth

samples/bluetooth/peripheral_esp/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ sample:
22
description: TBD
33
name: TBD
44
tests:
5-
test:
5+
sample.bluetooth.peripheral_esp:
66
harness: bluetooth
77
platform_whitelist: qemu_cortex_m3 qemu_x86
88
tags: bluetooth

samples/bluetooth/peripheral_hids/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ sample:
22
description: TBD
33
name: TBD
44
tests:
5-
test:
5+
sample.bluetooth.peripheral_hids:
66
harness: bluetooth
77
platform_whitelist: qemu_cortex_m3 qemu_x86
88
tags: bluetooth

samples/bluetooth/peripheral_hr/sample.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ sample:
22
description: TBD
33
name: TBD
44
tests:
5-
test:
5+
sample.bluetooth.peripheral_hr:
66
harness: bluetooth
77
platform_whitelist: qemu_cortex_m3 qemu_x86
88
tags: bluetooth
9-
test_frdm_kw41z_shield:
9+
sample.bluetooth.peripheral_hr.frdm_kw41z_shield:
1010
harness: bluetooth
1111
platform_whitelist: mimxrt1020_evk mimxrt1050_evk mimxrt1060_evk frdm_k64f
1212
tags: bluetooth

samples/bluetooth/peripheral_sc_only/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ sample:
22
description: TBD
33
name: TBD
44
tests:
5-
test:
5+
sample.bluetooth.peripheral_sc_only:
66
harness: bluetooth
77
platform_whitelist: qemu_cortex_m3 qemu_x86
88
tags: bluetooth

samples/bluetooth/scan_adv/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ sample:
22
description: TBD
33
name: TBD
44
tests:
5-
test:
5+
sample.bluetooth.scan_adv:
66
harness: bluetooth
77
platform_whitelist: qemu_cortex_m3 qemu_x86
88
tags: bluetooth

samples/boards/96b_argonkey/microphone/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ sample:
22
description: ArgonKey sensor testing
33
name: ArgonKey test
44
tests:
5-
test:
5+
sample.board.96b_argonkey.microphone:
66
harness: sensor
77
platform_whitelist: 96b_argonkey
88
tags: sensors

samples/boards/96b_argonkey/sensors/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ sample:
22
description: ArgonKey sensor testing
33
name: ArgonKey test
44
tests:
5-
test:
5+
sample.board.96b_argonkey.sensors:
66
harness: sensor
77
platform_whitelist: 96b_argonkey
88
tags: sensors

samples/boards/altera_max10/pio/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ sample:
33
PIO soft IP block.
44
name: Nios-II Parallel Input/Output (PIO)
55
tests:
6-
test:
6+
sample.board.altera_max10.pio:
77
platform_whitelist: altera_max10
88
tags: pio

samples/boards/arduino_101/environmental_sensing/ap/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ sample:
33
and sensor features on Arduino 101.
44
name: Environmental Sensing (Application Processor Part)
55
tests:
6-
test:
6+
sample.board.arduino_101.env_sensing:
77
platform_whitelist: arduino_101
88
tags: sensors
99
harness: sensor

samples/boards/arduino_101/environmental_sensing/sensor/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ sample:
33
and sensor features on Arduino 101.
44
name: Environmental Sensing (Sensor Subsystem Part)
55
tests:
6-
test:
6+
sample.board.arduino_101_sss.env_sensing:
77
platform_whitelist: arduino_101_sss
88
tags: sensors
99
harness: sensor
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
sample:
22
name: BB micro:bit Display
33
tests:
4-
test:
4+
sample.board.bbc_microbit.display:
55
platform_whitelist: bbc_microbit
66
tags: display
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
sample:
22
name: Pong game using BBC Micro:bit
33
tests:
4-
test:
4+
sample.board.bbc_microbit.pong:
55
platform_whitelist: bbc_microbit
66
tags: microbit mesh bluetooth
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
sample:
22
name: BBC micro:bit Sound
33
tests:
4-
test:
4+
sample.board.bbc_microbit.sound:
55
platform_whitelist: bbc_microbit
66
tags: sound
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
sample:
22
name: 2-way Audio Forwarding Sample
33
tests:
4-
test:
4+
sample.board.intel_s1000_crb.audio:
55
platform_whitelist: intel_s1000_crb
66
tags: audio
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
sample:
22
name: I2S Audio Sample
33
tests:
4-
test:
4+
sample.board.intel_s1000_crb.i2s:
55
platform_whitelist: intel_s1000_crb
66
tags: i2s
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sample:
22
name: CCM usages example on Olimex STM32-E407
33
tests:
4-
test:
4+
sample.board.olimex_stm32_e407.ccm:
55
platform_whitelist: olimex_stm32_e407
66
tags: board
77

samples/boards/reel_board/mesh_badge/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ sample:
22
description: reel board mesh badge sample
33
name: mesh badge
44
tests:
5-
test:
5+
sample.board.reel_board.mesh_badge:
66
platform_whitelist: reel_board
77
tags: samples sensor
88
harness: sensor

0 commit comments

Comments
 (0)