1sample:
2  name: ISO-TP sample
3tests:
4  sample.subsys.canbus.isotp:
5    tags:
6      - can
7      - isotp
8    depends_on: can
9    filter: dt_chosen_enabled("zephyr,canbus") and not dt_compat_enabled("kvaser,pcican")
10    extra_configs:
11      - CONFIG_SAMPLE_LOOPBACK_MODE=y
12    harness: console
13    harness_config:
14      type: one_line
15      regex:
16        - "(.*)Got 247 bytes in total"
17  sample.subsys.canbus.isotp.fd:
18    tags:
19      - can
20      - isotp
21    depends_on: can
22    extra_configs:
23      - CONFIG_SAMPLE_LOOPBACK_MODE=y
24      - CONFIG_SAMPLE_CAN_FD_MODE=y
25    platform_allow:
26      - native_posix
27      - native_posix_64
28    harness: console
29    harness_config:
30      type: one_line
31      regex:
32        - "(.*)Got 247 bytes in total"
33