zephyr/samples/subsys/tracing/sample.yaml
Kumar Gala 930f56baef samples: tracing: Add filter for uart tests
Add a filter to make sure devicetree chosen node has
property 'zephyr,tracing-uart' set in it.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-29 05:57:54 -04:00

40 lines
1.3 KiB
YAML

common:
tags: tracing debug
harness: console
harness_config:
type: multi_line
regex:
- "thread_a: Hello World from (.*)!"
- "thread_b: Hello World from (.*)!"
tests:
tracing.user:
extra_args: CONF_FILE="prj_user.conf"
tracing.format.sysview:
platform_allow: nrf52840dk_nrf52840 mimxrt1050_evk mimxrt1064_evk
extra_args: CONF_FILE="prj_sysview.conf"
tracing.osawareness.openocd:
arch_exclude: posix xtensa
platform_exclude: qemu_x86_64
tracing.transport.uart:
platform_allow: qemu_x86 qemu_x86_64
extra_args: CONF_FILE="prj_uart.conf"
filter: dt_chosen_enabled("zephyr,tracing-uart")
tracing.transport.usb:
platform_allow: sam_e70_xplained
depends_on: usb_device
extra_args: CONF_FILE="prj_usb.conf"
tracing.transport.ctf:
platform_allow: qemu_x86 qemu_x86_64
extra_args: CONF_FILE="prj_uart_ctf.conf"
filter: dt_chosen_enabled("zephyr,tracing-uart")
tracing.transport.ctf:
platform_allow: sam_e70_xplained
depends_on: usb_device
extra_args: CONF_FILE="prj_usb_ctf.conf"
tracing.transport.native_posix:
platform_allow: native_posix
extra_args: CONF_FILE="prj_native_posix.conf"
tracing.transport.posix.ctf:
platform_allow: native_posix
extra_args: CONF_FILE="prj_native_posix_ctf.conf"