Skip to content

Commit

Permalink
tests/bsim/bluetooth/ll/_compile_permutate_kconfigs: Update
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
aescolar authored and kartben committed Dec 4, 2024
1 parent 7cd64a3 commit 8310017
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions tests/bsim/bluetooth/ll/_compile_permutate_kconfigs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,15 @@
# set DEBUG_PERMUTATE to 'true' for extra debug output
DEBUG_PERMUTATE=false

: "${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}"
source ${ZEPHYR_BASE}/tests/bsim/compile.source

BOARD_ROOT="${BOARD_ROOT:-${ZEPHYR_BASE}}"

mkdir -p ${WORK_DIR}

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


declare -a list=(
"CONFIG_BT_CENTRAL="
"CONFIG_BT_PERIPHERAL="
Expand All @@ -42,7 +37,7 @@ perm_compile() {
# created by the compile scripts since that may mess up other tests
# We also delete the executable to avoid having artifacts from
# a previous run
local exe_name="bs_nrf52_bsim_tests_kconfig_perm"
local exe_name="bs_${BOARD_TS}_tests_kconfig_perm"
local executable_name=${exe_name}
local executable_name=${BSIM_OUT_PATH}/bin/$executable_name

Expand Down

0 comments on commit 8310017

Please sign in to comment.