Bluetooth: Audio: Align BabbleSim simulation lengths with other tests
Use same simulation length for TBS, bass, broadcas and unicast as for the other tests. Simulation length must be larger than time-out value, to give the test a chance to time out. The time-out value have previosly been aligned for the other tests. TBS was not done at that time, as it was still being upstreamed. (Unsure about why bass, unicast and broadcast were not done at the same time - they may have been in PRs). See commitsf7cd6afb79
and73f5ffcf4e
Signed-off-by: Asbjørn Sæbø <asbjorn.sabo@nordicsemi.no>
This commit is contained in:
parent
4f05240cec
commit
285db0dfc7
4 changed files with 10 additions and 5 deletions
|
@ -35,7 +35,8 @@ Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
|||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=2 -testid=bass_broadcaster -rs=69
|
||||
|
||||
Execute ./bs_2G4_phy_v1 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -D=3 -sim_length=20e6 $@
|
||||
# Simulation time should be larger than the WAIT_TIME in common.h
|
||||
Execute ./bs_2G4_phy_v1 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -D=3 -sim_length=60e6 $@
|
||||
|
||||
for PROCESS_ID in $PROCESS_IDS; do
|
||||
wait $PROCESS_ID || let "EXIT_CODE=$?"
|
||||
|
|
|
@ -33,8 +33,9 @@ Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
|||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=broadcast_sink -rs=27
|
||||
|
||||
# Simulation time should be larger than the WAIT_TIME in common.h
|
||||
Execute ./bs_2G4_phy_v1 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} \
|
||||
-D=2 -sim_length=20e6 $@
|
||||
-D=2 -sim_length=60e6 $@
|
||||
|
||||
for PROCESS_ID in $PROCESS_IDS; do
|
||||
wait $PROCESS_ID || let "EXIT_CODE=$?"
|
||||
|
@ -50,8 +51,9 @@ Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
|||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 \
|
||||
-testid=broadcast_sink_disconnect -rs=27
|
||||
|
||||
# Simulation time should be larger than the WAIT_TIME in common.h
|
||||
Execute ./bs_2G4_phy_v1 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} \
|
||||
-D=2 -sim_length=20e6 $@
|
||||
-D=2 -sim_length=60e6 $@
|
||||
|
||||
for PROCESS_ID in $PROCESS_IDS; do
|
||||
wait $PROCESS_ID || let "EXIT_CODE=$?"
|
||||
|
|
|
@ -31,8 +31,9 @@ Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
|||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=tbs_client -rs=6
|
||||
|
||||
# Simulation time should be larger than the WAIT_TIME in common.h
|
||||
Execute ./bs_2G4_phy_v1 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} \
|
||||
-D=2 -sim_length=20e6 $@
|
||||
-D=2 -sim_length=60e6 $@
|
||||
|
||||
for PROCESS_ID in $PROCESS_IDS; do
|
||||
wait $PROCESS_ID || let "EXIT_CODE=$?"
|
||||
|
|
|
@ -33,8 +33,9 @@ Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
|||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=unicast_server -rs=27
|
||||
|
||||
# Simulation time should be larger than the WAIT_TIME in common.h
|
||||
Execute ./bs_2G4_phy_v1 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} \
|
||||
-D=2 -sim_length=20e6 $@
|
||||
-D=2 -sim_length=60e6 $@
|
||||
|
||||
for PROCESS_ID in $PROCESS_IDS; do
|
||||
wait $PROCESS_ID || let "EXIT_CODE=$?"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue