1sample:
2  name: UART ASYNC API driver sample
3tests:
4  sample.drivers.uart.async_api:
5    integration_platforms:
6      - nrf52840dk/nrf52840
7    tags:
8      - serial
9      - uart
10    filter: CONFIG_SERIAL and
11            CONFIG_UART_ASYNC_API and
12            dt_chosen_enabled("zephyr,shell-uart") and
13            not CONFIG_UART_MCUX_LPUART
14    harness: keyboard
15  sample.drivers.uart.async_api.lpuart:
16    tags:
17      - serial
18      - uart
19    filter: CONFIG_SERIAL and
20            CONFIG_UART_ASYNC_API and
21            dt_chosen_enabled("zephyr,shell-uart") and
22            CONFIG_UART_MCUX_LPUART and
23            not CONFIG_CPU_HAS_DCACHE
24    depends_on: dma
25    harness: keyboard
26  sample.drivers.uart.async_api.console:
27    integration_platforms:
28      - nucleo_g071rb/stm32g071xx
29    filter: CONFIG_SERIAL and
30            CONFIG_UART_ASYNC_API and
31            dt_chosen_enabled("zephyr,shell-uart") and
32            not CONFIG_UART_MCUX_LPUART
33    harness: console
34    harness_config:
35      type: multi_line
36      regex:
37        - "Loop (.*) Sending (.*)"
38        - "RX is now enabled"
39        - "Loop (.*) Sending (.*)"
40        - "RX is now disabled"
41