zephyr/samples/subsys/usb/hid/sample.yaml
Alberto Escolar Piedras 01c9b1483f samples/usb: Fix filtering for POSIX arch
Some of these samples were filtering all POSIX arch
boards out by explictly listing them by name
(and for the nrf52_bsim by lack of usb_device).

Instead filter by the architecture.

There is no functional difference in tree with this change.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-05-04 16:48:01 -04:00

33 lines
758 B
YAML

sample:
name: USB HID sample
tests:
sample.usb.hid:
depends_on: usb_device
tags: usb
arch_exclude: posix
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
arch_exclude: posix
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