tests: samples: fix yaml syntax

Fix indentation and syntax and make it pass yamllint tool.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2017-10-14 12:08:08 -04:00 committed by Anas Nashif
commit 0356590df5
266 changed files with 1699 additions and 1685 deletions

View file

@ -4,5 +4,6 @@ sample:
tests:
- test:
build_only: true
platform_whitelist: arduino_101 quark_d2000_crb nucleo_f103rb nucleo_f401re nucleo_l476rg hexiwear_k64
platform_whitelist: arduino_101 quark_d2000_crb
nucleo_f103rb nucleo_f401re nucleo_l476rg hexiwear_k64
tags: apps

View file

@ -1,8 +1,9 @@
sample:
description: Allows Zephyr to provide Bluetooth connectivity
via SPI.
name: Bluetooth HCI SPI
description: Allows Zephyr to provide Bluetooth connectivity via SPI.
tests:
- test:
tags: samples bluetooth spi
build_only: true
platform_whitelist: 96b_carbon_nrf51 nrf51_pca10028
tags: samples bluetooth spi

View file

@ -4,10 +4,12 @@ sample:
tests:
- test_arm:
build_only: true
platform_whitelist: 96b_nitrogen nrf51_pca10028 nrf52_pca10040 bbc_microbit
platform_whitelist: 96b_nitrogen nrf51_pca10028
nrf52_pca10040 bbc_microbit
tags: uart bluetooth
- test_nrf5:
build_only: true
extra_args: CONF_FILE="nrf5.conf"
platform_whitelist: 96b_nitrogen nrf51_pca10028 nrf52_pca10040 arduino_101_ble
platform_whitelist: 96b_nitrogen nrf51_pca10028
nrf52_pca10040 arduino_101_ble
tags: uart bluetooth

View file

@ -4,6 +4,6 @@ sample:
tests:
- test_x86:
build_only: true
depends_on: usb_device
platform_whitelist: quark_se_c1000_devboard
tags: usb bluetooth
depends_on: usb_device

View file

@ -3,6 +3,6 @@ sample:
tests:
- test:
build_only: true
platform_whitelist: bbc_microbit nrf51_blenano
qemu_x86
tags: bluetooth
# FIXME: does not fit on all Bluetooth devices
platform_whitelist: bbc_microbit nrf51_blenano qemu_x86

View file

@ -3,6 +3,6 @@ sample:
tests:
- test:
build_only: true
platform_whitelist: bbc_microbit nrf51_blenano
qemu_x86
tags: bluetooth
# FIXME: does not fit on all Bluetooth devices
platform_whitelist: bbc_microbit nrf51_blenano qemu_x86

View file

@ -1,8 +1,10 @@
sample:
description: >
Environmental Sensing sample using BLE and sensor features on
Arduino 101.
name: Environmental Sensing (Application Processor Part)
description: 'Environmental Sensing sample using BLE
and sensor features on Arduino 101.
'
name: Environmental Sensing (Application Processor
Part)
tests:
- test:
build_only: true

View file

@ -1,7 +1,8 @@
sample:
description: >
Environmental Sensing sample using BLE and sensor features on
Arduino 101.
description: 'Environmental Sensing sample using BLE
and sensor features on Arduino 101.
'
name: Environmental Sensing (Sensor Subsystem Part)
tests:
- test:

View file

@ -4,5 +4,5 @@ sample:
tests:
- test:
build_only: true
toolchain_exclude: issm
tags: apps
toolchain_exclude: issm

View file

@ -1,5 +1,6 @@
sample:
description: Shell commands for inspecting flash driver behavior
description: Shell commands for inspecting flash driver
behavior
name: Flash shell
tests:
- test:

View file

@ -4,6 +4,6 @@ sample:
tests:
- test:
build_only: true
platform_whitelist: quark_se_c1000_devboard
arduino_101 arduino_101_sss arduino_due
platform_whitelist: quark_se_c1000_devboard arduino_101
arduino_101_sss arduino_due
tags: drivers

View file

@ -4,5 +4,6 @@ sample:
tests:
- test:
build_only: true
platform_whitelist: arduino_101_sss quark_d2000_crb arduino_due
platform_whitelist: arduino_101_sss quark_d2000_crb
arduino_due
tags: drivers

View file

