1sample:
2  name: CAN driver counter sample
3tests:
4  sample.drivers.can.counter:
5    tags: can
6    depends_on: can
7    integration_platforms:
8      - native_sim
9    filter: dt_chosen_enabled("zephyr,canbus") and not dt_compat_enabled("kvaser,pcican")
10      and not dt_compat_enabled("infineon,xmc4xxx-can-node")
11    harness: console
12    harness_config:
13      type: one_line
14      regex:
15        - "Counter received: (.*)"
16