samples: bluetooth and net samples need test setup

remove build_only and make them depend on test harness (bluetooth)

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2017-12-10 10:17:32 -05:00 committed by Anas Nashif
parent 2292d7881d
commit b5b8095749
48 changed files with 60 additions and 60 deletions

View file

@ -3,6 +3,6 @@ sample:
name: TBD name: TBD
tests: tests:
test: test:
build_only: true harness: bluetooth
platform_whitelist: qemu_cortex_m3 qemu_x86 nrf52_pca10040 platform_whitelist: qemu_cortex_m3 qemu_x86 nrf52_pca10040
tags: bluetooth tags: bluetooth

View file

@ -3,6 +3,6 @@ sample:
name: TBD name: TBD
tests: tests:
test: test:
build_only: true harness: bluetooth
platform_whitelist: qemu_cortex_m3 qemu_x86 platform_whitelist: qemu_cortex_m3 qemu_x86
tags: bluetooth tags: bluetooth

View file

@ -4,5 +4,5 @@ sample:
tests: tests:
test: test:
arch_whitelist: x86 arch_whitelist: x86
build_only: true harness: bluetooth
tags: bluetooth tags: bluetooth

View file

@ -3,6 +3,6 @@ sample:
name: TBD name: TBD
tests: tests:
test: test:
build_only: true harness: bluetooth
platform_whitelist: qemu_cortex_m3 qemu_x86 platform_whitelist: qemu_cortex_m3 qemu_x86
tags: bluetooth tags: bluetooth

View file

@ -3,6 +3,6 @@ sample:
name: TBD name: TBD
tests: tests:
test: test:
build_only: true harness: bluetooth
platform_whitelist: qemu_cortex_m3 qemu_x86 platform_whitelist: qemu_cortex_m3 qemu_x86
tags: bluetooth tags: bluetooth

View file

@ -4,6 +4,6 @@ sample:
name: Bluetooth HCI SPI name: Bluetooth HCI SPI
tests: tests:
test: test:
build_only: true harness: bluetooth
platform_whitelist: 96b_carbon_nrf51 nrf51_pca10028 platform_whitelist: 96b_carbon_nrf51 nrf51_pca10028
tags: samples bluetooth spi tags: samples bluetooth spi

View file

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

View file

@ -3,7 +3,7 @@ sample:
name: TBD name: TBD
tests: tests:
test_x86: test_x86:
build_only: true harness: bluetooth
depends_on: usb_device depends_on: usb_device
extra_configs: extra_configs:
- CONFIG_USB_DEVICE_VID=0xDEAD - CONFIG_USB_DEVICE_VID=0xDEAD

View file

@ -3,11 +3,11 @@ sample:
name: TBD name: TBD
tests: tests:
test: test:
build_only: true harness: bluetooth
platform_whitelist: qemu_x86 qemu_cortex_m3 platform_whitelist: qemu_x86 qemu_cortex_m3
tags: bluetooth net tags: bluetooth net
test_zep1656: test_zep1656:
build_only: true harness: bluetooth
extra_args: CONF_FILE="prj_zep1656.conf" extra_args: CONF_FILE="prj_zep1656.conf"
platform_whitelist: qemu_x86 qemu_cortex_m3 platform_whitelist: qemu_x86 qemu_cortex_m3
tags: bluetooth net tags: bluetooth net

View file

@ -2,6 +2,6 @@ sample:
name: Bluetooth Mesh name: Bluetooth Mesh
tests: tests:
test: test:
build_only: true harness: bluetooth
platform_whitelist: bbc_microbit nrf51_blenano qemu_x86 platform_whitelist: bbc_microbit nrf51_blenano qemu_x86
tags: bluetooth tags: bluetooth

View file

@ -2,6 +2,6 @@ sample:
name: Bluetooth Mesh Demo name: Bluetooth Mesh Demo
tests: tests:
test: test:
build_only: true harness: bluetooth
platform_whitelist: bbc_microbit nrf51_blenano qemu_x86 platform_whitelist: bbc_microbit nrf51_blenano qemu_x86
tags: bluetooth tags: bluetooth

View file

