Skip to content

Commit 9a66eb5

Browse files
aescolarkartben
authored andcommitted
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 <[email protected]>
1 parent 77fd5f4 commit 9a66eb5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/bsim/bluetooth/compile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/compile.sh
2121
${ZEPHYR_BASE}/tests/bsim/bluetooth/ll/compile.sh
2222
${ZEPHYR_BASE}/tests/bsim/bluetooth/mesh/compile.sh
2323
${ZEPHYR_BASE}/tests/bsim/bluetooth/samples/compile.sh
24-
if [ ${BOARD} == "nrf52_bsim" ]; then
24+
if [ ${BOARD} == "nrf52_bsim/native" ]; then
2525
${ZEPHYR_BASE}/tests/bsim/bluetooth/hci_uart/compile.sh
2626
fi
2727

tests/bsim/bluetooth/samples/compile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ app=tests/bsim/bluetooth/samples/central_hr_peripheral_hr \
3737
extra_conf_file=${ZEPHYR_BASE}/samples/bluetooth/central_hr/prj.conf \
3838
conf_overlay=${ZEPHYR_BASE}/samples/bluetooth/central_hr/overlay-phy_coded.conf \
3939
compile
40-
if [ ${BOARD} == "nrf52_bsim" ]; then
40+
if [ ${BOARD} == "nrf52_bsim/native" ]; then
4141
app=tests/bsim/bluetooth/samples/battery_service \
4242
conf_file=prj.conf \
4343
compile

tests/bsim/sh_common.source

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ _process_ids="";
77
: "${BSIM_OUT_PATH:?BSIM_OUT_PATH must be defined}"
88

99
#Give a default value to BOARD if it does not have one yet:
10-
BOARD="${BOARD:-nrf52_bsim}"
10+
BOARD="${BOARD:-nrf52_bsim/native}"
1111

1212
#The board target full string (with qualifiers):
1313
BOARD_TS="${BOARD//\//_}"

0 commit comments

Comments
 (0)