tests: Bluetooth: restructure bsim_bt
directory
This commit separates each test by layer level. Obviously the tests will run the whole stack, but they should be separated by which component/layer they intend on testing. Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>
This commit is contained in:
parent
cdae0bb759
commit
2a9eda226b
472 changed files with 234 additions and 224 deletions
6
.github/workflows/bluetooth-tests.yaml
vendored
6
.github/workflows/bluetooth-tests.yaml
vendored
|
@ -6,7 +6,7 @@ on:
|
||||||
- ".github/workflows/bluetooth-test*.yaml"
|
- ".github/workflows/bluetooth-test*.yaml"
|
||||||
- "west.yml"
|
- "west.yml"
|
||||||
- "subsys/bluetooth/**"
|
- "subsys/bluetooth/**"
|
||||||
- "tests/bluetooth/bsim_bt/**"
|
- "tests/bluetooth/bsim/**"
|
||||||
- "boards/posix/**"
|
- "boards/posix/**"
|
||||||
- "soc/posix/**"
|
- "soc/posix/**"
|
||||||
- "arch/posix/**"
|
- "arch/posix/**"
|
||||||
|
@ -75,9 +75,9 @@ jobs:
|
||||||
- name: Run Bluetooth Tests with BSIM
|
- name: Run Bluetooth Tests with BSIM
|
||||||
run: |
|
run: |
|
||||||
export ZEPHYR_BASE=${PWD}
|
export ZEPHYR_BASE=${PWD}
|
||||||
WORK_DIR=${ZEPHYR_BASE}/bsim_bt_out tests/bluetooth/bsim_bt/compile.sh
|
WORK_DIR=${ZEPHYR_BASE}/bsim_bt_out tests/bluetooth/bsim/compile.sh
|
||||||
RESULTS_FILE=${ZEPHYR_BASE}/${bsim_bt_test_results_file} \
|
RESULTS_FILE=${ZEPHYR_BASE}/${bsim_bt_test_results_file} \
|
||||||
SEARCH_PATH=tests/bluetooth/bsim_bt/ tests/bluetooth/bsim_bt/run_parallel.sh
|
SEARCH_PATH=tests/bluetooth/bsim/ tests/bluetooth/bsim/run_parallel.sh
|
||||||
|
|
||||||
- name: Upload Test Results
|
- name: Upload Test Results
|
||||||
if: always()
|
if: always()
|
||||||
|
|
|
@ -823,9 +823,9 @@ scripts/build/gen_image_info.py @tejlmand
|
||||||
/tests/boards/native_posix/ @aescolar @daor-oti
|
/tests/boards/native_posix/ @aescolar @daor-oti
|
||||||
/tests/bluetooth/ @alwa-nordic @jhedberg @Vudentz @sjanc
|
/tests/bluetooth/ @alwa-nordic @jhedberg @Vudentz @sjanc
|
||||||
/tests/bluetooth/controller/ @cvinayak @thoh-ot @kruithofa @erbr-ot @sjanc @ppryga
|
/tests/bluetooth/controller/ @cvinayak @thoh-ot @kruithofa @erbr-ot @sjanc @ppryga
|
||||||
/tests/bluetooth/bsim_bt/ @alwa-nordic @jhedberg @Vudentz @wopu-ot
|
/tests/bluetooth/bsim/ @alwa-nordic @jhedberg @Vudentz @wopu-ot
|
||||||
/tests/bluetooth/bsim_bt/bsim_test_audio/ @jhedberg @Vudentz @wopu-ot @Thalley
|
/tests/bluetooth/bsim/audio/ @jhedberg @Vudentz @wopu-ot @Thalley
|
||||||
/tests/bluetooth/bsim_bt/bsim_test_mesh/ @jhedberg @Vudentz @wopu-ot @PavelVPV
|
/tests/bluetooth/bsim/mesh/ @jhedberg @Vudentz @wopu-ot @PavelVPV
|
||||||
/tests/bluetooth/mesh_shell/ @jhedberg @Vudentz @sjanc @PavelVPV
|
/tests/bluetooth/mesh_shell/ @jhedberg @Vudentz @sjanc @PavelVPV
|
||||||
/tests/bluetooth/tester/ @alwa-nordic @jhedberg @Vudentz @sjanc
|
/tests/bluetooth/tester/ @alwa-nordic @jhedberg @Vudentz @sjanc
|
||||||
/tests/posix/ @cfriedt
|
/tests/posix/ @cfriedt
|
||||||
|
|
|
@ -210,7 +210,7 @@ Bluetooth:
|
||||||
- samples/bluetooth/mesh/
|
- samples/bluetooth/mesh/
|
||||||
- subsys/bluetooth/audio/
|
- subsys/bluetooth/audio/
|
||||||
- include/zephyr/bluetooth/audio/
|
- include/zephyr/bluetooth/audio/
|
||||||
- tests/bluetooth/bsim_bt/bsim_test_audio/
|
- tests/bluetooth/bsim/audio/
|
||||||
- tests/bluetooth/controller/
|
- tests/bluetooth/controller/
|
||||||
- tests/bluetooth/mesh_*/
|
- tests/bluetooth/mesh_*/
|
||||||
- tests/bluetooth/mesh/
|
- tests/bluetooth/mesh/
|
||||||
|
@ -271,7 +271,7 @@ Bluetooth Audio:
|
||||||
files:
|
files:
|
||||||
- subsys/bluetooth/audio/
|
- subsys/bluetooth/audio/
|
||||||
- include/zephyr/bluetooth/audio/
|
- include/zephyr/bluetooth/audio/
|
||||||
- tests/bluetooth/bsim_bt/bsim_test_audio/
|
- tests/bluetooth/bsim/audio/
|
||||||
- tests/bluetooth/shell/audio*
|
- tests/bluetooth/shell/audio*
|
||||||
labels:
|
labels:
|
||||||
- "area: Bluetooth Audio"
|
- "area: Bluetooth Audio"
|
||||||
|
|
|
@ -7,5 +7,8 @@ the needed images and execute these tests in batch.
|
||||||
You can also run them manually if desired, but be sure to call them setting
|
You can also run them manually if desired, but be sure to call them setting
|
||||||
the variables they expect. For example, from Zephyr's root folder, you can run:
|
the variables they expect. For example, from Zephyr's root folder, you can run:
|
||||||
|
|
||||||
WORK_DIR=${ZEPHYR_BASE}/bsim_bt_out tests/bluetooth/bsim_bt/compile.sh
|
WORK_DIR=${ZEPHYR_BASE}/bsim_bt_out tests/bluetooth/bsim/compile.sh
|
||||||
RESULTS_FILE=${ZEPHYR_BASE}/myresults.xml SEARCH_PATH=tests/bluetooth/bsim_bt/bsim_test_app/tests_scripts tests/bluetooth/bsim_bt/run_parallel.sh
|
RESULTS_FILE=${ZEPHYR_BASE}/myresults.xml SEARCH_PATH=tests/bluetooth/bsim tests/bluetooth/bsim/run_parallel.sh
|
||||||
|
|
||||||
|
Or to run only a specific subset, e.g. host advertising tests:
|
||||||
|
RESULTS_FILE=${ZEPHYR_BASE}/myresults.xml SEARCH_PATH=tests/bluetooth/bsim/host/adv tests/bluetooth/bsim/run_parallel.sh
|
|
@ -21,7 +21,7 @@ BOARD_ROOT="${BOARD_ROOT:-${ZEPHYR_BASE}}"
|
||||||
|
|
||||||
mkdir -p ${WORK_DIR}
|
mkdir -p ${WORK_DIR}
|
||||||
|
|
||||||
source ${ZEPHYR_BASE}/tests/bluetooth/bsim_bt/compile.source
|
source ${ZEPHYR_BASE}/tests/bluetooth/bsim/compile.source
|
||||||
|
|
||||||
|
|
||||||
declare -a list=(
|
declare -a list=(
|
||||||
|
@ -62,7 +62,7 @@ perm_compile() {
|
||||||
echo "Compile with config overlay:"
|
echo "Compile with config overlay:"
|
||||||
cat $3
|
cat $3
|
||||||
fi
|
fi
|
||||||
local app=tests/bluetooth/bsim_bt/edtt_ble_test_app/hci_test_app
|
local app=tests/bluetooth/bsim/ll/edtt/hci_test_app
|
||||||
local conf_file=prj_dut.conf
|
local conf_file=prj_dut.conf
|
||||||
local conf_overlay=$3
|
local conf_overlay=$3
|
||||||
compile
|
compile
|
|
@ -26,15 +26,15 @@ cd ${BSIM_OUT_PATH}/bin
|
||||||
|
|
||||||
printf "\n\n======== Running BASS and BASS client test =========\n\n"
|
printf "\n\n======== Running BASS and BASS client test =========\n\n"
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=bap_scan_delegator \
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=bap_scan_delegator \
|
||||||
-rs=24
|
-rs=24
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 \
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 \
|
||||||
-testid=bap_broadcast_assistant -rs=46
|
-testid=bap_broadcast_assistant -rs=46
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=2 -testid=bass_broadcaster -rs=69
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=2 -testid=bass_broadcaster -rs=69
|
||||||
|
|
||||||
# Simulation time should be larger than the WAIT_TIME in common.h
|
# Simulation time should be larger than the WAIT_TIME in common.h
|
|
@ -27,11 +27,11 @@ printf "\n\n======== Broadcaster test =========\n\n"
|
||||||
|
|
||||||
SIMULATION_ID="broadcaster"
|
SIMULATION_ID="broadcaster"
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=broadcast_source -rs=23
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=broadcast_source -rs=23
|
||||||
|
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=broadcast_sink -rs=27
|
-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
|
# Simulation time should be larger than the WAIT_TIME in common.h
|
||||||
|
@ -46,11 +46,11 @@ printf "\n\n======== Broadcaster sink disconnect test =========\n\n"
|
||||||
|
|
||||||
SIMULATION_ID="broadcaster_sink_disconnect"
|
SIMULATION_ID="broadcaster_sink_disconnect"
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=broadcast_source -rs=23
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=broadcast_source -rs=23
|
||||||
|
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 \
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 \
|
||||||
-testid=broadcast_sink_disconnect -rs=27
|
-testid=broadcast_sink_disconnect -rs=27
|
||||||
|
|
|
@ -26,10 +26,10 @@ cd ${BSIM_OUT_PATH}/bin
|
||||||
|
|
||||||
printf "\n\n======== Running CAP broadcast test =========\n\n"
|
printf "\n\n======== Running CAP broadcast test =========\n\n"
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=cap_acceptor_broadcast -rs=23
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=cap_acceptor_broadcast -rs=23
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=cap_initiator_broadcast -rs=46
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=cap_initiator_broadcast -rs=46
|
||||||
|
|
||||||
# Simulation time should be larger than the WAIT_TIME in common.h
|
# Simulation time should be larger than the WAIT_TIME in common.h
|
|
@ -26,10 +26,10 @@ cd ${BSIM_OUT_PATH}/bin
|
||||||
|
|
||||||
printf "\n\n======== Running CAP unicast test =========\n\n"
|
printf "\n\n======== Running CAP unicast test =========\n\n"
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=cap_acceptor_unicast -rs=23
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=cap_acceptor_unicast -rs=23
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=cap_initiator_unicast -rs=46
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=cap_initiator_unicast -rs=46
|
||||||
|
|
||||||
# Simulation time should be larger than the WAIT_TIME in common.h
|
# Simulation time should be larger than the WAIT_TIME in common.h
|
|
@ -31,19 +31,19 @@ printf "\n\n======== Running normal test ========\n\n"
|
||||||
|
|
||||||
SIMULATION_ID="csip"
|
SIMULATION_ID="csip"
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=csip_set_coordinator \
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=csip_set_coordinator \
|
||||||
-RealEncryption=1 -rs=1
|
-RealEncryption=1 -rs=1
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=csip_set_member \
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=csip_set_member \
|
||||||
-RealEncryption=1 -rs=2 -argstest rank 1
|
-RealEncryption=1 -rs=2 -argstest rank 1
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=2 -testid=csip_set_member \
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=2 -testid=csip_set_member \
|
||||||
-RealEncryption=1 -rs=3 -argstest rank 2
|
-RealEncryption=1 -rs=3 -argstest rank 2
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=3 -testid=csip_set_member \
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=3 -testid=csip_set_member \
|
||||||
-RealEncryption=1 -rs=4 -argstest rank 3
|
-RealEncryption=1 -rs=4 -argstest rank 3
|
||||||
|
|
||||||
|
@ -62,19 +62,19 @@ PROCESS_IDS="";
|
||||||
SIMULATION_ID="csip_forced_release"
|
SIMULATION_ID="csip_forced_release"
|
||||||
|
|
||||||
printf "\n\n======== Running test with forced release of lock ========\n\n"
|
printf "\n\n======== Running test with forced release of lock ========\n\n"
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=csip_set_coordinator \
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=csip_set_coordinator \
|
||||||
-RealEncryption=1 -rs=1
|
-RealEncryption=1 -rs=1
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=csip_set_member \
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=csip_set_member \
|
||||||
-RealEncryption=1 -rs=2 -argstest rank 1
|
-RealEncryption=1 -rs=2 -argstest rank 1
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=2 -testid=csip_set_member \
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=2 -testid=csip_set_member \
|
||||||
-RealEncryption=1 -rs=3 -argstest rank 2
|
-RealEncryption=1 -rs=3 -argstest rank 2
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=3 -testid=csip_set_member_release \
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=3 -testid=csip_set_member_release \
|
||||||
-RealEncryption=1 -rs=4 -argstest rank 3
|
-RealEncryption=1 -rs=4 -argstest rank 3
|
||||||
|
|
||||||
|
@ -91,19 +91,19 @@ done
|
||||||
SIMULATION_ID="csip_sirk_encrypted"
|
SIMULATION_ID="csip_sirk_encrypted"
|
||||||
|
|
||||||
printf "\n\n======== Running test with SIRK encrypted ========\n\n"
|
printf "\n\n======== Running test with SIRK encrypted ========\n\n"
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=csip_set_coordinator \
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=csip_set_coordinator \
|
||||||
-RealEncryption=1 -rs=1
|
-RealEncryption=1 -rs=1
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=csip_set_member_enc \
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=csip_set_member_enc \
|
||||||
-RealEncryption=1 -rs=2 -argstest rank 1
|
-RealEncryption=1 -rs=2 -argstest rank 1
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=2 -testid=csip_set_member_enc \
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=2 -testid=csip_set_member_enc \
|
||||||
-RealEncryption=1 -rs=3 -argstest rank 2
|
-RealEncryption=1 -rs=3 -argstest rank 2
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=3 -testid=csip_set_member_enc \
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=3 -testid=csip_set_member_enc \
|
||||||
-RealEncryption=1 -rs=4 -argstest rank 3
|
-RealEncryption=1 -rs=4 -argstest rank 3
|
||||||
|
|
|
@ -26,10 +26,10 @@ cd ${BSIM_OUT_PATH}/bin
|
||||||
|
|
||||||
printf "\n\n======== Running HAS main (API) test =========\n\n"
|
printf "\n\n======== Running HAS main (API) test =========\n\n"
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=has -rs=24
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=has -rs=24
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=has_client -rs=46
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=has_client -rs=46
|
||||||
|
|
||||||
Execute ./bs_2G4_phy_v1 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} \
|
Execute ./bs_2G4_phy_v1 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} \
|
|
@ -26,10 +26,10 @@ cd ${BSIM_OUT_PATH}/bin
|
||||||
|
|
||||||
printf "\n\n======== Running IAS main (API) test =========\n\n"
|
printf "\n\n======== Running IAS main (API) test =========\n\n"
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=ias -rs=23
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=ias -rs=23
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=ias_client -rs=6
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=ias_client -rs=6
|
||||||
|
|
||||||
# Simulation time should be larger than the WAIT_TIME in common.h
|
# Simulation time should be larger than the WAIT_TIME in common.h
|
|
@ -26,10 +26,10 @@ cd ${BSIM_OUT_PATH}/bin
|
||||||
|
|
||||||
printf "\n\n======== Running MCS and MCC test =========\n\n"
|
printf "\n\n======== Running MCS and MCC test =========\n\n"
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=mcc -rs=46
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=mcc -rs=46
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=mcs -rs=23
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=mcs -rs=23
|
||||||
|
|
||||||
# Simulation time should be larger than the WAIT_TIME in common.h
|
# Simulation time should be larger than the WAIT_TIME in common.h
|
|
@ -26,7 +26,7 @@ cd ${BSIM_OUT_PATH}/bin
|
||||||
|
|
||||||
printf "\n\n======== Running media controller local_player test =========\n\n"
|
printf "\n\n======== Running media controller local_player test =========\n\n"
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=media_controller_local_player -rs=23
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=media_controller_local_player -rs=23
|
||||||
|
|
||||||
# Simulation time should be larger than the WAIT_TIME in common.h
|
# Simulation time should be larger than the WAIT_TIME in common.h
|
||||||
|
@ -39,10 +39,10 @@ done
|
||||||
|
|
||||||
printf "\n\n======== Running media controller remote_player test =========\n\n"
|
printf "\n\n======== Running media controller remote_player test =========\n\n"
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=media_controller_remote_player -rs=46
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=media_controller_remote_player -rs=46
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=media_controller_server -rs=23
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=media_controller_server -rs=23
|
||||||
|
|
||||||
# Simulation time should be larger than the WAIT_TIME in common.h
|
# Simulation time should be larger than the WAIT_TIME in common.h
|
|
@ -26,7 +26,7 @@ cd ${BSIM_OUT_PATH}/bin
|
||||||
|
|
||||||
printf "\n\n==== Running MICP Microphone Device Only (API) test ====n\n"
|
printf "\n\n==== Running MICP Microphone Device Only (API) test ====n\n"
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=micp_mic_dev_only -rs=23
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=micp_mic_dev_only -rs=23
|
||||||
|
|
||||||
# Simulation time should be larger than the WAIT_TIME in common.h
|
# Simulation time should be larger than the WAIT_TIME in common.h
|
||||||
|
@ -39,10 +39,10 @@ done
|
||||||
|
|
||||||
printf "\n\n==== Running MICP Microphone Device and MICP Microphone Controller test ====n\n"
|
printf "\n\n==== Running MICP Microphone Device and MICP Microphone Controller test ====n\n"
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=micp_mic_dev -rs=23
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=micp_mic_dev -rs=23
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=micp_mic_ctlr -rs=46
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=micp_mic_ctlr -rs=46
|
||||||
|
|
||||||
# Simulation time should be larger than the WAIT_TIME in common.h
|
# Simulation time should be larger than the WAIT_TIME in common.h
|
|
@ -25,10 +25,10 @@ BOARD="${BOARD:-nrf52_bsim}"
|
||||||
|
|
||||||
cd ${BSIM_OUT_PATH}/bin
|
cd ${BSIM_OUT_PATH}/bin
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=tbs -rs=23
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=tbs -rs=23
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=tbs_client -rs=6
|
-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
|
# Simulation time should be larger than the WAIT_TIME in common.h
|
|
@ -26,11 +26,11 @@ cd ${BSIM_OUT_PATH}/bin
|
||||||
|
|
||||||
printf "\n\n======== Unicast Audio test =========\n\n"
|
printf "\n\n======== Unicast Audio test =========\n\n"
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=unicast_client -rs=23
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=unicast_client -rs=23
|
||||||
|
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=unicast_server -rs=27
|
-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
|
# Simulation time should be larger than the WAIT_TIME in common.h
|
|
@ -26,7 +26,7 @@ cd ${BSIM_OUT_PATH}/bin
|
||||||
|
|
||||||
printf "\n\n======== Running VCP Volume Renderer standalone (API) test =========\n\n"
|
printf "\n\n======== Running VCP Volume Renderer standalone (API) test =========\n\n"
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0
|
||||||
-testid=vcp_vol_rend_standalone -rs=23
|
-testid=vcp_vol_rend_standalone -rs=23
|
||||||
|
|
||||||
|
@ -40,10 +40,10 @@ done
|
||||||
|
|
||||||
printf "\n\n======== Running VCP Volume Renderer and VCP Volume Controller test =========\n\n"
|
printf "\n\n======== Running VCP Volume Renderer and VCP Volume Controller test =========\n\n"
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=vcp_vol_rend -rs=23
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=vcp_vol_rend -rs=23
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_audio_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_audio_prj_conf \
|
||||||
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=vcp_vol_ctlr -rs=46
|
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=vcp_vol_ctlr -rs=46
|
||||||
|
|
||||||
# Simulation time should be larger than the WAIT_TIME in common.h
|
# Simulation time should be larger than the WAIT_TIME in common.h
|
85
tests/bluetooth/bsim/compile.sh
Executable file
85
tests/bluetooth/bsim/compile.sh
Executable file
|
@ -0,0 +1,85 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
# Copyright 2018 Oticon A/S
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
# Compile all the applications needed by the bsim tests
|
||||||
|
|
||||||
|
#set -x #uncomment this line for debugging
|
||||||
|
set -ue
|
||||||
|
|
||||||
|
: "${BSIM_OUT_PATH:?BSIM_OUT_PATH must be defined}"
|
||||||
|
: "${BSIM_COMPONENTS_PATH:?BSIM_COMPONENTS_PATH must be defined}"
|
||||||
|
: "${ZEPHYR_BASE:?ZEPHYR_BASE must be set to point to the zephyr root\
|
||||||
|
directory}"
|
||||||
|
|
||||||
|
WORK_DIR="${WORK_DIR:-${ZEPHYR_BASE}/bsim_out}"
|
||||||
|
BOARD="${BOARD:-nrf52_bsim}"
|
||||||
|
BOARD_ROOT="${BOARD_ROOT:-${ZEPHYR_BASE}}"
|
||||||
|
|
||||||
|
mkdir -p ${WORK_DIR}
|
||||||
|
|
||||||
|
source ${ZEPHYR_BASE}/tests/bluetooth/bsim/compile.source
|
||||||
|
|
||||||
|
app=tests/bluetooth/bsim/audio compile &
|
||||||
|
|
||||||
|
app=tests/bluetooth/bsim/host/adv/resume compile &
|
||||||
|
app=tests/bluetooth/bsim/host/adv/resume conf_file=prj_2.conf compile &
|
||||||
|
app=tests/bluetooth/bsim/host/adv/chain compile &
|
||||||
|
app=tests/bluetooth/bsim/host/adv/periodic compile &
|
||||||
|
app=tests/bluetooth/bsim/host/adv/periodic conf_file=prj_long_data.conf compile &
|
||||||
|
|
||||||
|
app=tests/bluetooth/bsim/host/att/eatt conf_file=prj_collision.conf compile &
|
||||||
|
app=tests/bluetooth/bsim/host/att/eatt conf_file=prj_multiple_conn.conf compile &
|
||||||
|
app=tests/bluetooth/bsim/host/att/eatt conf_file=prj_autoconnect.conf compile &
|
||||||
|
app=tests/bluetooth/bsim/host/att/eatt_notif conf_file=prj.conf compile &
|
||||||
|
app=tests/bluetooth/bsim/host/att/mtu_update compile &
|
||||||
|
|
||||||
|
app=tests/bluetooth/bsim/host/gatt/caching compile &
|
||||||
|
app=tests/bluetooth/bsim/host/gatt/general compile &
|
||||||
|
app=tests/bluetooth/bsim/host/gatt/notify compile &
|
||||||
|
app=tests/bluetooth/bsim/host/gatt/notify_multiple compile &
|
||||||
|
app=tests/bluetooth/bsim/host/gatt/settings compile &
|
||||||
|
app=tests/bluetooth/bsim/host/gatt/settings conf_file=prj_2.conf compile &
|
||||||
|
app=tests/bluetooth/bsim/host/gatt/write compile &
|
||||||
|
|
||||||
|
app=tests/bluetooth/bsim/host/l2cap/general compile &
|
||||||
|
app=tests/bluetooth/bsim/host/l2cap/userdata compile &
|
||||||
|
app=tests/bluetooth/bsim/host/l2cap/stress compile &
|
||||||
|
|
||||||
|
app=tests/bluetooth/bsim/host/misc/disable compile &
|
||||||
|
app=tests/bluetooth/bsim/host/misc/multiple_id compile &
|
||||||
|
|
||||||
|
app=tests/bluetooth/bsim/host/privacy/central compile &
|
||||||
|
app=tests/bluetooth/bsim/host/privacy/peripheral compile &
|
||||||
|
|
||||||
|
app=tests/bluetooth/bsim/host/security/bond_overwrite_allowed compile &
|
||||||
|
app=tests/bluetooth/bsim/host/security/bond_overwrite_denied compile &
|
||||||
|
|
||||||
|
app=tests/bluetooth/bsim/ll/advx compile &
|
||||||
|
|
||||||
|
app=tests/bluetooth/bsim/ll/conn conf_file=prj_split.conf compile &
|
||||||
|
app=tests/bluetooth/bsim/ll/conn conf_file=prj_split_privacy.conf compile &
|
||||||
|
app=tests/bluetooth/bsim/ll/conn conf_file=prj_split_low_lat.conf compile &
|
||||||
|
|
||||||
|
app=tests/bluetooth/bsim/ll/iso compile &
|
||||||
|
app=tests/bluetooth/bsim/ll/iso conf_file=prj_vs_dp.conf compile &
|
||||||
|
|
||||||
|
app=tests/bluetooth/bsim/ll/edtt/hci_test_app \
|
||||||
|
conf_file=prj_dut_llcp.conf compile &
|
||||||
|
app=tests/bluetooth/bsim/ll/edtt/hci_test_app \
|
||||||
|
conf_file=prj_tst_llcp.conf compile &
|
||||||
|
app=tests/bluetooth/bsim/ll/edtt/hci_test_app \
|
||||||
|
conf_file=prj_dut.conf compile &
|
||||||
|
app=tests/bluetooth/bsim/ll/edtt/hci_test_app \
|
||||||
|
conf_file=prj_tst.conf compile &
|
||||||
|
app=tests/bluetooth/bsim/ll/edtt/gatt_test_app \
|
||||||
|
conf_file=prj.conf compile &
|
||||||
|
app=tests/bluetooth/bsim/ll/edtt/gatt_test_app \
|
||||||
|
conf_file=prj_llcp.conf compile &
|
||||||
|
|
||||||
|
app=tests/bluetooth/bsim/mesh compile &
|
||||||
|
app=tests/bluetooth/bsim/mesh conf_overlay=overlay_low_lat.conf compile &
|
||||||
|
app=tests/bluetooth/bsim/mesh conf_overlay=overlay_pst.conf compile &
|
||||||
|
app=tests/bluetooth/bsim/mesh conf_overlay=overlay_gatt.conf compile &
|
||||||
|
|
||||||
|
wait
|
|
@ -24,10 +24,10 @@ BOARD="${BOARD:-nrf52_bsim}"
|
||||||
|
|
||||||
cd ${BSIM_OUT_PATH}/bin
|
cd ${BSIM_OUT_PATH}/bin
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_adv_chain_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_host_adv_chain_prj_conf \
|
||||||
-v=${verbosity_level} -s=${simulation_id} -d=0 -testid=adv
|
-v=${verbosity_level} -s=${simulation_id} -d=0 -testid=adv
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_adv_chain_prj_conf\
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_host_adv_chain_prj_conf\
|
||||||
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=scan
|
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=scan
|
||||||
|
|
||||||
Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
|
Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
|
|
@ -24,11 +24,11 @@ BOARD="${BOARD:-nrf52_bsim}"
|
||||||
|
|
||||||
cd ${BSIM_OUT_PATH}/bin
|
cd ${BSIM_OUT_PATH}/bin
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_per_adv_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_host_adv_periodic_prj_conf \
|
||||||
-v=${verbosity_level} -s=${simulation_id} -d=0 -RealEncryption=0 \
|
-v=${verbosity_level} -s=${simulation_id} -d=0 -RealEncryption=0 \
|
||||||
-testid=per_adv_advertiser -rs=23
|
-testid=per_adv_advertiser -rs=23
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_per_adv_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_host_adv_periodic_prj_conf \
|
||||||
-v=${verbosity_level} -s=${simulation_id} -d=1 -RealEncryption=0 \
|
-v=${verbosity_level} -s=${simulation_id} -d=1 -RealEncryption=0 \
|
||||||
-testid=per_adv_syncer -rs=6
|
-testid=per_adv_syncer -rs=6
|
||||||
|
|
|
@ -24,11 +24,11 @@ BOARD="${BOARD:-nrf52_bsim}"
|
||||||
|
|
||||||
cd ${BSIM_OUT_PATH}/bin
|
cd ${BSIM_OUT_PATH}/bin
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_per_adv_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_host_adv_periodic_prj_conf \
|
||||||
-v=${verbosity_level} -s=${simulation_id} -d=0 -RealEncryption=0 \
|
-v=${verbosity_level} -s=${simulation_id} -d=0 -RealEncryption=0 \
|
||||||
-testid=per_adv_conn_advertiser -rs=23
|
-testid=per_adv_conn_advertiser -rs=23
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_per_adv_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_host_adv_periodic_prj_conf \
|
||||||
-v=${verbosity_level} -s=${simulation_id} -d=1 -RealEncryption=0 \
|
-v=${verbosity_level} -s=${simulation_id} -d=1 -RealEncryption=0 \
|
||||||
-testid=per_adv_conn_syncer -rs=6
|
-testid=per_adv_conn_syncer -rs=6
|
||||||
|
|
|
@ -24,11 +24,11 @@ BOARD="${BOARD:-nrf52_bsim}"
|
||||||
|
|
||||||
cd ${BSIM_OUT_PATH}/bin
|
cd ${BSIM_OUT_PATH}/bin
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_per_adv_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_host_adv_periodic_prj_conf \
|
||||||
-v=${verbosity_level} -s=${simulation_id} -d=0 -RealEncryption=0 \
|
-v=${verbosity_level} -s=${simulation_id} -d=0 -RealEncryption=0 \
|
||||||
-testid=per_adv_conn_privacy_advertiser -rs=23
|
-testid=per_adv_conn_privacy_advertiser -rs=23
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_per_adv_prj_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_host_adv_periodic_prj_conf \
|
||||||
-v=${verbosity_level} -s=${simulation_id} -d=1 -RealEncryption=0 \
|
-v=${verbosity_level} -s=${simulation_id} -d=1 -RealEncryption=0 \
|
||||||
-testid=per_adv_conn_privacy_syncer -rs=6
|
-testid=per_adv_conn_privacy_syncer -rs=6
|
||||||
|
|
|
@ -24,11 +24,11 @@ BOARD="${BOARD:-nrf52_bsim}"
|
||||||
|
|
||||||
cd ${BSIM_OUT_PATH}/bin
|
cd ${BSIM_OUT_PATH}/bin
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_per_adv_prj_long_data_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_host_adv_periodic_prj_long_data_conf \
|
||||||
-v=${verbosity_level} -s=${simulation_id} -d=0 -RealEncryption=0 \
|
-v=${verbosity_level} -s=${simulation_id} -d=0 -RealEncryption=0 \
|
||||||
-testid=per_adv_long_data_advertiser -rs=23
|
-testid=per_adv_long_data_advertiser -rs=23
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_per_adv_prj_long_data_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_host_adv_periodic_prj_long_data_conf \
|
||||||
-v=${verbosity_level} -s=${simulation_id} -d=1 -RealEncryption=0 \
|
-v=${verbosity_level} -s=${simulation_id} -d=1 -RealEncryption=0 \
|
||||||
-testid=per_adv_long_data_syncer -rs=6
|
-testid=per_adv_long_data_syncer -rs=6
|
||||||
|
|
|
@ -9,5 +9,5 @@ bash_source_dir="$(realpath "$(dirname "${BASH_SOURCE[0]}")")"
|
||||||
test_name="$(basename "$(realpath "$bash_source_dir/..")")"
|
test_name="$(basename "$(realpath "$bash_source_dir/..")")"
|
||||||
bsim_bin="${BSIM_OUT_PATH}/bin"
|
bsim_bin="${BSIM_OUT_PATH}/bin"
|
||||||
BOARD="${BOARD:-nrf52_bsim}"
|
BOARD="${BOARD:-nrf52_bsim}"
|
||||||
test_exe="${bsim_bin}/bs_${BOARD}_tests_bluetooth_bsim_bt_${test_name}_prj_conf"
|
test_exe="${bsim_bin}/bs_${BOARD}_tests_bluetooth_bsim_host_adv_resume_prj_conf"
|
||||||
test_2_exe="${bsim_bin}/bs_${BOARD}_tests_bluetooth_bsim_bt_${test_name}_prj_2_conf"
|
test_2_exe="${bsim_bin}/bs_${BOARD}_tests_bluetooth_bsim_host_adv_resume_prj_2_conf"
|
|
@ -22,10 +22,10 @@ BOARD="${BOARD:-nrf52_bsim}"
|
||||||
|
|
||||||
cd ${BSIM_OUT_PATH}/bin
|
cd ${BSIM_OUT_PATH}/bin
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_eatt_prj_autoconnect_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_host_att_eatt_prj_autoconnect_conf \
|
||||||
-v=${verbosity_level} -s=${simulation_id} -d=0 -testid=central_autoconnect
|
-v=${verbosity_level} -s=${simulation_id} -d=0 -testid=central_autoconnect
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_eatt_prj_autoconnect_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_host_att_eatt_prj_autoconnect_conf \
|
||||||
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=peripheral_autoconnect
|
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=peripheral_autoconnect
|
||||||
|
|
||||||
Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
|
Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
|
|
@ -22,10 +22,10 @@ BOARD="${BOARD:-nrf52_bsim}"
|
||||||
|
|
||||||
cd ${BSIM_OUT_PATH}/bin
|
cd ${BSIM_OUT_PATH}/bin
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_eatt_prj_collision_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_host_att_eatt_prj_collision_conf \
|
||||||
-v=${verbosity_level} -s=${simulation_id} -d=0 -testid=central
|
-v=${verbosity_level} -s=${simulation_id} -d=0 -testid=central
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_eatt_prj_collision_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_host_att_eatt_prj_collision_conf \
|
||||||
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=peripheral
|
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=peripheral
|
||||||
|
|
||||||
Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
|
Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
|
|
@ -22,10 +22,10 @@ BOARD="${BOARD:-nrf52_bsim}"
|
||||||
|
|
||||||
cd ${BSIM_OUT_PATH}/bin
|
cd ${BSIM_OUT_PATH}/bin
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_eatt_prj_multiple_conn_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_host_att_eatt_prj_multiple_conn_conf \
|
||||||
-v=${verbosity_level} -s=${simulation_id} -d=0 -testid=central
|
-v=${verbosity_level} -s=${simulation_id} -d=0 -testid=central
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_eatt_prj_multiple_conn_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_host_att_eatt_prj_multiple_conn_conf \
|
||||||
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=peripheral
|
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=peripheral
|
||||||
|
|
||||||
Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
|
Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
|
|
@ -22,10 +22,10 @@ BOARD="${BOARD:-nrf52_bsim}"
|
||||||
|
|
||||||
cd ${BSIM_OUT_PATH}/bin
|
cd ${BSIM_OUT_PATH}/bin
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_eatt_prj_autoconnect_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_host_att_eatt_prj_autoconnect_conf \
|
||||||
-v=${verbosity_level} -s=${simulation_id} -d=0 -testid=central_reconfigure
|
-v=${verbosity_level} -s=${simulation_id} -d=0 -testid=central_reconfigure
|
||||||
|
|
||||||
Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_eatt_prj_autoconnect_conf \
|
Execute ./bs_${BOARD}_tests_bluetooth_bsim_host_att_eatt_prj_autoconnect_conf \
|
||||||
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=peripheral_reconfigure
|
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=peripheral_reconfigure
|
||||||
|
|
||||||
Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
|
Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue