zephyr/tests/bsim/bluetooth/host/att/sequential/test_scripts/sequential.sh
Alberto Escolar Piedras fd8857539d tests/bsim: All scripts: Use boardtarget string instead of BOARD
In all scripts, where we were using the BOARD variable
let's use BOARD_TS which is the full BOARD target string
with "/" replaced with "_"
This is neccessary to support hwmv2 board names

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-25 16:17:13 +01:00

25 lines
711 B
Bash
Executable File

#!/usr/bin/env bash
# Copyright 2023 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
source ${ZEPHYR_BASE}/tests/bsim/sh_common.source
simulation_id="att_sequential"
verbosity_level=2
dut_exe="bs_${BOARD_TS}_$(guess_test_long_name)_dut_prj_conf"
tester_exe="bs_${BOARD_TS}_$(guess_test_long_name)_tester_prj_conf"
cd ${BSIM_OUT_PATH}/bin
Execute ./bs_2G4_phy_v1 \
-v=${verbosity_level} -s="${simulation_id}" -D=2 -sim_length=10e6 $@
Execute "./$tester_exe" \
-v=${verbosity_level} -s="${simulation_id}" -d=1 -testid=tester -RealEncryption=0 -rs=100
Execute "./$dut_exe" \
-v=${verbosity_level} -s="${simulation_id}" -d=0 -testid=dut -RealEncryption=0
wait_for_background_jobs