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 <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras 2024-12-02 12:44:41 +01:00 committed by Benjamin Cabé
commit 9a66eb5cbe
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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//\//_}"