@ -3,6 +3,6 @@ sample:
name: TBD name: TBD
tests: tests:
test: test:
build_only: true harness: bluetooth
platform_whitelist: qemu_cortex_m3 qemu_x86 platform_whitelist: qemu_cortex_m3 qemu_x86
tags: bluetooth tags: bluetooth

View file

@ -3,6 +3,6 @@ sample:
name: TBD name: TBD
tests: tests:
test: test:
build_only: true harness: bluetooth
platform_whitelist: qemu_cortex_m3 qemu_x86 platform_whitelist: qemu_cortex_m3 qemu_x86
tags: bluetooth tags: bluetooth

View file

@ -3,6 +3,6 @@ sample:
name: TBD name: TBD
tests: tests:
test: test:
build_only: true harness: bluetooth
platform_whitelist: qemu_cortex_m3 qemu_x86 platform_whitelist: qemu_cortex_m3 qemu_x86
tags: bluetooth tags: bluetooth

View file

@ -3,6 +3,6 @@ sample:
name: TBD name: TBD
tests: tests:
test: test:
build_only: true harness: bluetooth
platform_whitelist: qemu_cortex_m3 qemu_x86 platform_whitelist: qemu_cortex_m3 qemu_x86
tags: bluetooth tags: bluetooth

View file

@ -3,6 +3,6 @@ sample:
name: TBD name: TBD
tests: tests:
test: test:
build_only: true harness: bluetooth
platform_whitelist: qemu_cortex_m3 qemu_x86 platform_whitelist: qemu_cortex_m3 qemu_x86
tags: bluetooth tags: bluetooth

View file

@ -3,6 +3,6 @@ sample:
name: TBD name: TBD
tests: tests:
test: test:
build_only: true harness: bluetooth
platform_whitelist: qemu_cortex_m3 qemu_x86 platform_whitelist: qemu_cortex_m3 qemu_x86
tags: bluetooth tags: bluetooth

View file

@ -3,6 +3,6 @@ sample:
name: TBD name: TBD
tests: tests:
test: test:
build_only: true harness: bluetooth
platform_whitelist: qemu_cortex_m3 qemu_x86 platform_whitelist: qemu_cortex_m3 qemu_x86
tags: bluetooth tags: bluetooth

View file

@ -3,6 +3,6 @@ sample:
name: TBD name: TBD
tests: tests:
test: test:
build_only: true harness: bluetooth
platform_whitelist: qemu_cortex_m3 qemu_x86 platform_whitelist: qemu_cortex_m3 qemu_x86
tags: bluetooth tags: bluetooth

View file

@ -3,12 +3,12 @@ sample:
name: TBD name: TBD
tests: tests:
test: test:
build_only: true harness: net
platform_whitelist: quark_se_c1000_devboard galileo platform_whitelist: quark_se_c1000_devboard galileo
frdm_k64f frdm_k64f
tags: net tags: net
test_bt: test_bt:
build_only: true harness: net
extra_args: CONF_FILE="prj_bt.conf" extra_args: CONF_FILE="prj_bt.conf"
platform_whitelist: qemu_x86 platform_whitelist: qemu_x86
tags: net bluetooth tags: net bluetooth

View file

@ -4,15 +4,15 @@ sample:
tests: tests:
test: test:
arch_whitelist: x86 arch_whitelist: x86
build_only: true harness: net
tags: net tags: net
test_bt: test_bt:
build_only: true harness: net
extra_args: CONF_FILE="prj_bt.conf" extra_args: CONF_FILE="prj_bt.conf"
platform_whitelist: qemu_x86 platform_whitelist: qemu_x86
tags: net bluetooth tags: net bluetooth
test_net: test_net:
build_only: true harness: net
extra_args: CONF_FILE="prj_cc2520.conf" extra_args: CONF_FILE="prj_cc2520.conf"
platform_whitelist: quark_se_c1000_devboard platform_whitelist: quark_se_c1000_devboard
tags: net tags: net

View file

@ -2,6 +2,6 @@ sample:
name: COAP Client with DTLS name: COAP Client with DTLS
tests: tests:
test: test:
build_only: true harness: net
depends_on: netif depends_on: netif
tags: net coap dtls tags: net coap dtls

View file

@ -2,6 +2,6 @@ sample:
name: COAP Server with DTLS name: COAP Server with DTLS
tests: tests:
test: test:
build_only: true harness: net
depends_on: netif depends_on: netif
tags: net coap tags: net coap

