Skip to content

Commit

Permalink
samples: sample.yaml cleanup
Browse files Browse the repository at this point in the history
Cleanup test names and filtering and add console harness support where
needed.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
  • Loading branch information
nashif authored and Anas Nashif committed Apr 10, 2018
1 parent de8d755 commit 156091f
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 5 deletions.
5 changes: 5 additions & 0 deletions samples/application_development/out_of_tree_board/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@ tests:
boards.out_of_tree:
tags: out_of_tree
platform_whitelist: nrf52840_pca10056
harness: console
harness_config:
type: one_line
regex:
- "Hello World! (.*)"
3 changes: 2 additions & 1 deletion samples/boards/nrf52/mesh/onoff-app/sample.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
sample:
name: Bluetooth Mesh
tests:
test:
bluetooth.mesh:
platform_whitelist: nrf52840_pca10056
tags: bluetooth
harness: bluetooth
5 changes: 5 additions & 0 deletions samples/subsys/debug/sysview/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@ tests:
test:
filter: CONFIG_HAS_SEGGER_RTT
tags: debug tracing
harness: console
harness_config:
type: one_line
regex:
- "RTT block address is.*"
7 changes: 5 additions & 2 deletions samples/subsys/usb/cdc_acm/sample.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
sample:
name: CDC ACM USB
tests:
test_x86:
usb.cdc-acm:
depends_on: usb_device
platform_whitelist: arduino_101 nrf52840_pca10056
tags: usb
harness: console
harness_config:
type: one_line
regex:
- "Wait for DTR"
5 changes: 3 additions & 2 deletions samples/subsys/usb/hid-mouse/sample.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
sample:
name: USB HID mouse sample
tests:
test_hid:
platform_exclude: arduino_101 96b_carbon tinytile
usb.hid-mouse:
depends_on: usb_device
platform_exclude: arduino_101 96b_carbon tinytile
harness: button
tags: usb

0 comments on commit 156091f

Please sign in to comment.