@ -4,6 +4,7 @@ sample:
tests:
- test:
build_only: true
platform_whitelist: arduino_101_sss quark_d2000_crb arduino_due
tags: drivers
min_flash: 33
platform_whitelist: arduino_101_sss quark_d2000_crb
arduino_due
tags: drivers

View file

@ -1,6 +1,7 @@
sample:
description: Hello World sample, the simplest Zephyr
application
name: hello world
description: Hello World sample, the simplest Zephyr application
platforms: all
tests:
- test:

View file

@ -4,8 +4,8 @@ sample:
tests:
- test:
build_only: true
platform_whitelist: quark_se_c1000_devboard
galileo frdm_k64f
platform_whitelist: quark_se_c1000_devboard galileo
frdm_k64f
tags: net
- test_bt:
build_only: true

View file

@ -3,5 +3,5 @@ sample:
tests:
- test:
build_only: true
tags: net coap dtls
depends_on: netif
tags: net coap dtls

View file

@ -3,5 +3,5 @@ sample:
tests:
- test:
build_only: true
tags: net coap
depends_on: netif
tags: net coap

View file

@ -3,5 +3,5 @@ sample:
tests:
- test:
build_only: true
tags: net http
depends_on: netif
tags: net http

View file

@ -4,5 +4,5 @@ sample:
tests:
- test:
build_only: true
tags: net dns
depends_on: netif
tags: net dns

View file

@ -3,10 +3,10 @@ sample:
tests:
- test:
build_only: true
tags: net http
depends_on: netif
tags: net http
- test_bt:
build_only: true
platform_whitelist: qemu_x86 qemu_cortex_m3
extra_args: CONF_FILE="prj_bt.conf"
platform_whitelist: qemu_x86 qemu_cortex_m3
tags: net http

View file

@ -3,10 +3,10 @@ sample:
tests:
- test:
build_only: true
tags: net http
depends_on: netif
tags: net http
- test_bt:
build_only: true
platform_whitelist: qemu_x86
extra_args: CONF_FILE="prj_bt.conf"
platform_whitelist: qemu_x86
tags: net http

View file

@ -3,11 +3,11 @@ sample:
tests:
- test:
build_only: true
tags: net http
platform_exclude: qemu_cortex_m3 # does not fit in SRAM
depends_on: netif
platform_exclude: qemu_cortex_m3
tags: net http
- test_bt:
build_only: true
platform_whitelist: qemu_x86
extra_args: CONF_FILE="prj_bt.conf"
platform_whitelist: qemu_x86
tags: net http

View file

@ -3,5 +3,5 @@ sample:
tests:
- test:
build_only: true
tags: net irc
depends_on: netif
tags: net irc

View file

@ -3,5 +3,5 @@ sample:
tests:
- test:
build_only: true
tags: net
depends_on: netif
tags: net

View file

@ -3,5 +3,5 @@ sample:
tests:
- test:
build_only: true
tags: net
depends_on: netif
tags: net

View file

@ -3,5 +3,5 @@ sample:
tests:
- test:
build_only: true
tags: net nats
depends_on: netif
tags: net nats

View file

@ -3,6 +3,6 @@ sample:
name: socket_dumb_http_server
tests:
- test:
min_ram: 32
build_only: true
min_ram: 32
tags: net

View file

@ -1,5 +1,6 @@
sample:
description: BSD Sockets API TCP echo server sample using non-blocking sockets
description: BSD Sockets API TCP echo server sample
using non-blocking sockets
name: socket_echo_async
tests:
- test:

View file

@ -3,6 +3,6 @@ sample:
name: socket_http_get
tests:
- test:
min_ram: 32
build_only: true
min_ram: 32
tags: net

View file

@ -3,5 +3,5 @@ sample:
tests:
- test:
build_only: true
tags: net telnet
depends_on: netif
tags: net telnet

View file

@ -4,6 +4,6 @@ sample:
tests:
- test_x86:
build_only: true
depends_on: usb_device
platform_whitelist: quark_se_c1000_devboard
tags: usb
depends_on: usb_device

View file

@ -4,5 +4,5 @@ sample:
tests:
- test_15_4:
build_only: true
tags: net ieee802154 usb
depends_on: ieee802154 usb_device
tags: net ieee802154 usb

View file

@ -3,5 +3,5 @@ sample:
tests:
- test:
build_only: true
tags: apps debug
platform_whitelist: frdm_k64f
tags: apps debug

View file

