1common:
2  tags:
3    - tracing
4    - debug
5  harness: console
6  harness_config:
7    type: multi_line
8    regex:
9      - "thread_a: Hello World from (.*)!"
10      - "thread_b: Hello World from (.*)!"
11tests:
12  sample.tracing.user:
13    extra_args: CONF_FILE="prj_user.conf"
14    integration_platforms:
15      - qemu_x86
16    platform_exclude:
17      - mr_canhubk3
18    harness_config:
19      type: multi_line
20      regex:
21        - "thread_a: Hello World from (.*)!"
22        - "thread_b: Hello World from (.*)!"
23        - "sys_trace_.*_user.*"
24  sample.tracing.format.sysview:
25    platform_allow:
26      - nrf52840dk/nrf52840
27      - mimxrt1050_evk/mimxrt1052/hyperflash
28      - mimxrt1064_evk
29    integration_platforms:
30      - nrf52840dk/nrf52840
31    extra_args: SNIPPET="rtt-tracing"
32  sample.tracing.osawareness.openocd:
33    arch_exclude:
34      - posix
35      - xtensa
36    platform_exclude: qemu_x86_64
37    integration_platforms:
38      - qemu_x86
39  sample.tracing.transport.uart:
40    platform_allow:
41      - qemu_x86
42      - qemu_x86_64
43    integration_platforms:
44      - qemu_x86
45    extra_args: CONF_FILE="prj_uart.conf"
46    filter: dt_chosen_enabled("zephyr,tracing-uart")
47  sample.tracing.transport.usb:
48    platform_allow: sam_e70_xplained/same70q21
49    depends_on: usb_device
50    extra_args: CONF_FILE="prj_usb.conf"
51  sample.tracing.transport.uart.ctf:
52    platform_allow:
53      - qemu_x86
54      - qemu_x86_64
55    integration_platforms:
56      - qemu_x86
57    extra_args: CONF_FILE="prj_uart_ctf.conf"
58    filter: dt_chosen_enabled("zephyr,tracing-uart")
59  sample.tracing.transport.usb.ctf:
60    platform_allow: sam_e70_xplained/same70q21
61    depends_on: usb_device
62    extra_args: CONF_FILE="prj_usb_ctf.conf"
63  sample.tracing.transport.native:
64    platform_allow:
65      - native_sim
66    integration_platforms:
67      - native_sim
68  sample.tracing.transport.native.ctf:
69    platform_allow:
70      - native_sim
71    integration_platforms:
72      - native_sim
73    extra_args: CONF_FILE="prj_native_ctf.conf"
74  sample.tracing.percepio:
75    platform_allow: frdm_k64f
76    extra_args: CONF_FILE="prj_percepio.conf"
77    modules:
78      - percepio
79  sample.tracing.gpio:
80    depends_on: gpio
81    harness_config:
82      type: multi_line
83      regex:
84        - "port: gpio_emul, pin: [01] flags: (.*)"
85        - "port: gpio_emul, pin: [01] ret: 0"
86        - "port: gpio_emul, pins: [01]"
87        - "port: gpio_emul, ret: 0"
88        - "Interrupt detected!"
89        - "thread_a: Hello World from (.*)!"
90        - "thread_b: Hello World from (.*)!"
91        - "sys_trace_.*_user.*"
92    extra_args:
93      - CONF_FILE="prj_gpio.conf"
94      - EXTRA_DTC_OVERLAY_FILE="gpio.overlay"
95    integration_platforms:
96      - native_sim
97