zephyr/samples/subsys/usb/hid/sample.yaml
Anas Nashif ba7d730e9b tests/samples: use integration_plaforms in more tests/samples
integration_platforms help us control what get built/executed in CI and
for each PR submitted. They do not filter out platforms, instead they
just minimize the amount of builds/testing for a particular
tests/sample.
Tests still run on all supported platforms when not in integration mode.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2022-11-29 16:03:23 +01:00

33 lines
812 B
YAML

sample:
name: USB HID sample
tests:
sample.usb.hid:
depends_on: usb_device
tags: usb
platform_exclude: native_posix native_posix_64
harness: console
harness_config:
type: multi_line
regex:
- "main: HID Device: dev"
- "main: Starting application"
sample.usb.hid_composite:
depends_on: usb_device
extra_configs:
- CONFIG_USB_COMPOSITE_DEVICE=y
tags: usb
platform_exclude: native_posix native_posix_64
harness: console
harness_config:
type: multi_line
regex:
- "main: HID Device: dev"
- "main: Starting application"
sample.usb.hid.buildonly:
depends_on: usb_device
tags: usb
platform_allow: native_posix native_posix_64
build_only: true
integration_platforms:
- native_posix