tests/bsim: All scripts: Use boardtarget string instead of BOARD
In all scripts, where we were using the BOARD variable let's use BOARD_TS which is the full BOARD target string with "/" replaced with "_" This is neccessary to support hwmv2 board names Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
1d231dda33
commit
fd8857539d
167 changed files with 390 additions and 382 deletions
|
@ -10,10 +10,10 @@ EXECUTE_TIMEOUT=120
|
|||
|
||||
cd ${BSIM_OUT_PATH}/bin
|
||||
|
||||
Execute ./bs_${BOARD}_tests_bsim_bluetooth_host_gatt_authorization_prj_conf \
|
||||
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_host_gatt_authorization_prj_conf \
|
||||
-v=${verbosity_level} -s=${simulation_id} -d=0 -testid=gatt_client
|
||||
|
||||
Execute ./bs_${BOARD}_tests_bsim_bluetooth_host_gatt_authorization_prj_conf \
|
||||
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_host_gatt_authorization_prj_conf \
|
||||
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=gatt_server
|
||||
|
||||
Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
|
||||
|
|
|
@ -9,10 +9,10 @@ EXECUTE_TIMEOUT=120
|
|||
|
||||
cd ${BSIM_OUT_PATH}/bin
|
||||
|
||||
Execute ./bs_${BOARD}_tests_bsim_bluetooth_host_gatt_caching_prj_conf \
|
||||
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_host_gatt_caching_prj_conf \
|
||||
-v=${verbosity_level} -s=${simulation_id} -d=0 -testid=${client_id}
|
||||
|
||||
Execute ./bs_${BOARD}_tests_bsim_bluetooth_host_gatt_caching_prj_conf \
|
||||
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_host_gatt_caching_prj_conf \
|
||||
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=${server_id}
|
||||
|
||||
Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
source ${ZEPHYR_BASE}/tests/bsim/sh_common.source
|
||||
|
||||
test_exe="bs_${BOARD}_$(guess_test_long_name)_prj_conf"
|
||||
test_exe="bs_${BOARD_TS}_$(guess_test_long_name)_prj_conf"
|
||||
simulation_id="ccc_store"
|
||||
verbosity_level=2
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
source ${ZEPHYR_BASE}/tests/bsim/sh_common.source
|
||||
|
||||
test_exe="bs_${BOARD}_$(guess_test_long_name)_prj_2_conf"
|
||||
test_exe="bs_${BOARD_TS}_$(guess_test_long_name)_prj_2_conf"
|
||||
simulation_id="ccc_store_2"
|
||||
verbosity_level=2
|
||||
|
||||
|
|
|
@ -14,10 +14,10 @@ EXECUTE_TIMEOUT=120
|
|||
|
||||
cd ${BSIM_OUT_PATH}/bin
|
||||
|
||||
Execute ./bs_${BOARD}_tests_bsim_bluetooth_host_gatt_general_prj_conf \
|
||||
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_host_gatt_general_prj_conf \
|
||||
-v=${verbosity_level} -s=${simulation_id} -d=0 -testid=gatt_client
|
||||
|
||||
Execute ./bs_${BOARD}_tests_bsim_bluetooth_host_gatt_general_prj_conf \
|
||||
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_host_gatt_general_prj_conf \
|
||||
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=gatt_server
|
||||
|
||||
Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
|
||||
|
|
|
@ -10,10 +10,10 @@ EXECUTE_TIMEOUT=30
|
|||
|
||||
cd ${BSIM_OUT_PATH}/bin
|
||||
|
||||
Execute ./bs_${BOARD}_tests_bsim_bluetooth_host_gatt_notify_prj_conf \
|
||||
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_host_gatt_notify_prj_conf \
|
||||
-v=${verbosity_level} -s=${simulation_id} -d=0 -testid=${client_id}
|
||||
|
||||
Execute ./bs_${BOARD}_tests_bsim_bluetooth_host_gatt_notify_prj_conf \
|
||||
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_host_gatt_notify_prj_conf \
|
||||
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=${server_id}
|
||||
|
||||
Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
|
||||
|
|
|
@ -26,11 +26,11 @@ if [[ $2 == "debug" ]]; then
|
|||
fi
|
||||
|
||||
if [[ $1 == "client" ]]; then
|
||||
$GDB_P ./bs_${BOARD}_tests_bsim_bluetooth_host_gatt_notify_multiple_prj_conf \
|
||||
$GDB_P ./bs_${BOARD_TS}_tests_bsim_bluetooth_host_gatt_notify_multiple_prj_conf \
|
||||
-v=${verbosity_level} -s=${simulation_id} -d=0 -testid=gatt_client
|
||||
|
||||
elif [[ $1 == "server" ]]; then
|
||||
$GDB_P ./bs_${BOARD}_tests_bsim_bluetooth_host_gatt_notify_multiple_prj_conf \
|
||||
$GDB_P ./bs_${BOARD_TS}_tests_bsim_bluetooth_host_gatt_notify_multiple_prj_conf \
|
||||
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=gatt_server
|
||||
|
||||
else
|
||||
|
|
|
@ -11,10 +11,10 @@ EXECUTE_TIMEOUT=120
|
|||
|
||||
cd ${BSIM_OUT_PATH}/bin
|
||||
|
||||
Execute ./bs_${BOARD}_tests_bsim_bluetooth_host_gatt_notify_multiple_prj_conf \
|
||||
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_host_gatt_notify_multiple_prj_conf \
|
||||
-v=${verbosity_level} -s=${simulation_id} -d=0 -testid=gatt_client
|
||||
|
||||
Execute ./bs_${BOARD}_tests_bsim_bluetooth_host_gatt_notify_multiple_prj_conf \
|
||||
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_host_gatt_notify_multiple_prj_conf \
|
||||
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=gatt_server
|
||||
|
||||
Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
source ${ZEPHYR_BASE}/tests/bsim/sh_common.source
|
||||
|
||||
test_name='sc_indicate'
|
||||
test_exe="bs_${BOARD}_tests_bsim_bluetooth_host_gatt_${test_name}_prj_conf"
|
||||
test_exe="bs_${BOARD_TS}_tests_bsim_bluetooth_host_gatt_${test_name}_prj_conf"
|
||||
simulation_id="${test_name}"
|
||||
verbosity_level=2
|
||||
EXECUTE_TIMEOUT=30
|
||||
|
|
|
@ -8,7 +8,7 @@ source ${ZEPHYR_BASE}/tests/bsim/sh_common.source
|
|||
simulation_id="settings"
|
||||
verbosity_level=2
|
||||
EXECUTE_TIMEOUT=120
|
||||
test_exe="./bs_${BOARD}_$(guess_test_long_name)_prj_conf"
|
||||
test_exe="./bs_${BOARD_TS}_$(guess_test_long_name)_prj_conf"
|
||||
|
||||
cd ${BSIM_OUT_PATH}/bin
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ source ${ZEPHYR_BASE}/tests/bsim/sh_common.source
|
|||
simulation_id="settings_2"
|
||||
verbosity_level=2
|
||||
EXECUTE_TIMEOUT=120
|
||||
test_2_exe="./bs_${BOARD}_$(guess_test_long_name)_prj_2_conf"
|
||||
test_2_exe="./bs_${BOARD_TS}_$(guess_test_long_name)_prj_2_conf"
|
||||
|
||||
cd ${BSIM_OUT_PATH}/bin
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue