File tree Expand file tree Collapse file tree 2 files changed +33
-21
lines changed
tests/bsim/bluetooth/audio/test_scripts Expand file tree Collapse file tree 2 files changed +33
-21
lines changed Original file line number Diff line number Diff line change 55# SPDX-License-Identifier: Apache-2.0
66
77VERBOSITY_LEVEL=2
8- EXECUTE_TIMEOUT=240
8+ EXECUTE_TIMEOUT=120
99
1010source ${ZEPHYR_BASE} /tests/bsim/sh_common.source
1111
1212cd ${BSIM_OUT_PATH} /bin
1313
1414printf " \n\n======== Broadcaster test =========\n\n"
1515
16- SIMULATION_ID=" broadcaster "
16+ SIMULATION_ID=" bap_broadcast_audio "
1717
1818Execute ./bs_${BOARD_TS} _tests_bsim_bluetooth_audio_prj_conf \
1919 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=broadcast_source \
@@ -29,22 +29,3 @@ Execute ./bs_2G4_phy_v1 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} \
2929 -D=2 -sim_length=60e6 $@
3030
3131wait_for_background_jobs
32-
33- printf " \n\n======== Broadcaster sink disconnect test =========\n\n"
34-
35- SIMULATION_ID=" broadcaster_sink_disconnect"
36-
37- Execute ./bs_${BOARD_TS} _tests_bsim_bluetooth_audio_prj_conf \
38- -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=broadcast_source \
39- -RealEncryption=1 -rs=23 -D=2
40-
41-
42- Execute ./bs_${BOARD_TS} _tests_bsim_bluetooth_audio_prj_conf \
43- -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 \
44- -testid=broadcast_sink_disconnect -RealEncryption=1 -rs=27 -D=2
45-
46- # Simulation time should be larger than the WAIT_TIME in common.h
47- Execute ./bs_2G4_phy_v1 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} \
48- -D=2 -sim_length=60e6 $@
49-
50- wait_for_background_jobs
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ #
3+ # Copyright (c) 2021 Nordic Semiconductor ASA
4+ #
5+ # SPDX-License-Identifier: Apache-2.0
6+
7+ VERBOSITY_LEVEL=2
8+ EXECUTE_TIMEOUT=120
9+
10+ source ${ZEPHYR_BASE} /tests/bsim/sh_common.source
11+
12+ cd ${BSIM_OUT_PATH} /bin
13+
14+ printf " \n\n======== Broadcaster sink disconnect test =========\n\n"
15+
16+ SIMULATION_ID=" bap_broadcast_audio_sink_disconnect"
17+
18+ Execute ./bs_${BOARD_TS} _tests_bsim_bluetooth_audio_prj_conf \
19+ -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=broadcast_source \
20+ -RealEncryption=1 -rs=23 -D=2
21+
22+
23+ Execute ./bs_${BOARD_TS} _tests_bsim_bluetooth_audio_prj_conf \
24+ -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 \
25+ -testid=broadcast_sink_disconnect -RealEncryption=1 -rs=27 -D=2
26+
27+ # Simulation time should be larger than the WAIT_TIME in common.h
28+ Execute ./bs_2G4_phy_v1 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} \
29+ -D=2 -sim_length=60e6 $@
30+
31+ wait_for_background_jobs
You can’t perform that action at this time.
0 commit comments