11#! /usr/bin/env bash
22#
3- # Copyright (c) 2020-2022 Nordic Semiconductor ASA
3+ # Copyright (c) 2020-2023 Nordic Semiconductor ASA
44#
55# SPDX-License-Identifier: Apache-2.0
66
@@ -14,9 +14,6 @@ EXECUTE_TIMEOUT=20
1414
1515cd ${BSIM_OUT_PATH} /bin
1616
17- # NORMAL TEST
18- printf " \n\n======== Running normal test ========\n\n"
19-
2017SIMULATION_ID=" csip"
2118
2219Execute ./bs_${BOARD} _tests_bsim_bluetooth_audio_prj_conf \
@@ -40,57 +37,3 @@ Execute ./bs_2G4_phy_v1 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} \
4037 -D=4 -sim_length=60e6 $@
4138
4239wait_for_background_jobs
43-
44- # TEST WITH FORCE RELEASE
45-
46- SIMULATION_ID=" csip_forced_release"
47-
48- printf " \n\n======== Running test with forced release of lock ========\n\n"
49- Execute ./bs_${BOARD} _tests_bsim_bluetooth_audio_prj_conf \
50- -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=csip_set_coordinator \
51- -RealEncryption=1 -rs=1
52-
53- Execute ./bs_${BOARD} _tests_bsim_bluetooth_audio_prj_conf \
54- -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=csip_set_member \
55- -RealEncryption=1 -rs=2 -argstest rank 1
56-
57- Execute ./bs_${BOARD} _tests_bsim_bluetooth_audio_prj_conf \
58- -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=2 -testid=csip_set_member \
59- -RealEncryption=1 -rs=3 -argstest rank 2
60-
61- Execute ./bs_${BOARD} _tests_bsim_bluetooth_audio_prj_conf \
62- -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=3 -testid=csip_set_member_release \
63- -RealEncryption=1 -rs=4 -argstest rank 3
64-
65- # Simulation time should be larger than the WAIT_TIME in common.h
66- Execute ./bs_2G4_phy_v1 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} \
67- -D=4 -sim_length=60e6 $@
68-
69- wait_for_background_jobs
70-
71- # TEST WITH SIRK ENC
72-
73- SIMULATION_ID=" csip_sirk_encrypted"
74-
75- printf " \n\n======== Running test with SIRK encrypted ========\n\n"
76- Execute ./bs_${BOARD} _tests_bsim_bluetooth_audio_prj_conf \
77- -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=csip_set_coordinator \
78- -RealEncryption=1 -rs=1
79-
80- Execute ./bs_${BOARD} _tests_bsim_bluetooth_audio_prj_conf \
81- -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=csip_set_member_enc \
82- -RealEncryption=1 -rs=2 -argstest rank 1
83-
84- Execute ./bs_${BOARD} _tests_bsim_bluetooth_audio_prj_conf \
85- -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=2 -testid=csip_set_member_enc \
86- -RealEncryption=1 -rs=3 -argstest rank 2
87-
88- Execute ./bs_${BOARD} _tests_bsim_bluetooth_audio_prj_conf \
89- -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=3 -testid=csip_set_member_enc \
90- -RealEncryption=1 -rs=4 -argstest rank 3
91-
92- # Simulation time should be larger than the WAIT_TIME in common.h
93- Execute ./bs_2G4_phy_v1 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} \
94- -D=4 -sim_length=60e6 $@
95-
96- wait_for_background_jobs
0 commit comments