@ -4,6 +4,6 @@ sample:
tests:
- test_x86:
build_only: true
depends_on: usb_device
platform_whitelist: arduino_101
tags: usb
depends_on: usb_device

View file

@ -4,6 +4,6 @@ sample:
tests:
- test:
build_only: true
depends_on: usb_device
platform_whitelist: arduino_101
tags: usb
depends_on: usb_device

View file

@ -4,6 +4,6 @@ sample:
tests:
- test_x86:
build_only: true
depends_on: usb_device
platform_whitelist: quark_se_c1000_devboard
tags: usb
depends_on: usb_device

View file

@ -4,6 +4,6 @@ sample:
tests:
- test_x86:
build_only: true
depends_on: usb_device
platform_whitelist: quark_se_c1000_devboard
tags: usb
depends_on: usb_device

View file

@ -1,8 +1,9 @@
sample:
description: A simple application that demonstrates basic sanity of the kernel.
description: A simple application that demonstrates
basic sanity of the kernel.
name: Synchronization Sample
tests:
- test:
build_on_all: true
build_only: true
tags: apps
build_on_all: true

View file

@ -5,10 +5,10 @@ tests:
tags: footprint
- footprint-reg:
arch_whitelist: x86 arm
platform_exclude: quark_d2000_crb
build_only: true
extra_args: TEST=reg
min_ram: 8
platform_exclude: quark_d2000_crb
tags: footprint
- footprint-max:
arch_whitelist: x86 arm

View file

@ -2,55 +2,55 @@ tests:
- test_001:
build_only: true
extra_args: CONF_FILE=prj01.conf
tags: footprint
platform_whitelist: qemu_x86
tags: footprint
- test_002:
build_only: true
extra_args: CONF_FILE=prj02.conf
tags: footprint
platform_whitelist: qemu_x86
tags: footprint
- test_003:
build_only: true
extra_args: CONF_FILE=prj03.conf
tags: footprint
platform_whitelist: qemu_x86
tags: footprint
- test_004:
build_only: true
extra_args: CONF_FILE=prj04.conf
tags: footprint
platform_whitelist: qemu_x86
tags: footprint
- test_005:
build_only: true
extra_args: CONF_FILE=prj05.conf
tags: footprint
platform_whitelist: qemu_x86
tags: footprint
- test_006:
build_only: true
extra_args: CONF_FILE=prj06.conf
tags: footprint
platform_whitelist: qemu_x86
tags: footprint
- test_007:
build_only: true
extra_args: CONF_FILE=prj07.conf
tags: footprint
platform_whitelist: qemu_x86
tags: footprint
- test_008:
build_only: true
extra_args: CONF_FILE=prj08.conf
tags: footprint
platform_whitelist: qemu_x86
tags: footprint
- test_009:
build_only: true
extra_args: CONF_FILE=prj09.conf
tags: footprint
platform_whitelist: qemu_x86
tags: footprint
- test_010:
build_only: true
extra_args: CONF_FILE=prj10.conf
tags: footprint
platform_whitelist: qemu_x86
tags: footprint
- test_011:
build_only: true
extra_args: CONF_FILE=prj11.conf
tags: footprint
platform_whitelist: qemu_x86
tags: footprint

View file

@ -1,8 +1,7 @@
tests:
- test:
build_only: true
platform_whitelist: qemu_cortex_m3 qemu_x86
arduino_101
platform_whitelist: qemu_cortex_m3 qemu_x86 arduino_101
tags: bluetooth
- test_br:
build_only: true

View file

@ -1,6 +1,6 @@
tests:
- test:
min_ram: 16
slow: true
tags: crypto ecc dh
timeout: 500
min_ram: 16

View file

@ -1,7 +1,7 @@
tests:
- test:
min_ram: 32
filter: not CONFIG_DEBUG
min_flash: 33
min_ram: 32
tags: crypto mbedtls
timeout: 200
filter: not CONFIG_DEBUG

View file

@ -1,6 +1,7 @@
tests:
- test_adc:
platform_whitelist: frdm_k64f frdm_kw41z frdm_kl25z hexiwear_k64
platform_whitelist: frdm_k64f frdm_kw41z frdm_kl25z
hexiwear_k64
tags: drivers
- test_adc_arc_resolution_6:
extra_args: CONF_FILE=prj_resolution_6.conf

View file

