sample: uart passthrough: fix filtering and twister file

sample.yml is wrong and was not scanned. Also fix filters in the file so
it can build.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2024-08-30 11:02:25 -04:00 committed by Carles Cufí
commit 8538c4ae33
2 changed files with 10 additions and 14 deletions

View file

@ -0,0 +1,10 @@
sample:
name: UART Passthrough
tests:
sample.drivers.uart.passthrough:
platform_allow:
- nucleo_l476rg
tags:
- serial
- uart
harness: keyboard

View file

@ -1,14 +0,0 @@
sample:
name: UART Passthrough
tests:
sample.drivers.uart:
integration_platforms:
- qemu_x86
tags:
- serial
- uart
filter: CONFIG_SERIAL and
CONFIG_UART_INTERRUPT_DRIVEN and
dt_chosen_enabled("zephyr,console") and
dt_chosen_enabled("uart,passthrough")
harness: keyboard