zephyr/samples/subsys/usb/hid/sample.yaml
Andrei Emeltchenko 35a81562e8 samples: usb: hid: Enable harness for the sample
Enable harness so we can execute smoke tests on the hardware with
command line:
sanitycheck --device-testing --device-serial /dev/ttyACM0 -p <BOARD>
  -T samples/subsys/usb/hid

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
2019-04-18 12:16:05 -04:00

24 lines
537 B
YAML

sample:
name: USB HID sample
tests:
sample.usb.hid:
depends_on: usb_device
tags: usb
harness: console
harness_config:
type: multi_line
regex:
- "main: Starting application"
- "main: HID Device: dev"
sample.usb.hid_composite:
depends_on: usb_device
extra_configs:
- CONFIG_USB_COMPOSITE_DEVICE=y
tags: usb
harness: console
harness_config:
type: multi_line
regex:
- "composite_pre_init: HID Device: dev"
- "main: Starting application"