zephyr/tests/drivers/uart/uart_pm/testcase.yaml
Anas Nashif ba7d730e9b tests/samples: use integration_plaforms in more tests/samples
integration_platforms help us control what get built/executed in CI and
for each PR submitted. They do not filter out platforms, instead they
just minimize the amount of builds/testing for a particular
tests/sample.
Tests still run on all supported platforms when not in integration mode.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2022-11-29 16:03:23 +01:00

60 lines
1.7 KiB
YAML

common:
tags: drivers uart
harness: ztest
platform_allow: nrf52840dk_nrf52840
harness_config:
fixture: gpio_loopback
tests:
drivers.uart.pm:
extra_configs:
- CONFIG_UART_INTERRUPT_DRIVEN=n
- CONFIG_UART_ASYNC_API=n
- CONFIG_UART_0_ENHANCED_POLL_OUT=n
drivers.uart.pm.no_rxpin:
extra_configs:
- CONFIG_UART_INTERRUPT_DRIVEN=n
- CONFIG_UART_ASYNC_API=n
- CONFIG_UART_0_ENHANCED_POLL_OUT=n
extra_args: DTC_OVERLAY_FILE="boards/nrf52840dk_nrf52840.overlay;nrf_rx_disable.overlay"
drivers.uart.pm.enhanced_poll:
extra_configs:
- CONFIG_UART_INTERRUPT_DRIVEN=n
- CONFIG_UART_ASYNC_API=n
- CONFIG_UART_0_ENHANCED_POLL_OUT=y
drivers.uart.pm.int_driven:
extra_configs:
- CONFIG_UART_INTERRUPT_DRIVEN=y
- CONFIG_UART_0_INTERRUPT_DRIVEN=y
- CONFIG_UART_ASYNC_API=n
- CONFIG_UART_0_ENHANCED_POLL_OUT=n
drivers.uart.pm.int_driven.enhanced_poll:
extra_configs:
- CONFIG_UART_INTERRUPT_DRIVEN=y
- CONFIG_UART_0_INTERRUPT_DRIVEN=y
- CONFIG_UART_ASYNC_API=n
- CONFIG_UART_0_ENHANCED_POLL_OUT=y
drivers.uart.pm.async:
extra_configs:
- CONFIG_UART_INTERRUPT_DRIVEN=n
- CONFIG_UART_ASYNC_API=y
- CONFIG_UART_0_ASYNC=y
- CONFIG_UART_0_NRF_HW_ASYNC=y
- CONFIG_UART_0_NRF_HW_ASYNC_TIMER=2
- CONFIG_NRFX_TIMER2=y
- CONFIG_UART_0_ENHANCED_POLL_OUT=n
drivers.uart.pm.async.enhanced_poll:
extra_configs:
- CONFIG_UART_INTERRUPT_DRIVEN=n
- CONFIG_UART_ASYNC_API=y
- CONFIG_UART_0_ASYNC=y
- CONFIG_UART_0_NRF_HW_ASYNC=y
- CONFIG_UART_0_NRF_HW_ASYNC_TIMER=2
- CONFIG_NRFX_TIMER2=y
- CONFIG_UART_0_ENHANCED_POLL_OUT=y