tests/bsim: Also runtime test the UART drivers for the nrf54l15

To increase coverage.

Note that we call twister separatedly for this target, due to the 54l15
overlays using UARTE20 which is indexed in simulation as "2", but as
the nrf52833 does not have 3 instances. So "-uart2_loopback" is not
a valid option for a 52833 executable.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras 2024-11-18 17:28:03 +01:00 committed by Alberto Escolar
commit 4558056f81

View file

@ -12,10 +12,16 @@ cd ${ZEPHYR_BASE}
set -uex
echo "UART: Single device tests"
echo " nRF52833 & 5340:"
${ZEPHYR_BASE}/scripts/twister -T tests/drivers/uart/ --force-color --inline-logs -v -M \
-p nrf52_bsim -p nrf5340bsim/nrf5340/cpuapp --fixture gpio_loopback \
-- -uart0_loopback -uart1_loopback
echo " nRF54L15:"
${ZEPHYR_BASE}/scripts/twister -T tests/drivers/uart/ --force-color --inline-logs -v -M \
-p nrf54l15bsim/nrf54l15/cpuapp --fixture gpio_loopback \
-- -uart2_loopback
echo "UART: Multi device tests"
WORK_DIR=${ZEPHYR_BASE}/bsim_uart nice tests/bsim/drivers/uart/compile.sh
RESULTS_FILE=${ZEPHYR_BASE}/bsim_out/bsim_results.uart.52.xml \