Skip to content

Commit

Permalink
[nrf fromtree] tests/bsim: Also runtime test the UART drivers for the…
Browse files Browse the repository at this point in the history
… 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 <[email protected]>
(cherry picked from commit 4558056)
  • Loading branch information
aescolar authored and nordicjm committed Dec 18, 2024
1 parent b1b11f3 commit 745e2dc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/bsim/ci.uart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,15 @@ 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 --fixture gpio_loopback -- -uart0_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 \
Expand Down

0 comments on commit 745e2dc

Please sign in to comment.