zephyr/tests/drivers/uart/uart_emul/testcase.yaml
Ruben Völl 9bb3853e67 tests: drivers: uart_emul: extend test case for async API
- Tests that the API of the uart-emul also works with the async API
- Tests that `uart_emul_set_release_buffer_on_timeout()` configures the
  behavior as expected
- The tests are now splited into three different configurations: only
  polling API enabled, additionally interrupt driven API enabled and
  additionally async API enabled
- Enabled `native_sim` board

Signed-off-by: Ruben Völl <ruben.voell@grandcentrix.net>
2024-06-11 20:05:24 +03:00

19 lines
396 B
YAML

common:
tags:
- drivers
- uart
platform_allow:
- qemu_x86
- native_sim
extra_args: DTC_OVERLAY_FILE="uart_emul.overlay"
harness: ztest
tests:
drivers.uart.emul.polling: {}
drivers.uart.emul.interrupt_driven:
extra_configs:
- CONFIG_UART_INTERRUPT_DRIVEN=y
drivers.uart.emul.async:
extra_configs:
- CONFIG_EVENTS=y
- CONFIG_UART_ASYNC_API=y