1sample:
2  name: USB HID sample
3tests:
4  sample.usb.hid:
5    depends_on: usb_device
6    tags: usb
7    arch_exclude: posix
8    harness: console
9    harness_config:
10      type: multi_line
11      regex:
12        - "main: HID Device: dev"
13        - "main: Starting application"
14  sample.usb.hid_composite:
15    depends_on: usb_device
16    extra_configs:
17      - CONFIG_USB_COMPOSITE_DEVICE=y
18    tags: usb
19    arch_exclude: posix
20    harness: console
21    harness_config:
22      type: multi_line
23      regex:
24        - "main: HID Device: dev"
25        - "main: Starting application"
26  sample.usb.hid.buildonly:
27    depends_on: usb_device
28    tags: usb
29    platform_allow:
30      - native_posix
31      - native_posix_64
32    build_only: true
33    integration_platforms:
34      - native_posix
35