1#!/usr/bin/env bash
2# Copyright 2024 Nordic Semiconductor ASA
3# SPDX-License-Identifier: Apache-2.0
4
5set -eu -x
6
7source ${ZEPHYR_BASE}/tests/bsim/sh_common.source
8EXECUTE_TIMEOUT=120
9
10simulation_id="timeout"
11dev_exe=bs_${BOARD_TS}_$(guess_test_long_name)_prj_conf
12args_all=(-s=${simulation_id} -D=2)
13args_dev=(-v=2 -RealEncryption=1 -testid=the_test)
14
15cd "${BSIM_OUT_PATH}/bin"
16
17Execute ./${dev_exe} "${args_all[@]}" "${args_dev[@]}" -d=0
18
19Execute ./${dev_exe} "${args_all[@]}" "${args_dev[@]}" -d=1
20
21Execute ./bs_2G4_phy_v1 "${args_all[@]}" -sim_length=200e6
22
23wait_for_background_jobs
24