View file

@ -2,6 +2,6 @@ sample:
name: DHCP Client name: DHCP Client
tests: tests:
test: test:
build_only: true harness: net
depends_on: netif depends_on: netif
tags: net http tags: net http

View file

@ -3,6 +3,6 @@ sample:
name: DNS Resolver name: DNS Resolver
tests: tests:
test: test:
build_only: true harness: net
depends_on: netif depends_on: netif
tags: net dns tags: net dns

View file

@ -1,5 +1,5 @@
common: common:
build_only: true harness: net
tags: net tags: net
sample: sample:
description: Test core network features using a client/server description: Test core network features using a client/server

View file

@ -1,5 +1,5 @@
common: common:
build_only: true harness: net
tags: net tags: net
sample: sample:
description: Test core network features using a client/server description: Test core network features using a client/server
@ -23,7 +23,7 @@ tests:
extra_args: CONF_FILE="prj_nrf5.conf" extra_args: CONF_FILE="prj_nrf5.conf"
platform_whitelist: nrf52840_pca10056 platform_whitelist: nrf52840_pca10056
test_usbnet: test_usbnet:
build_only: true harness: net
extra_args: CONF_FILE="prj_netusb.conf" extra_args: CONF_FILE="prj_netusb.conf"
extra_configs: extra_configs:
- CONFIG_USB_DEVICE_VID=0xDEAD - CONFIG_USB_DEVICE_VID=0xDEAD
@ -31,7 +31,7 @@ tests:
platform_whitelist: quark_se_c1000_devboard 96b_carbon platform_whitelist: quark_se_c1000_devboard 96b_carbon
tags: net usb tags: net usb
test_usbnet_composite: test_usbnet_composite:
build_only: true harness: net
extra_args: CONF_FILE="prj_netusb.conf" extra_args: CONF_FILE="prj_netusb.conf"
extra_configs: extra_configs:
- CONFIG_USB_COMPOSITE_DEVICE=y - CONFIG_USB_COMPOSITE_DEVICE=y

View file

@ -2,11 +2,11 @@ sample:
name: HTTP Client name: HTTP Client
tests: tests:
test: test:
build_only: true harness: net
depends_on: netif depends_on: netif
tags: net http tags: net http
test_bt: test_bt:
build_only: true harness: net
extra_args: CONF_FILE="prj_bt.conf" extra_args: CONF_FILE="prj_bt.conf"
platform_whitelist: qemu_x86 qemu_cortex_m3 platform_whitelist: qemu_x86 qemu_cortex_m3
tags: net http tags: net http

View file

@ -2,16 +2,16 @@ sample:
name: HTTP Server name: HTTP Server
tests: tests:
test: test:
build_only: true harness: net
depends_on: netif depends_on: netif
tags: net http tags: net http
test_bt: test_bt:
build_only: true harness: net
extra_args: CONF_FILE="prj_bt.conf" extra_args: CONF_FILE="prj_bt.conf"
platform_whitelist: qemu_x86 platform_whitelist: qemu_x86
tags: net http tags: net http
test_usbnet: test_usbnet:
build_only: true harness: net
extra_args: CONF_FILE="prj_netusb.conf" extra_args: CONF_FILE="prj_netusb.conf"
extra_configs: extra_configs:
- CONFIG_USB_DEVICE_VID=0xDEAD - CONFIG_USB_DEVICE_VID=0xDEAD

View file

@ -2,6 +2,6 @@ sample:
name: IRC Bot name: IRC Bot
tests: tests:
test: test:
build_only: true harness: net
depends_on: netif depends_on: netif
tags: net irc tags: net irc

View file

@ -4,5 +4,5 @@ sample:
tests: tests:
test: test:
arch_whitelist: x86 arch_whitelist: x86
build_only: true harness: net
tags: net coap tags: net coap

View file

@ -3,6 +3,6 @@ sample:
name: TBD name: TBD
tests: tests:
test: test:
build_only: true harness: net
platform_whitelist: qemu_x86 platform_whitelist: qemu_x86
tags: net lwm2m tags: net lwm2m

View file

