tests: drivers: uart: Add gpio_loopback harness to test config

Added gpio_loopback to indicate that test requires pins to be
shorten. This allows to filter out tests on setup which does
not have pin setup.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
Krzysztof Chruscinski 2021-01-08 14:53:35 +01:00 committed by Anas Nashif
parent ff0c1a48d2
commit 96c027a02b
2 changed files with 7 additions and 1 deletions

View file

@ -2,7 +2,9 @@ tests:
drivers.uart.uart_async_api:
tags: drivers
filter: CONFIG_UART_CONSOLE and CONFIG_SERIAL_SUPPORT_ASYNC
harness: keyboard
harness: ztest
harness_config:
fixture: gpio_loopback
drivers.uart.uart_async_api.rtt:
tags: drivers
filter: CONFIG_UART_CONSOLE and CONFIG_SERIAL_SUPPORT_ASYNC and CONFIG_HAS_SEGGER_RTT

View file

@ -1,3 +1,7 @@
common:
harness: ztest
harness_config:
fixture: gpio_loopback
tests:
drivers.uart.uart_mix_poll:
tags: drivers