| #!/usr/bin/env bash |
| #Copyright (c) 2024 NXP |
| #Copyright (c) 2024 Nordic Semiconductor ASA |
| # SPDX-License-Identifier: Apache-2.0 |
| |
| # Path checks, etc |
| source ${ZEPHYR_BASE}/tests/bsim/sh_common.source |
| |
| # Place yourself in the test's root (i.e. ./../) |
| rm -rf ${BSIM_OUT_PATH}/bin/bs_nrf52_bsim_tests* |
| |
| # terminate running simulations (if any) |
| ${BSIM_COMPONENTS_PATH}/common/stop_bsim.sh |
| |
| bsim_exe=bs_nrf52_bsim_tests_bsim_bluetooth_host_misc_unregister_conn_cb_prj_conf |
| west build -b nrf52_bsim && \ |
| cp build/zephyr/zephyr.exe ${BSIM_OUT_PATH}/bin/${bsim_exe} |