@ -1,5 +1,5 @@
tests:
- test:
platform_whitelist: galileo arduino_101_sss
quark_d2000_crb quark_se_c1000_ss_devboard
platform_whitelist: galileo arduino_101_sss quark_d2000_crb
quark_se_c1000_ss_devboard
tags: apps

View file

@ -1,5 +1,6 @@
tests:
- test_aio:
build_only: true
platform_whitelist: quark_se_c1000_devboard quark_d2000_crb arduino_101
platform_whitelist: quark_se_c1000_devboard quark_d2000_crb
arduino_101
tags: drivers

View file

@ -1,6 +1,5 @@
tests:
- test_aon:
platform_whitelist: quark_se_c1000_devboard
quark_se_c1000_ss_devboard quark_d2000_crb
arduino_101 arduino_101_sss
platform_whitelist: quark_se_c1000_devboard quark_se_c1000_ss_devboard
quark_d2000_crb arduino_101 arduino_101_sss
tags: drivers

View file

@ -1,29 +1,29 @@
tests:
- test_build_drivers:
build_only: true
tags: drivers footprint
min_ram: 16
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
platform_exclude: zedboard_pulpino
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
platform_exclude: zedboard_pulpino
tags: drivers footprint
- test_build_sensor_triggers:
build_only: true
extra_args: CONF_FILE=sensors_trigger.conf
min_ram: 32
tags: drivers footprint
platform_exclude: zedboard_pulpino
tags: drivers footprint
- test_build_ethernet:
build_only: true
extra_args: CONF_FILE=ethernet.conf
min_ram: 32
tags: drivers footprint
platform_exclude: zedboard_pulpino
tags: drivers footprint

View file

@ -1,11 +1,11 @@
tests:
- test_dma:
min_ram: 16
platform_whitelist: quark_se_c1000_devboard quark_d2000_crb
tags: drivers dma
min_ram: 16
- test_dma_shell:
build_only: true
extra_args: CONF_FILE=prj_shell.conf
platform_whitelist: quark_se_c1000_devboard quark_d2000_crb
min_ram: 16
platform_whitelist: quark_se_c1000_devboard quark_d2000_crb
tags: drivers dma

View file

@ -1,7 +1,7 @@
tests:
- test_pwm:
platform_whitelist: quark_se_c1000_devboard
quark_se_c1000_ss_devboard arduino_101 arduino_101_sss
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

View file

@ -1,4 +1,5 @@
tests:
- test_spi:
platform_whitelist: quark_se_c1000_devboard quark_d2000_crb galileo frdm_k64f
platform_whitelist: quark_se_c1000_devboard quark_d2000_crb
galileo frdm_k64f
tags: apps

View file

@ -1,10 +1,10 @@
tests:
- test:
arch_exclude: xtensa # FIXME
arch_exclude: xtensa
min_ram: 32
tags: core
- test_newlib:
arch_exclude: xtensa # FIXME
arch_exclude: xtensa
extra_args: CONF_FILE=prj_newlib.conf
min_ram: 32
tags: core

View file

@ -1,9 +1,9 @@
tests:
- stack-sentinel:
arch_exclude: arc
tags: core ignore_faults
extra_args: CONF_FILE=sentinel.conf
tags: core ignore_faults
- stack-protection:
extra_args: CONF_FILE=prj.conf
tags: core ignore_faults
filter: ARCH_HAS_STACK_PROTECTION
tags: core ignore_faults

View file

@ -1,4 +1,4 @@
tests:
- test:
tags: core security
arch_whitelist: x86 arm
tags: core security

View file

@ -1,4 +1,4 @@
tests:
- test:
tags: core security
filter: CONFIG_ARCH_HAS_USERSPACE
tags: core security

View file

@ -1,4 +1,4 @@
tests:
- test:
tags: kernel threads sched
min_ram: 20
tags: kernel threads sched

View file

@ -1,7 +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)
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

View file

@ -1,6 +1,6 @@
tests:
- test:
build_only: true
tags: net
min_ram: 32
platform_whitelist: qemu_x86 qemu_cortex_m3
tags: net

View file

@ -1,11 +1,11 @@
tests:
- test:
tags: net
filter: not CONFIG_BT
min_ram: 12
platform_exclude: qemu_xtensa
- test_with_bt:
tags: net
- test_with_bt:
filter: CONFIG_BT
min_ram: 16
platform_exclude: qemu_xtensa
tags: net

View file

