From be7445de04a63486ed2b84faaf19e78b94fa629f Mon Sep 17 00:00:00 2001 From: Vinayak Kariappa Chettimada Date: Sat, 6 Jul 2024 02:58:29 +0200 Subject: [PATCH] tests: bsim: Bluetooth: central_hr_peripheral_hr for nrf54l15bsim Enable central HR peripheral HR samples for nrf54l15bsim. RealEncryption is BabbleSIM is not enabled as nRF54L port in Zephyr Controller is not yet supported and the test is also not using security (SMP pairing). Signed-off-by: Vinayak Kariappa Chettimada --- tests/bsim/bluetooth/compile.nrf54l15bsim_nrf54l15_cpuapp.sh | 2 ++ .../tests_scripts/central_hr_peripheral_hr.sh | 4 ++-- .../tests_scripts/central_hr_peripheral_hr_extended.sh | 4 ++-- .../tests_scripts/central_hr_peripheral_hr_phy_coded.sh | 4 ++-- tests/bsim/bluetooth/tests.nrf54l15bsim_nrf54l15_cpuapp.txt | 1 + 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/tests/bsim/bluetooth/compile.nrf54l15bsim_nrf54l15_cpuapp.sh b/tests/bsim/bluetooth/compile.nrf54l15bsim_nrf54l15_cpuapp.sh index 8d04987a899..8e56e1caa39 100755 --- a/tests/bsim/bluetooth/compile.nrf54l15bsim_nrf54l15_cpuapp.sh +++ b/tests/bsim/bluetooth/compile.nrf54l15bsim_nrf54l15_cpuapp.sh @@ -15,4 +15,6 @@ source ${ZEPHYR_BASE}/tests/bsim/compile.source app=tests/bsim/bluetooth/ll/multiple_id compile +run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/samples/compile.sh + wait_for_background_jobs diff --git a/tests/bsim/bluetooth/samples/central_hr_peripheral_hr/tests_scripts/central_hr_peripheral_hr.sh b/tests/bsim/bluetooth/samples/central_hr_peripheral_hr/tests_scripts/central_hr_peripheral_hr.sh index 301a8834b7e..1d5a12dbc38 100755 --- a/tests/bsim/bluetooth/samples/central_hr_peripheral_hr/tests_scripts/central_hr_peripheral_hr.sh +++ b/tests/bsim/bluetooth/samples/central_hr_peripheral_hr/tests_scripts/central_hr_peripheral_hr.sh @@ -11,10 +11,10 @@ source ${ZEPHYR_BASE}/tests/bsim/sh_common.source cd ${BSIM_OUT_PATH}/bin Execute ./bs_${BOARD_TS}_samples_bluetooth_peripheral_hr_prj_conf \ - -v=${verbosity_level} -s=${simulation_id} -d=0 -RealEncryption=1 + -v=${verbosity_level} -s=${simulation_id} -d=0 Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_samples_central_hr_peripheral_hr_prj_conf \ - -v=${verbosity_level} -s=${simulation_id} -d=1 -RealEncryption=1 \ + -v=${verbosity_level} -s=${simulation_id} -d=1 \ -testid=central_hr_peripheral_hr Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \ diff --git a/tests/bsim/bluetooth/samples/central_hr_peripheral_hr/tests_scripts/central_hr_peripheral_hr_extended.sh b/tests/bsim/bluetooth/samples/central_hr_peripheral_hr/tests_scripts/central_hr_peripheral_hr_extended.sh index b2083ca1f06..8f56353f8b8 100755 --- a/tests/bsim/bluetooth/samples/central_hr_peripheral_hr/tests_scripts/central_hr_peripheral_hr_extended.sh +++ b/tests/bsim/bluetooth/samples/central_hr_peripheral_hr/tests_scripts/central_hr_peripheral_hr_extended.sh @@ -12,10 +12,10 @@ EXECUTE_TIMEOUT=60 cd ${BSIM_OUT_PATH}/bin Execute ./bs_${BOARD_TS}_samples_bluetooth_peripheral_hr_prj_conf_overlay-extended_conf \ - -v=${verbosity_level} -s=${simulation_id} -d=0 -RealEncryption=1 + -v=${verbosity_level} -s=${simulation_id} -d=0 Execute ./bs_${BOARD_TS}_${test_long_name}_prj_conf_overlay-extended_conf \ - -v=${verbosity_level} -s=${simulation_id} -d=1 -RealEncryption=1 \ + -v=${verbosity_level} -s=${simulation_id} -d=1 \ -testid=central_hr_peripheral_hr Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \ diff --git a/tests/bsim/bluetooth/samples/central_hr_peripheral_hr/tests_scripts/central_hr_peripheral_hr_phy_coded.sh b/tests/bsim/bluetooth/samples/central_hr_peripheral_hr/tests_scripts/central_hr_peripheral_hr_phy_coded.sh index 7232fe454a9..46336cef4fc 100755 --- a/tests/bsim/bluetooth/samples/central_hr_peripheral_hr/tests_scripts/central_hr_peripheral_hr_phy_coded.sh +++ b/tests/bsim/bluetooth/samples/central_hr_peripheral_hr/tests_scripts/central_hr_peripheral_hr_phy_coded.sh @@ -12,10 +12,10 @@ EXECUTE_TIMEOUT=60 cd ${BSIM_OUT_PATH}/bin Execute ./bs_${BOARD_TS}_samples_bluetooth_peripheral_hr_prj_conf_overlay-phy_coded_conf \ - -v=${verbosity_level} -s=${simulation_id} -d=0 -RealEncryption=1 + -v=${verbosity_level} -s=${simulation_id} -d=0 Execute ./bs_${BOARD_TS}_${test_long_name}_prj_conf_overlay-phy_coded_conf \ - -v=${verbosity_level} -s=${simulation_id} -d=1 -RealEncryption=1 \ + -v=${verbosity_level} -s=${simulation_id} -d=1 \ -testid=central_hr_peripheral_hr Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \ diff --git a/tests/bsim/bluetooth/tests.nrf54l15bsim_nrf54l15_cpuapp.txt b/tests/bsim/bluetooth/tests.nrf54l15bsim_nrf54l15_cpuapp.txt index 6d4a2a1185f..8c39f8fbcc5 100644 --- a/tests/bsim/bluetooth/tests.nrf54l15bsim_nrf54l15_cpuapp.txt +++ b/tests/bsim/bluetooth/tests.nrf54l15bsim_nrf54l15_cpuapp.txt @@ -1,3 +1,4 @@ # Search paths(s) for tests which will be run in the nrf54l15 app core # This file is used in CI to select which tests are run tests/bsim/bluetooth/ll/multiple_id/tests_scripts/multiple.sh +tests/bsim/bluetooth/samples/central_hr_peripheral_hr/