Skip to content

Commit 8310017

Browse files
aescolarkartben
authored andcommitted
tests/bsim/bluetooth/ll/_compile_permutate_kconfigs: Update
This test was starting to rot: BOARD should have been replaced with BOARD_TS. Let's also remove a few duplicate checks and definitions. Signed-off-by: Alberto Escolar Piedras <[email protected]>
1 parent 7cd64a3 commit 8310017

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

tests/bsim/bluetooth/ll/_compile_permutate_kconfigs.sh

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,15 @@
1010
# set DEBUG_PERMUTATE to 'true' for extra debug output
1111
DEBUG_PERMUTATE=false
1212

13-
: "${BSIM_OUT_PATH:?BSIM_OUT_PATH must be defined}"
14-
: "${BSIM_COMPONENTS_PATH:?BSIM_COMPONENTS_PATH must be defined}"
1513
: "${ZEPHYR_BASE:?ZEPHYR_BASE must be set to point to the zephyr root\
1614
directory}"
1715

18-
WORK_DIR="${WORK_DIR:-${ZEPHYR_BASE}/bsim_out}"
19-
BOARD="${BOARD:-nrf52_bsim}"
16+
source ${ZEPHYR_BASE}/tests/bsim/compile.source
17+
2018
BOARD_ROOT="${BOARD_ROOT:-${ZEPHYR_BASE}}"
2119

2220
mkdir -p ${WORK_DIR}
2321

24-
source ${ZEPHYR_BASE}/tests/bsim/compile.source
25-
26-
2722
declare -a list=(
2823
"CONFIG_BT_CENTRAL="
2924
"CONFIG_BT_PERIPHERAL="
@@ -42,7 +37,7 @@ perm_compile() {
4237
# created by the compile scripts since that may mess up other tests
4338
# We also delete the executable to avoid having artifacts from
4439
# a previous run
45-
local exe_name="bs_nrf52_bsim_tests_kconfig_perm"
40+
local exe_name="bs_${BOARD_TS}_tests_kconfig_perm"
4641
local executable_name=${exe_name}
4742
local executable_name=${BSIM_OUT_PATH}/bin/$executable_name
4843

0 commit comments

Comments
 (0)