Skip to content

Commit

Permalink
tests: bsim: bluetooth: using full nrf52bsim board name
Browse files Browse the repository at this point in the history
Some places kept using partial nrf52bsim board name which led to
inconsistencies.

Signed-off-by: Artur Dobrynin <[email protected]>
  • Loading branch information
ardo-nordic authored and kartben committed Dec 7, 2024
1 parent cdec82e commit d11f726
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 23 deletions.
15 changes: 2 additions & 13 deletions tests/bsim/bluetooth/host/misc/conn_stress/scripts/_conn_stress.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,12 @@ function Execute(){
}

test_path="bsim_bluetooth_host_misc_conn_stress"
bsim_central_exe_name="bs_nrf52_${test_path}_central_prj_conf"
bsim_peripheral_exe_name="bs_nrf52_${test_path}_peripheral_prj_conf"
bsim_central_exe_name="bs_${BOARD_TS}_${test_path}_central_prj_conf"
bsim_peripheral_exe_name="bs_${BOARD_TS}_${test_path}_peripheral_prj_conf"

# terminate running simulations (if any)
${BSIM_COMPONENTS_PATH}/common/stop_bsim.sh $simulation_id

# (re)Build the central & peripheral images. Don't continue if build fails.
west build -b ${BOARD} -d build_central central && \
cp build_central/zephyr/zephyr.exe \
"${BSIM_OUT_PATH}/bin/${bsim_central_exe_name}" \
|| exit 1

west build -b ${BOARD} -d build_peripheral peripheral && \
cp build_peripheral/zephyr/zephyr.exe \
"${BSIM_OUT_PATH}/bin/${bsim_peripheral_exe_name}" \
|| exit 1

cd ${BSIM_OUT_PATH}/bin

bsim_args="-RealEncryption=1 -v=2 -s=${simulation_id}"
Expand Down
2 changes: 1 addition & 1 deletion tests/bsim/bluetooth/ll/_compile_permutate_kconfigs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ DEBUG_PERMUTATE=false
directory}"

source ${ZEPHYR_BASE}/tests/bsim/compile.source

BOARD_ROOT="${BOARD_ROOT:-${ZEPHYR_BASE}}"
BOARD_TS="${BOARD//\//_}"

mkdir -p ${WORK_DIR}

Expand Down
16 changes: 8 additions & 8 deletions tests/bsim/bluetooth/ll/bis/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ tests:
bluetooth.ll.bis:
sysbuild: true
platform_allow:
- nrf52_bsim
- nrf52_bsim/native
- nrf5340bsim/nrf5340/cpuapp
- nrf5340bsim/nrf5340/cpunet
integration_platforms:
- nrf52_bsim
- nrf52_bsim/native
- nrf5340bsim/nrf5340/cpuapp
- nrf5340bsim/nrf5340/cpunet
harness: bsim
Expand All @@ -21,32 +21,32 @@ tests:
bluetooth.ll.bis_ticker_expire_info:
extra_args: EXTRA_CONF_FILE=overlay-ticker_expire_info.conf
platform_allow:
- nrf52_bsim
- nrf52_bsim/native
- nrf5340bsim/nrf5340/cpunet
integration_platforms:
- nrf52_bsim
- nrf52_bsim/native
- nrf5340bsim/nrf5340/cpunet
harness: bsim
harness_config:
bsim_exe_name: tests_bsim_bluetooth_ll_bis_prj_conf_overlay-ticker_expire_info_conf
bluetooth.ll.bis_vs_dp:
extra_args: CONF_FILE=prj_vs_dp.conf
platform_allow:
- nrf52_bsim
- nrf52_bsim/native
- nrf5340bsim/nrf5340/cpunet
integration_platforms:
- nrf52_bsim
- nrf52_bsim/native
- nrf5340bsim/nrf5340/cpunet
harness: bsim
harness_config:
bsim_exe_name: tests_bsim_bluetooth_ll_bis_prj_vs_dp_conf
bluetooth.ll.bis_past:
extra_args: CONF_FILE=prj_past.conf
platform_allow:
- nrf52_bsim
- nrf52_bsim/native
- nrf5340bsim/nrf5340/cpunet
integration_platforms:
- nrf52_bsim
- nrf52_bsim/native
- nrf5340bsim/nrf5340/cpunet
harness: bsim
harness_config:
Expand Down
2 changes: 1 addition & 1 deletion tests/bsim/bluetooth/mesh/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Then separately, call

...code-block::

gdb bs_nrf52_bsim_tests_bsim_bluetooth_mesh_prj_conf \
gdb bs_nrf52_bsim_native_tests_bsim_bluetooth_mesh_prj_conf \
-s=mesh_transport_seg_block -d=0 -RealEncryption=1 \
-testid=transport_tx_seg_block

Expand Down

0 comments on commit d11f726

Please sign in to comment.