Skip to content

Commit

Permalink
tests: drivers: uart: Add gpio_loopback harness to test config
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
nordic-krch committed Jan 8, 2021
1 parent d969ace commit b8af46c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/drivers/uart/uart_async_api/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions tests/drivers/uart/uart_mix_fifo_poll/testcase.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
common:
harness: ztest
harness_config:
fixture: gpio_loopback
tests:
drivers.uart.uart_mix_poll:
tags: drivers
Expand Down

0 comments on commit b8af46c

Please sign in to comment.