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>
This commit is contained in:
Kumar Gala 2022-07-28 16:56:50 -05:00 committed by Anas Nashif
parent 3c9932ddf8
commit 930f56baef

View file

@ -18,6 +18,7 @@ tests:
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
@ -25,6 +26,7 @@ tests:
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