From 9a66eb5cbe60efb02987e3a7f0f958809cb2b04e Mon Sep 17 00:00:00 2001 From: Alberto Escolar Piedras Date: Mon, 2 Dec 2024 12:44:41 +0100 Subject: [PATCH] tests/bsim: For nrf52bsim use full board name with qualifiers So when building with twister we get the same executable name as with compile.sh Signed-off-by: Alberto Escolar Piedras --- tests/bsim/bluetooth/compile.sh | 2 +- tests/bsim/bluetooth/samples/compile.sh | 2 +- tests/bsim/sh_common.source | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/bsim/bluetooth/compile.sh b/tests/bsim/bluetooth/compile.sh index 499626d1487..76525a81613 100755 --- a/tests/bsim/bluetooth/compile.sh +++ b/tests/bsim/bluetooth/compile.sh @@ -21,7 +21,7 @@ ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/compile.sh ${ZEPHYR_BASE}/tests/bsim/bluetooth/ll/compile.sh ${ZEPHYR_BASE}/tests/bsim/bluetooth/mesh/compile.sh ${ZEPHYR_BASE}/tests/bsim/bluetooth/samples/compile.sh -if [ ${BOARD} == "nrf52_bsim" ]; then +if [ ${BOARD} == "nrf52_bsim/native" ]; then ${ZEPHYR_BASE}/tests/bsim/bluetooth/hci_uart/compile.sh fi diff --git a/tests/bsim/bluetooth/samples/compile.sh b/tests/bsim/bluetooth/samples/compile.sh index 98a6e9d4118..f189445c36b 100755 --- a/tests/bsim/bluetooth/samples/compile.sh +++ b/tests/bsim/bluetooth/samples/compile.sh @@ -37,7 +37,7 @@ app=tests/bsim/bluetooth/samples/central_hr_peripheral_hr \ extra_conf_file=${ZEPHYR_BASE}/samples/bluetooth/central_hr/prj.conf \ conf_overlay=${ZEPHYR_BASE}/samples/bluetooth/central_hr/overlay-phy_coded.conf \ compile -if [ ${BOARD} == "nrf52_bsim" ]; then +if [ ${BOARD} == "nrf52_bsim/native" ]; then app=tests/bsim/bluetooth/samples/battery_service \ conf_file=prj.conf \ compile diff --git a/tests/bsim/sh_common.source b/tests/bsim/sh_common.source index 6c0b5444f37..b727b933e1a 100644 --- a/tests/bsim/sh_common.source +++ b/tests/bsim/sh_common.source @@ -7,7 +7,7 @@ _process_ids=""; : "${BSIM_OUT_PATH:?BSIM_OUT_PATH must be defined}" #Give a default value to BOARD if it does not have one yet: -BOARD="${BOARD:-nrf52_bsim}" +BOARD="${BOARD:-nrf52_bsim/native}" #The board target full string (with qualifiers): BOARD_TS="${BOARD//\//_}"