@ -2,6 +2,6 @@ sample:
name: mBED DTLS Client name: mBED DTLS Client
tests: tests:
test: test:
build_only: true harness: net
depends_on: netif depends_on: netif
tags: net tags: net

View file

@ -2,6 +2,6 @@ sample:
name: DTLS Server name: DTLS Server
tests: tests:
test: test:
build_only: true harness: net
depends_on: netif depends_on: netif
tags: net tags: net

View file

@ -3,6 +3,6 @@ sample:
name: TBD name: TBD
tests: tests:
test: test:
build_only: true harness: net
platform_whitelist: galileo platform_whitelist: galileo
tags: net tags: net

View file

@ -2,6 +2,6 @@ sample:
name: mDNS responder name: mDNS responder
tests: tests:
test: test:
build_only: true harness: net
platform_whitelist: qemu_x86 qemu_cortex_m3 platform_whitelist: qemu_x86 qemu_cortex_m3
tags: net mdns tags: net mdns

View file

@ -3,10 +3,10 @@ sample:
name: TBD name: TBD
tests: tests:
test: test:
build_only: true harness: net
platform_whitelist: frdm_k64f qemu_x86 platform_whitelist: frdm_k64f qemu_x86
tags: net mqtt tags: net mqtt
test_bt: test_bt:
build_only: true harness: net
platform_whitelist: 96b_nitrogen platform_whitelist: 96b_nitrogen
tags: net mqtt bluetooth tags: net mqtt bluetooth

View file

@ -2,6 +2,6 @@ sample:
name: NATS Client name: NATS Client
tests: tests:
test: test:
build_only: true harness: net
depends_on: netif depends_on: netif
tags: net nats tags: net nats

View file

@ -1,5 +1,5 @@
common: common:
build_only: true harness: net
depends_on: ieee802154 depends_on: ieee802154
tags: net rpl ieee802154 tags: net rpl ieee802154
sample: sample:

View file

@ -3,6 +3,6 @@ sample:
name: sntp_client name: sntp_client
tests: tests:
test: test:
build_only: true harness: net
platform_whitelist: qemu_x86 platform_whitelist: qemu_x86
tags: net tags: net

View file

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

View file

@ -3,6 +3,6 @@ sample:
name: socket_echo name: socket_echo
tests: tests:
test: test:
build_only: true harness: net
platform_whitelist: qemu_x86 platform_whitelist: qemu_x86
tags: net tags: net

View file

@ -4,6 +4,6 @@ sample:
name: socket_echo_async name: socket_echo_async
tests: tests:
test: test:
build_only: true harness: net
platform_whitelist: qemu_x86 platform_whitelist: qemu_x86
tags: net tags: net

View file

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

View file

@ -2,6 +2,6 @@ sample:
name: Telnet Server name: Telnet Server
tests: tests:
test: test:
build_only: true harness: net
depends_on: netif depends_on: netif
tags: net telnet tags: net telnet

View file

@ -3,7 +3,7 @@ sample:
name: TBD name: TBD
tests: tests:
test_x86: test_x86:
build_only: true harness: net
depends_on: usb_device depends_on: usb_device
extra_configs: extra_configs:
- CONFIG_USB_DEVICE_VID=0xDEAD - CONFIG_USB_DEVICE_VID=0xDEAD

View file

@ -3,7 +3,7 @@ sample:
name: TBD name: TBD
tests: tests:
test_15_4: test_15_4:
build_only: true harness: net
depends_on: ieee802154 usb_device depends_on: ieee802154 usb_device
extra_configs: extra_configs:
- CONFIG_USB_DEVICE_VID=0xDEAD - CONFIG_USB_DEVICE_VID=0xDEAD

View file

@ -3,11 +3,11 @@ sample:
name: TBD name: TBD
tests: tests:
test: test:
build_only: true harness: net
platform_whitelist: qemu_x86 platform_whitelist: qemu_x86
tags: samples net tags: samples net
test_netusb: test_netusb:
build_only: true harness: net
extra_args: CONF_FILE="prj_netusb.conf" extra_args: CONF_FILE="prj_netusb.conf"
extra_configs: extra_configs:
- CONFIG_USB_DEVICE_VID=0xDEAD - CONFIG_USB_DEVICE_VID=0xDEAD