@ -1,10 +1,10 @@
tests:
- test:
tags: net
filter: not CONFIG_BT
min_ram: 12
platform_exclude: hexiwear_kw40z
- test_with_bt:
tags: net
- test_with_bt:
filter: CONFIG_BT
min_ram: 16
tags: net

View file

@ -1,9 +1,9 @@
tests:
- test:
tags: net
filter: not CONFIG_BT
min_ram: 12
- test_with_bt:
tags: net
- test_with_bt:
filter: CONFIG_BT
min_ram: 16
tags: net

View file

@ -1,5 +1,5 @@
tests:
- test:
tags: net
min_ram: 16
platform_exclude: qemu_xtensa
tags: net

View file

@ -1,4 +1,4 @@
tests:
- test:
tags: net
min_ram: 16
tags: net

View file

@ -1,9 +1,9 @@
tests:
- test:
tags: net
filter: not CONFIG_BT
min_ram: 12
- test_with_bt:
tags: net
- test_with_bt:
filter: CONFIG_BT
min_ram: 16
tags: net

View file

@ -1,4 +1,4 @@
tests:
- test:
tags: net
min_ram: 16
tags: net

View file

@ -1,10 +1,10 @@
tests:
- test:
tags: dns net
min_ram: 16
tags: dns net
timeout: 600
- test-no-ipv6:
tags: dns net
min_ram: 16
timeout: 600
extra_args: CONF_FILE=prj-no-ipv6.conf
min_ram: 16
tags: dns net
timeout: 600

View file

@ -1,10 +1,10 @@
tests:
- test:
tags: http net
filter: not CONFIG_BT
min_ram: 12
platform_exclude: hexiwear_kw40z
- test_with_bt:
tags: http net
- test_with_bt:
filter: CONFIG_BT
min_ram: 16
tags: http net

View file

@ -5,6 +5,6 @@ tests:
tags: net mqtt
- test_tls:
build_only: true
platform_whitelist: frdm_k64f qemu_x86
extra_args: CONF_FILE="prj_tls.conf"
platform_whitelist: frdm_k64f qemu_x86
tags: net mqtt

View file

@ -1,9 +1,9 @@
tests:
- test:
tags: net
filter: not CONFIG_BT
min_ram: 12
- test_with_bt:
tags: net
- test_with_bt:
filter: CONFIG_BT
min_ram: 16
tags: net

View file

@ -1,9 +1,9 @@
tests:
- test:
tags: net
filter: not CONFIG_BT
min_ram: 12
- test_with_bt:
tags: net
- test_with_bt:
filter: CONFIG_BT
min_ram: 16
tags: net

View file

@ -1,5 +1,5 @@
tests:
- test:
tags: net
min_ram: 20
depends_on: netif
min_ram: 20
tags: net

View file

@ -1,10 +1,10 @@
tests:
- test:
tags: net
filter: not CONFIG_BT
min_ram: 12
platform_exclude: hexiwear_kw40z
- test_with_bt:
tags: net
- test_with_bt:
filter: CONFIG_BT
min_ram: 16
tags: net

View file

@ -1,4 +1,4 @@
tests:
- test:
tags: net
min_ram: 16
tags: net

View file

@ -1,4 +1,4 @@
tests:
- test:
tags: net
min_ram: 12
tags: net

View file

@ -1,5 +1,5 @@
tests:
- test:
tags: net
min_ram: 20
depends_on: netif
min_ram: 20
tags: net

View file

@ -1,4 +1,4 @@
tests:
- test:
tags: net
min_ram: 16
tags: net

View file

@ -1,4 +1,4 @@
tests:
- test:
tags: shell
filter: (CONFIG_UART_CONSOLE and CONFIG_SERIAL_SUPPORT_INTERRUPT)
tags: shell

View file

@ -3,10 +3,10 @@ tests:
platform_whitelist: qemu_x86
tags: nffs fs
- test_large:
platform_whitelist: qemu_x86
extra_args: TEST=large
platform_whitelist: qemu_x86
tags: nffs fs
- test_cache:
platform_whitelist: qemu_x86
extra_args: CONF_FILE=prj_cache.conf TEST=cache
platform_whitelist: qemu_x86
tags: nffs fs

View file

@ -2,5 +2,5 @@ tests:
- test:
build_only: true
min_ram: 16
tags: bluetooth
platform_whitelist: qemu_x86_iamcu qemu_cortex_m3
tags: bluetooth