File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
tests/bsim/bluetooth/host/misc/conn_stress/scripts Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 22# Copyright (c) 2023 Nordic Semiconductor
33# SPDX-License-Identifier: Apache-2.0
44
5+ source ${ZEPHYR_BASE} /tests/bsim/sh_common.source
6+
57simulation_id=" conn_stress"
68process_ids=" " ; exit_code=0
79
@@ -20,28 +22,23 @@ function Execute(){
2022 echo " Running $@ "
2123}
2224
23- : " ${BSIM_OUT_PATH:? BSIM_OUT_PATH must be defined} "
24-
25- # Give a default value to BOARD if it does not have one yet:
26- BOARD=" ${BOARD:- nrf52_bsim} "
27-
2825test_path=" bsim_bluetooth_host_misc_conn_stress"
2926bsim_central_exe_name=" bs_nrf52_${test_path} _central_prj_conf"
3027bsim_peripheral_exe_name=" bs_nrf52_${test_path} _peripheral_prj_conf"
3128
3229# terminate running simulations (if any)
33- ${BSIM_COMPONENTS_PATH} /common/stop_bsim.sh
30+ ${BSIM_COMPONENTS_PATH} /common/stop_bsim.sh $simulation_id
3431
3532# (re)Build the central & peripheral images. Don't continue if build fails.
3633west build -b ${BOARD} -d build_central central && \
3734 cp build_central/zephyr/zephyr.exe \
3835 " ${BSIM_OUT_PATH} /bin/${bsim_central_exe_name} " \
39- || exit
36+ || exit 1
4037
4138west build -b ${BOARD} -d build_peripheral peripheral && \
4239 cp build_peripheral/zephyr/zephyr.exe \
4340 " ${BSIM_OUT_PATH} /bin/${bsim_peripheral_exe_name} " \
44- || exit
41+ || exit 1
4542
4643cd ${BSIM_OUT_PATH} /bin
4744
You can’t perform that action at this time.
0 commit comments