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.uart.ctf:
48    platform_allow:
49      - qemu_x86
50      - qemu_x86_64
51    integration_platforms:
52      - qemu_x86
53    extra_args: CONF_FILE="prj_uart_ctf.conf"
54    filter: dt_chosen_enabled("zephyr,tracing-uart")
55  sample.tracing.transport.usb.ctf:
56    integration_platforms:
57      - frdm_k64f
58    depends_on: usbd
59    extra_args: CONF_FILE="prj_usb_ctf.conf"
60  sample.tracing.transport.native:
61    platform_allow:
62      - native_sim
63    integration_platforms:
64      - native_sim
65  sample.tracing.transport.native.ctf:
66    platform_allow:
67      - native_sim
68    integration_platforms:
69      - native_sim
70    extra_args: CONF_FILE="prj_native_ctf.conf"
71  sample.tracing.percepio:
72    platform_allow: frdm_k64f
73    extra_args: CONF_FILE="prj_percepio.conf"
74    modules:
75      - percepio
76  sample.tracing.gpio:
77    depends_on: gpio
78    harness_config:
79      type: multi_line
80      regex:
81        - "port: gpio_emul, pin: [01] flags: (.*)"
82        - "port: gpio_emul, pin: [01] ret: 0"
83        - "port: gpio_emul, pins: [01]"
84        - "port: gpio_emul, ret: 0"
85        - "Interrupt detected!"
86        - "thread_a: Hello World from (.*)!"
87        - "thread_b: Hello World from (.*)!"
88        - "sys_trace_.*_user.*"
89    extra_args:
90      - CONF_FILE="prj_gpio.conf"
91      - EXTRA_DTC_OVERLAY_FILE="gpio.overlay"
92    integration_platforms:
93      - native_sim
94