tests: bsim: Bluetooth: Fix sim_length for central_hr_peripheral_hr

Fix sim_length value for central_hr_peripheral_hr so that
the simulation does not end while the test is still in
progress.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2024-04-28 05:51:54 +02:00 committed by Fabio Baltieri
commit 0c5b4f383d
3 changed files with 6 additions and 9 deletions

View file

@ -4,11 +4,10 @@
simulation_id="central_hr_peripheral_hr_test"
verbosity_level=2
EXECUTE_TIMEOUT=60
source ${ZEPHYR_BASE}/tests/bsim/sh_common.source
EXECUTE_TIMEOUT=10
cd ${BSIM_OUT_PATH}/bin
Execute ./bs_${BOARD_TS}_samples_bluetooth_peripheral_hr_prj_conf \
@ -19,6 +18,6 @@ Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_samples_central_hr_peripheral_hr_p
-testid=central_hr_peripheral_hr
Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
-D=2 -sim_length=10e6 $@
-D=2 -sim_length=12e6 $@
wait_for_background_jobs #Wait for all programs in background and return != 0 if any fails

View file

@ -7,8 +7,7 @@ source ${ZEPHYR_BASE}/tests/bsim/sh_common.source
simulation_id="central_hr_peripheral_hr_extended_test"
test_long_name="$(guess_test_long_name)"
verbosity_level=2
EXECUTE_TIMEOUT=10
EXECUTE_TIMEOUT=60
cd ${BSIM_OUT_PATH}/bin
@ -20,6 +19,6 @@ Execute ./bs_${BOARD_TS}_${test_long_name}_prj_conf_overlay-extended_conf \
-testid=central_hr_peripheral_hr
Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
-D=2 -sim_length=10e6 $@
-D=2 -sim_length=12e6 $@
wait_for_background_jobs #Wait for all programs in background and return != 0 if any fails

View file

@ -7,8 +7,7 @@ source ${ZEPHYR_BASE}/tests/bsim/sh_common.source
simulation_id="central_hr_peripheral_hr_phy_coded_test"
test_long_name="$(guess_test_long_name)"
verbosity_level=2
EXECUTE_TIMEOUT=10
EXECUTE_TIMEOUT=60
cd ${BSIM_OUT_PATH}/bin
@ -20,6 +19,6 @@ Execute ./bs_${BOARD_TS}_${test_long_name}_prj_conf_overlay-phy_coded_conf \
-testid=central_hr_peripheral_hr
Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
-D=2 -sim_length=10e6 $@
-D=2 -sim_length=12e6 $@
wait_for_background_jobs #Wait for all programs in background and return != 0 if any fails