diff --git a/tests/bsim/bluetooth/host/adv/chain/testcase.yaml b/tests/bsim/bluetooth/host/adv/chain/testcase.yaml new file mode 100644 index 00000000000..8f7e9361fa2 --- /dev/null +++ b/tests/bsim/bluetooth/host/adv/chain/testcase.yaml @@ -0,0 +1,11 @@ +tests: + bluetooth.host.adv.chain: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + - nrf5340bsim/nrf5340/cpunet + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_adv_chain_prj_conf diff --git a/tests/bsim/bluetooth/host/adv/compile.sh b/tests/bsim/bluetooth/host/adv/compile.sh deleted file mode 100755 index 845f86db003..00000000000 --- a/tests/bsim/bluetooth/host/adv/compile.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 - -# Compile all the applications needed by the bsim tests in these subfolders - -#set -x #uncomment this line for debugging -set -ue -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be set to point to the zephyr root directory}" - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app=tests/bsim/bluetooth/host/adv/chain compile -app=tests/bsim/bluetooth/host/adv/extended conf_file=prj_advertiser.conf compile -app=tests/bsim/bluetooth/host/adv/extended conf_file=prj_scanner.conf compile -app=tests/bsim/bluetooth/host/adv/periodic compile -app=tests/bsim/bluetooth/host/adv/periodic conf_file=prj_long_data.conf compile -app=tests/bsim/bluetooth/host/adv/periodic conf_file=prj_coded.conf compile -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/adv/encrypted/css_sample_data/compile.sh -app=tests/bsim/bluetooth/host/adv/encrypted/ead_sample compile -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/adv/long_ad/compile.sh - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/adv/encrypted/css_sample_data/compile.sh b/tests/bsim/bluetooth/host/adv/encrypted/css_sample_data/compile.sh deleted file mode 100755 index de926e8b267..00000000000 --- a/tests/bsim/bluetooth/host/adv/encrypted/css_sample_data/compile.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 - -set -eu - -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/adv/encrypted/css_sample_data/testcase.yaml b/tests/bsim/bluetooth/host/adv/encrypted/css_sample_data/testcase.yaml new file mode 100644 index 00000000000..b4f5feb521b --- /dev/null +++ b/tests/bsim/bluetooth/host/adv/encrypted/css_sample_data/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.adv.encrypted.css_sample_data: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_adv_encrypted_css_sample_data_prj_conf diff --git a/tests/bsim/bluetooth/host/adv/encrypted/ead_sample/testcase.yaml b/tests/bsim/bluetooth/host/adv/encrypted/ead_sample/testcase.yaml new file mode 100644 index 00000000000..ebb55116b7d --- /dev/null +++ b/tests/bsim/bluetooth/host/adv/encrypted/ead_sample/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.adv.encrypted.ead_sample: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_adv_encrypted_ead_sample_prj_conf diff --git a/tests/bsim/bluetooth/host/adv/extended/testcase.yaml b/tests/bsim/bluetooth/host/adv/extended/testcase.yaml new file mode 100644 index 00000000000..0c433197a77 --- /dev/null +++ b/tests/bsim/bluetooth/host/adv/extended/testcase.yaml @@ -0,0 +1,20 @@ +common: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + - nrf5340bsim/nrf5340/cpunet + harness: bsim + +tests: + bluetooth.host.adv.extended.advertiser: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_adv_extended_prj_advertiser_conf + extra_args: + CONF_FILE=prj_advertiser.conf + bluetooth.host.adv.extended.scanner: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_adv_extended_prj_scanner_conf + extra_args: + CONF_FILE=prj_scanner.conf diff --git a/tests/bsim/bluetooth/host/adv/long_ad/compile.sh b/tests/bsim/bluetooth/host/adv/long_ad/compile.sh deleted file mode 100755 index e717a4b2bbe..00000000000 --- a/tests/bsim/bluetooth/host/adv/long_ad/compile.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/adv/long_ad/testcase.yaml b/tests/bsim/bluetooth/host/adv/long_ad/testcase.yaml new file mode 100644 index 00000000000..7b3735da2c3 --- /dev/null +++ b/tests/bsim/bluetooth/host/adv/long_ad/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.adv.long_ad: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_adv_long_ad_prj_conf diff --git a/tests/bsim/bluetooth/host/adv/periodic/testcase.yaml b/tests/bsim/bluetooth/host/adv/periodic/testcase.yaml new file mode 100644 index 00000000000..901c5f930cc --- /dev/null +++ b/tests/bsim/bluetooth/host/adv/periodic/testcase.yaml @@ -0,0 +1,23 @@ +common: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + - nrf5340bsim/nrf5340/cpunet + harness: bsim + +tests: + bluetooth.host.adv.periodic: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_adv_periodic_prj_conf + bluetooth.host.adv.periodic.coded: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_adv_periodic_prj_coded_conf + extra_args: + EXTRA_CONF_FILE=prj_coded.conf + bluetooth.host.adv.periodic.long_data: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_adv_periodic_prj_long_data_conf + extra_args: + EXTRA_CONF_FILE=prj_long_data.conf diff --git a/tests/bsim/bluetooth/host/att/compile.sh b/tests/bsim/bluetooth/host/att/compile.sh deleted file mode 100755 index e6e25cf9c29..00000000000 --- a/tests/bsim/bluetooth/host/att/compile.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 - -# Compile all the applications needed by the bsim tests in these subfolders - -#set -x #uncomment this line for debugging -set -ue -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be set to point to the zephyr root directory}" - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app=tests/bsim/bluetooth/host/att/eatt conf_file=prj_lowres.conf compile -app=tests/bsim/bluetooth/host/att/eatt conf_file=prj_collision.conf compile -app=tests/bsim/bluetooth/host/att/eatt conf_file=prj_multiple_conn.conf compile -app=tests/bsim/bluetooth/host/att/eatt conf_file=prj_autoconnect.conf compile -app=tests/bsim/bluetooth/host/att/eatt_notif conf_file=prj.conf compile -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/att/mtu_update/compile.sh -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/att/read_fill_buf/compile.sh -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/att/retry_on_sec_err/compile.sh -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/att/sequential/compile.sh -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/att/pipeline/compile.sh -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/att/long_read/compile.sh -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/att/open_close/compile.sh -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/att/timeout/compile.sh - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/att/eatt/testcase.yaml b/tests/bsim/bluetooth/host/att/eatt/testcase.yaml new file mode 100644 index 00000000000..db8476734e1 --- /dev/null +++ b/tests/bsim/bluetooth/host/att/eatt/testcase.yaml @@ -0,0 +1,27 @@ +common: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + +tests: + bluetooth.host.att.eatt.autoconnect: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_att_eatt_prj_autoconnect_conf + extra_args: + EXTRA_CONF_FILE=prj_autoconnect.conf + bluetooth.host.adt.eatt.collision: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_att_eatt_prj_collision_conf + bluetooth.host.att.eatt.lowres: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_att_eatt_prj_lowres_conf + extra_args: + EXTRA_CONF_FILE=prj_lowres.conf + bluetooth.host.att.eatt.multiple_conn: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_att_eatt_prj_multiple_conn_conf + extra_args: + EXTRA_CONF_FILE=prj_multiple_conn.conf diff --git a/tests/bsim/bluetooth/host/att/eatt_notif/testcase.yaml b/tests/bsim/bluetooth/host/att/eatt_notif/testcase.yaml new file mode 100644 index 00000000000..b87aaff2f0c --- /dev/null +++ b/tests/bsim/bluetooth/host/att/eatt_notif/testcase.yaml @@ -0,0 +1,11 @@ +tests: + bluetooth.host.att.eatt_notif: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + - nrf5340bsim/nrf5340/cpunet + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_att_eatt_notif_prj_conf diff --git a/tests/bsim/bluetooth/host/att/long_read/compile.sh b/tests/bsim/bluetooth/host/att/long_read/compile.sh deleted file mode 100755 index 718910a63c4..00000000000 --- a/tests/bsim/bluetooth/host/att/long_read/compile.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 - -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/att/long_read/testcase.yaml b/tests/bsim/bluetooth/host/att/long_read/testcase.yaml new file mode 100644 index 00000000000..6579792fe46 --- /dev/null +++ b/tests/bsim/bluetooth/host/att/long_read/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.att.long_read: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_att_long_read_prj_conf diff --git a/tests/bsim/bluetooth/host/att/mtu_update/compile.sh b/tests/bsim/bluetooth/host/att/mtu_update/compile.sh deleted file mode 100755 index 6c611c5900b..00000000000 --- a/tests/bsim/bluetooth/host/att/mtu_update/compile.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 - -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" conf_file=prj_central.conf compile -app="$(guess_test_relpath)" conf_file=prj_peripheral.conf compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/att/mtu_update/testcase.yaml b/tests/bsim/bluetooth/host/att/mtu_update/testcase.yaml new file mode 100644 index 00000000000..028b2d7d66e --- /dev/null +++ b/tests/bsim/bluetooth/host/att/mtu_update/testcase.yaml @@ -0,0 +1,19 @@ +common: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + +tests: + bluetooth.host.att.mtu_update.central: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_att_mtu_update_prj_central_conf + extra_args: + CONF_FILE=prj_central.conf + bluetooth.host.att.mtu_update.peripheral: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_att_mtu_update_prj_peripheral_conf + extra_args: + CONF_FILE=prj_peripheral.conf diff --git a/tests/bsim/bluetooth/host/att/open_close/compile.sh b/tests/bsim/bluetooth/host/att/open_close/compile.sh deleted file mode 100755 index de926e8b267..00000000000 --- a/tests/bsim/bluetooth/host/att/open_close/compile.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 - -set -eu - -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/att/open_close/testcase.yaml b/tests/bsim/bluetooth/host/att/open_close/testcase.yaml new file mode 100644 index 00000000000..aa60ab2942c --- /dev/null +++ b/tests/bsim/bluetooth/host/att/open_close/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.att.open_close: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_att_open_close_prj_conf diff --git a/tests/bsim/bluetooth/host/att/pipeline/compile.sh b/tests/bsim/bluetooth/host/att/pipeline/compile.sh deleted file mode 100755 index 06d5d718a9d..00000000000 --- a/tests/bsim/bluetooth/host/att/pipeline/compile.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)"/dut compile -app="$(guess_test_relpath)"/dut conf_file='prj.conf;rx_tx_prio_invert.extra.conf' compile -app="$(guess_test_relpath)"/tester compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/att/pipeline/dut/testcase.yaml b/tests/bsim/bluetooth/host/att/pipeline/dut/testcase.yaml new file mode 100644 index 00000000000..b881dcffbb3 --- /dev/null +++ b/tests/bsim/bluetooth/host/att/pipeline/dut/testcase.yaml @@ -0,0 +1,18 @@ +common: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + +tests: + bluetooth.host.att.pipeline.dut: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_att_pipeline_dut_prj_conf + bluetooth.host.att.pipeline.dut_rx_tx_prio: + harness_config: + bsim_exe_name: + tests_bsim_bluetooth_host_att_pipeline_dut_prj_conf_rx_tx_prio_invert_extra_conf + extra_args: + EXTRA_CONF_FILE=rx_tx_prio_invert.extra.conf diff --git a/tests/bsim/bluetooth/host/att/pipeline/tester/testcase.yaml b/tests/bsim/bluetooth/host/att/pipeline/tester/testcase.yaml new file mode 100644 index 00000000000..e1ed0e91a1a --- /dev/null +++ b/tests/bsim/bluetooth/host/att/pipeline/tester/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.att.pipeline.tester: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_att_pipeline_tester_prj_conf diff --git a/tests/bsim/bluetooth/host/att/read_fill_buf/client/testcase.yaml b/tests/bsim/bluetooth/host/att/read_fill_buf/client/testcase.yaml new file mode 100644 index 00000000000..982a5ed861c --- /dev/null +++ b/tests/bsim/bluetooth/host/att/read_fill_buf/client/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.att.read_fill_buf.client: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_att_read_fill_buf_client_prj_conf diff --git a/tests/bsim/bluetooth/host/att/read_fill_buf/compile.sh b/tests/bsim/bluetooth/host/att/read_fill_buf/compile.sh deleted file mode 100755 index 6c80f22923a..00000000000 --- a/tests/bsim/bluetooth/host/att/read_fill_buf/compile.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)"/client compile -app="$(guess_test_relpath)"/server compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/att/read_fill_buf/server/testcase.yaml b/tests/bsim/bluetooth/host/att/read_fill_buf/server/testcase.yaml new file mode 100644 index 00000000000..a302947c6cc --- /dev/null +++ b/tests/bsim/bluetooth/host/att/read_fill_buf/server/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.att.read_fill_buf.server: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_att_read_fill_buf_server_prj_conf diff --git a/tests/bsim/bluetooth/host/att/retry_on_sec_err/client/testcase.yaml b/tests/bsim/bluetooth/host/att/retry_on_sec_err/client/testcase.yaml new file mode 100644 index 00000000000..d6dde84b2ab --- /dev/null +++ b/tests/bsim/bluetooth/host/att/retry_on_sec_err/client/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.att.retry_on_sec_err.client: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_att_retry_on_sec_err_client_prj_conf diff --git a/tests/bsim/bluetooth/host/att/retry_on_sec_err/compile.sh b/tests/bsim/bluetooth/host/att/retry_on_sec_err/compile.sh deleted file mode 100755 index 6c80f22923a..00000000000 --- a/tests/bsim/bluetooth/host/att/retry_on_sec_err/compile.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)"/client compile -app="$(guess_test_relpath)"/server compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/att/retry_on_sec_err/server/testcase.yaml b/tests/bsim/bluetooth/host/att/retry_on_sec_err/server/testcase.yaml new file mode 100644 index 00000000000..5e4ebd2b76b --- /dev/null +++ b/tests/bsim/bluetooth/host/att/retry_on_sec_err/server/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.att.retry_on_sec_err.server: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_att_retry_on_sec_err_server_prj_conf diff --git a/tests/bsim/bluetooth/host/att/sequential/compile.sh b/tests/bsim/bluetooth/host/att/sequential/compile.sh deleted file mode 100755 index ff0f485b17d..00000000000 --- a/tests/bsim/bluetooth/host/att/sequential/compile.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)"/dut compile -app="$(guess_test_relpath)"/tester compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/att/sequential/dut/testcase.yaml b/tests/bsim/bluetooth/host/att/sequential/dut/testcase.yaml new file mode 100644 index 00000000000..82620e086bf --- /dev/null +++ b/tests/bsim/bluetooth/host/att/sequential/dut/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.att.sequential.dut: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_att_sequential_dut_prj_conf diff --git a/tests/bsim/bluetooth/host/att/sequential/tester/testcase.yaml b/tests/bsim/bluetooth/host/att/sequential/tester/testcase.yaml new file mode 100644 index 00000000000..e092ca177b7 --- /dev/null +++ b/tests/bsim/bluetooth/host/att/sequential/tester/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.att.sequential.tester: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_att_sequential_tester_prj_conf diff --git a/tests/bsim/bluetooth/host/att/timeout/compile.sh b/tests/bsim/bluetooth/host/att/timeout/compile.sh deleted file mode 100755 index b7b1eea135e..00000000000 --- a/tests/bsim/bluetooth/host/att/timeout/compile.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2024 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 - -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/att/timeout/testcase.yaml b/tests/bsim/bluetooth/host/att/timeout/testcase.yaml new file mode 100644 index 00000000000..8d00256097d --- /dev/null +++ b/tests/bsim/bluetooth/host/att/timeout/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.att.timeout: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_att_timeout_prj_conf diff --git a/tests/bsim/bluetooth/host/central/testcase.yaml b/tests/bsim/bluetooth/host/central/testcase.yaml new file mode 100644 index 00000000000..e4ea1098aa1 --- /dev/null +++ b/tests/bsim/bluetooth/host/central/testcase.yaml @@ -0,0 +1,11 @@ +tests: + bluetooth.host.central: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + - nrf5340bsim/nrf5340/cpunet + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_central_prj_conf diff --git a/tests/bsim/bluetooth/host/central/tests_scripts/_compile.sh b/tests/bsim/bluetooth/host/central/tests_scripts/_compile.sh deleted file mode 100755 index f46c09eab66..00000000000 --- a/tests/bsim/bluetooth/host/central/tests_scripts/_compile.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2024 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/compile.sh b/tests/bsim/bluetooth/host/compile.sh index 34a59bf8378..3d2d0b02244 100755 --- a/tests/bsim/bluetooth/host/compile.sh +++ b/tests/bsim/bluetooth/host/compile.sh @@ -9,37 +9,7 @@ set -ue : "${ZEPHYR_BASE:?ZEPHYR_BASE must be set to point to the zephyr root directory}" -source ${ZEPHYR_BASE}/tests/bsim/compile.source +#Set a default value to BOARD if it does not have one yet +BOARD="${BOARD:-nrf52_bsim/native}" -${ZEPHYR_BASE}/tests/bsim/bluetooth/host/adv/compile.sh -app=tests/bsim/bluetooth/host/central compile -${ZEPHYR_BASE}/tests/bsim/bluetooth/host/att/compile.sh -${ZEPHYR_BASE}/tests/bsim/bluetooth/host/gatt/compile.sh -${ZEPHYR_BASE}/tests/bsim/bluetooth/host/l2cap/compile.sh -${ZEPHYR_BASE}/tests/bsim/bluetooth/host/security/compile.sh - -app=tests/bsim/bluetooth/host/iso/cis compile -app=tests/bsim/bluetooth/host/iso/bis compile -app=tests/bsim/bluetooth/host/iso/frag compile -app=tests/bsim/bluetooth/host/iso/frag_2 compile - -app=tests/bsim/bluetooth/host/misc/disable compile -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/misc/disconnect/compile.sh -app=tests/bsim/bluetooth/host/misc/conn_stress/central compile -app=tests/bsim/bluetooth/host/misc/conn_stress/peripheral compile -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/misc/hfc/compile.sh -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/misc/hfc_multilink/compile.sh -app=tests/bsim/bluetooth/host/misc/unregister_conn_cb compile -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/misc/sample_test/compile.sh -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/misc/acl_tx_frag/compile.sh - -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/privacy/central/compile.sh -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/privacy/peripheral/compile.sh -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/privacy/device/compile.sh -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/privacy/legacy/compile.sh - -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/id/settings/compile.sh -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/scan/start_stop/compile.sh -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/scan/slow/compile.sh - -wait_for_background_jobs +west twister -T ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/ -p ${BOARD} diff --git a/tests/bsim/bluetooth/host/gatt/authorization/testcase.yaml b/tests/bsim/bluetooth/host/gatt/authorization/testcase.yaml new file mode 100644 index 00000000000..56223b92486 --- /dev/null +++ b/tests/bsim/bluetooth/host/gatt/authorization/testcase.yaml @@ -0,0 +1,11 @@ +tests: + bluetooth.host.gatt.authorization: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + - nrf5340bsim/nrf5340/cpunet + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_gatt_authorization_prj_conf diff --git a/tests/bsim/bluetooth/host/gatt/caching/testcase.yaml b/tests/bsim/bluetooth/host/gatt/caching/testcase.yaml new file mode 100644 index 00000000000..dd23374dcf4 --- /dev/null +++ b/tests/bsim/bluetooth/host/gatt/caching/testcase.yaml @@ -0,0 +1,18 @@ +common: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + - nrf5340bsim/nrf5340/cpunet + harness: bsim + +tests: + bluetooth.host.gatt.caching: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_gatt_caching_prj_conf + bluetooth.host.gatt.caching_psa_overlay: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_gatt_caching_prj_conf_psa_overlay_conf + extra_args: + EXTRA_CONF_FILE=psa_overlay.conf diff --git a/tests/bsim/bluetooth/host/gatt/ccc_store/compile.sh b/tests/bsim/bluetooth/host/gatt/ccc_store/compile.sh deleted file mode 100755 index cb72bfca81c..00000000000 --- a/tests/bsim/bluetooth/host/gatt/ccc_store/compile.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" compile -app="$(guess_test_relpath)" conf_file=prj_2.conf compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/gatt/ccc_store/testcase.yaml b/tests/bsim/bluetooth/host/gatt/ccc_store/testcase.yaml new file mode 100644 index 00000000000..f285f4c014c --- /dev/null +++ b/tests/bsim/bluetooth/host/gatt/ccc_store/testcase.yaml @@ -0,0 +1,17 @@ +common: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + +tests: + bluetooth.host.gatt.ccc_store: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_gatt_ccc_store_prj_conf + bluetooth.host.gatt.ccc_store_2: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_gatt_ccc_store_prj_2_conf + extra_args: + EXTRA_CONF_FILE=prj_2.conf diff --git a/tests/bsim/bluetooth/host/gatt/compile.sh b/tests/bsim/bluetooth/host/gatt/compile.sh deleted file mode 100755 index d26e4007e69..00000000000 --- a/tests/bsim/bluetooth/host/gatt/compile.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 - -# Compile all the applications needed by the bsim tests in these subfolders - -#set -x #uncomment this line for debugging -set -ue -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be set to point to the zephyr root directory}" - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app=tests/bsim/bluetooth/host/gatt/authorization compile -app=tests/bsim/bluetooth/host/gatt/caching compile -app=tests/bsim/bluetooth/host/gatt/caching conf_overlay=psa_overlay.conf compile -app=tests/bsim/bluetooth/host/gatt/general compile -app=tests/bsim/bluetooth/host/gatt/notify compile -app=tests/bsim/bluetooth/host/gatt/notify_multiple compile -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/gatt/settings/compile.sh -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/gatt/ccc_store/compile.sh -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/gatt/sc_indicate/compile.sh - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/gatt/general/testcase.yaml b/tests/bsim/bluetooth/host/gatt/general/testcase.yaml new file mode 100644 index 00000000000..c173715475a --- /dev/null +++ b/tests/bsim/bluetooth/host/gatt/general/testcase.yaml @@ -0,0 +1,11 @@ +tests: + bluetooth.host.gatt.general: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + - nrf5340bsim/nrf5340/cpunet + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_gatt_general_prj_conf diff --git a/tests/bsim/bluetooth/host/gatt/notify/testcase.yaml b/tests/bsim/bluetooth/host/gatt/notify/testcase.yaml new file mode 100644 index 00000000000..b50aec3fb5d --- /dev/null +++ b/tests/bsim/bluetooth/host/gatt/notify/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.gatt.notify: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_gatt_notify_prj_conf diff --git a/tests/bsim/bluetooth/host/gatt/notify_multiple/testcase.yaml b/tests/bsim/bluetooth/host/gatt/notify_multiple/testcase.yaml new file mode 100644 index 00000000000..3da3f5bcb66 --- /dev/null +++ b/tests/bsim/bluetooth/host/gatt/notify_multiple/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.gatt.notify_multiple: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_gatt_notify_multiple_prj_conf diff --git a/tests/bsim/bluetooth/host/gatt/sc_indicate/compile.sh b/tests/bsim/bluetooth/host/gatt/sc_indicate/compile.sh deleted file mode 100755 index 80030a894f2..00000000000 --- a/tests/bsim/bluetooth/host/gatt/sc_indicate/compile.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/gatt/sc_indicate/testcase.yaml b/tests/bsim/bluetooth/host/gatt/sc_indicate/testcase.yaml new file mode 100644 index 00000000000..743c415080f --- /dev/null +++ b/tests/bsim/bluetooth/host/gatt/sc_indicate/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.gatt.sc_indicate: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_gatt_sc_indicate_prj_conf diff --git a/tests/bsim/bluetooth/host/gatt/settings/compile.sh b/tests/bsim/bluetooth/host/gatt/settings/compile.sh deleted file mode 100755 index cb72bfca81c..00000000000 --- a/tests/bsim/bluetooth/host/gatt/settings/compile.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" compile -app="$(guess_test_relpath)" conf_file=prj_2.conf compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/gatt/settings/testcase.yaml b/tests/bsim/bluetooth/host/gatt/settings/testcase.yaml new file mode 100644 index 00000000000..d09d5f9094c --- /dev/null +++ b/tests/bsim/bluetooth/host/gatt/settings/testcase.yaml @@ -0,0 +1,17 @@ +common: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + +tests: + bluetooth.host.gatt.settings: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_gatt_settings_prj_conf + bluetooth.host.gatt.settings_2: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_gatt_settings_prj_2_conf + extra_args: + EXTRA_CONF_FILE=prj_2.conf diff --git a/tests/bsim/bluetooth/host/id/settings/compile.sh b/tests/bsim/bluetooth/host/id/settings/compile.sh deleted file mode 100755 index 718910a63c4..00000000000 --- a/tests/bsim/bluetooth/host/id/settings/compile.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 - -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/id/settings/testcase.yaml b/tests/bsim/bluetooth/host/id/settings/testcase.yaml new file mode 100644 index 00000000000..0b9876bcf6e --- /dev/null +++ b/tests/bsim/bluetooth/host/id/settings/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.id.settings: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_id_settings_prj_conf diff --git a/tests/bsim/bluetooth/host/iso/bis/testcase.yaml b/tests/bsim/bluetooth/host/iso/bis/testcase.yaml new file mode 100644 index 00000000000..d6bd7c9c21d --- /dev/null +++ b/tests/bsim/bluetooth/host/iso/bis/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.iso.bis: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_iso_bis_prj_conf diff --git a/tests/bsim/bluetooth/host/iso/bis/tests_scripts/_compile.sh b/tests/bsim/bluetooth/host/iso/bis/tests_scripts/_compile.sh deleted file mode 100755 index e717a4b2bbe..00000000000 --- a/tests/bsim/bluetooth/host/iso/bis/tests_scripts/_compile.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/iso/cis/testcase.yaml b/tests/bsim/bluetooth/host/iso/cis/testcase.yaml new file mode 100644 index 00000000000..188e2d764c0 --- /dev/null +++ b/tests/bsim/bluetooth/host/iso/cis/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.iso.cis: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_iso_cis_prj_conf diff --git a/tests/bsim/bluetooth/host/iso/cis/tests_scripts/_compile.sh b/tests/bsim/bluetooth/host/iso/cis/tests_scripts/_compile.sh deleted file mode 100755 index e717a4b2bbe..00000000000 --- a/tests/bsim/bluetooth/host/iso/cis/tests_scripts/_compile.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/iso/frag/testcase.yaml b/tests/bsim/bluetooth/host/iso/frag/testcase.yaml new file mode 100644 index 00000000000..eeaded9d109 --- /dev/null +++ b/tests/bsim/bluetooth/host/iso/frag/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.iso.frag: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_iso_frag_prj_conf diff --git a/tests/bsim/bluetooth/host/iso/frag/tests_scripts/_compile.sh b/tests/bsim/bluetooth/host/iso/frag/tests_scripts/_compile.sh deleted file mode 100755 index e717a4b2bbe..00000000000 --- a/tests/bsim/bluetooth/host/iso/frag/tests_scripts/_compile.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/iso/frag_2/testcase.yaml b/tests/bsim/bluetooth/host/iso/frag_2/testcase.yaml new file mode 100644 index 00000000000..27e7a9a9bf1 --- /dev/null +++ b/tests/bsim/bluetooth/host/iso/frag_2/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.iso.frag_2: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_iso_frag_2_prj_conf diff --git a/tests/bsim/bluetooth/host/iso/frag_2/tests_scripts/_compile.sh b/tests/bsim/bluetooth/host/iso/frag_2/tests_scripts/_compile.sh deleted file mode 100755 index f46c09eab66..00000000000 --- a/tests/bsim/bluetooth/host/iso/frag_2/tests_scripts/_compile.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2024 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/l2cap/compile.sh b/tests/bsim/bluetooth/host/l2cap/compile.sh deleted file mode 100755 index ddb7f5d14bc..00000000000 --- a/tests/bsim/bluetooth/host/l2cap/compile.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 - -# Compile all the applications needed by the bsim tests in these subfolders - -#set -x #uncomment this line for debugging -set -ue -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be set to point to the zephyr root directory}" - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app=tests/bsim/bluetooth/host/l2cap/many_conns compile -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/l2cap/multilink_peripheral/compile.sh -app=tests/bsim/bluetooth/host/l2cap/general compile -app=tests/bsim/bluetooth/host/l2cap/userdata compile -app=tests/bsim/bluetooth/host/l2cap/stress compile -app=tests/bsim/bluetooth/host/l2cap/stress conf_file=prj_nofrag.conf compile -app=tests/bsim/bluetooth/host/l2cap/stress conf_file=prj_syswq.conf compile -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/l2cap/split/compile.sh -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/l2cap/reassembly/compile.sh -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/l2cap/einprogress/compile.sh -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/l2cap/ecred/compile.sh -app=tests/bsim/bluetooth/host/l2cap/credits compile -app=tests/bsim/bluetooth/host/l2cap/credits conf_file=prj_ecred.conf compile -app=tests/bsim/bluetooth/host/l2cap/credits_seg_recv compile -app=tests/bsim/bluetooth/host/l2cap/credits_seg_recv conf_file=prj_ecred.conf compile -app=tests/bsim/bluetooth/host/l2cap/send_on_connect compile -app=tests/bsim/bluetooth/host/l2cap/send_on_connect conf_file=prj_ecred.conf compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/l2cap/credits/testcase.yaml b/tests/bsim/bluetooth/host/l2cap/credits/testcase.yaml new file mode 100644 index 00000000000..1e59e225b81 --- /dev/null +++ b/tests/bsim/bluetooth/host/l2cap/credits/testcase.yaml @@ -0,0 +1,17 @@ +common: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + +tests: + bluetooth.host.l2cap.credits: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_l2cap_credits_prj_conf + bluetooth.host.l2cap.credits_ecred: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_l2cap_credits_prj_ecred_conf + extra_args: + CONF_FILE=prj_ecred.conf diff --git a/tests/bsim/bluetooth/host/l2cap/credits/tests_scripts/_compile.sh b/tests/bsim/bluetooth/host/l2cap/credits/tests_scripts/_compile.sh deleted file mode 100755 index 12c5b388261..00000000000 --- a/tests/bsim/bluetooth/host/l2cap/credits/tests_scripts/_compile.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" compile -app="$(guess_test_relpath)" conf_file=prj_ecred.conf compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/l2cap/credits_seg_recv/testcase.yaml b/tests/bsim/bluetooth/host/l2cap/credits_seg_recv/testcase.yaml new file mode 100644 index 00000000000..49b754094c8 --- /dev/null +++ b/tests/bsim/bluetooth/host/l2cap/credits_seg_recv/testcase.yaml @@ -0,0 +1,17 @@ +common: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + +tests: + bluetooth.host.l2cap.credits_seg_recv: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_l2cap_credits_seg_recv_prj_conf + bluetooth.host.l2cap.credits_seg_recv_ecred: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_l2cap_credits_seg_recv_prj_ecred_conf + extra_args: + CONF_FILE=prj_ecred.conf diff --git a/tests/bsim/bluetooth/host/l2cap/credits_seg_recv/tests_scripts/_compile.sh b/tests/bsim/bluetooth/host/l2cap/credits_seg_recv/tests_scripts/_compile.sh deleted file mode 100755 index 12c5b388261..00000000000 --- a/tests/bsim/bluetooth/host/l2cap/credits_seg_recv/tests_scripts/_compile.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" compile -app="$(guess_test_relpath)" conf_file=prj_ecred.conf compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/l2cap/ecred/compile.sh b/tests/bsim/bluetooth/host/l2cap/ecred/compile.sh deleted file mode 100755 index 44b965da81d..00000000000 --- a/tests/bsim/bluetooth/host/l2cap/ecred/compile.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)/dut" compile -app="$(guess_test_relpath)/peer" compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/l2cap/ecred/dut/testcase.yaml b/tests/bsim/bluetooth/host/l2cap/ecred/dut/testcase.yaml new file mode 100644 index 00000000000..b39bfa0e73d --- /dev/null +++ b/tests/bsim/bluetooth/host/l2cap/ecred/dut/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.l2cap.ecred.dut: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_l2cap_ecred_dut_prj_conf diff --git a/tests/bsim/bluetooth/host/l2cap/ecred/peer/testcase.yaml b/tests/bsim/bluetooth/host/l2cap/ecred/peer/testcase.yaml new file mode 100644 index 00000000000..ee61e8ce246 --- /dev/null +++ b/tests/bsim/bluetooth/host/l2cap/ecred/peer/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.l2cap.ecred.peer: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_l2cap_ecred_peer_prj_conf diff --git a/tests/bsim/bluetooth/host/l2cap/einprogress/compile.sh b/tests/bsim/bluetooth/host/l2cap/einprogress/compile.sh deleted file mode 100755 index e717a4b2bbe..00000000000 --- a/tests/bsim/bluetooth/host/l2cap/einprogress/compile.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/l2cap/einprogress/testcase.yaml b/tests/bsim/bluetooth/host/l2cap/einprogress/testcase.yaml new file mode 100644 index 00000000000..1fb1c790684 --- /dev/null +++ b/tests/bsim/bluetooth/host/l2cap/einprogress/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.l2cap.einprogress: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_l2cap_einprogress_prj_conf diff --git a/tests/bsim/bluetooth/host/l2cap/general/testcase.yaml b/tests/bsim/bluetooth/host/l2cap/general/testcase.yaml new file mode 100644 index 00000000000..16fece81fb5 --- /dev/null +++ b/tests/bsim/bluetooth/host/l2cap/general/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.l2cap.general: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_l2cap_general_prj_conf diff --git a/tests/bsim/bluetooth/host/l2cap/many_conns/testcase.yaml b/tests/bsim/bluetooth/host/l2cap/many_conns/testcase.yaml new file mode 100644 index 00000000000..4ed273d8e47 --- /dev/null +++ b/tests/bsim/bluetooth/host/l2cap/many_conns/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.l2cap.many_conns: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_l2cap_many_conns_prj_conf diff --git a/tests/bsim/bluetooth/host/l2cap/many_conns/tests_scripts/_compile.sh b/tests/bsim/bluetooth/host/l2cap/many_conns/tests_scripts/_compile.sh deleted file mode 100755 index 5ac4d05a20f..00000000000 --- a/tests/bsim/bluetooth/host/l2cap/many_conns/tests_scripts/_compile.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2024 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/l2cap/multilink_peripheral/compile.sh b/tests/bsim/bluetooth/host/l2cap/multilink_peripheral/compile.sh deleted file mode 100755 index f46c09eab66..00000000000 --- a/tests/bsim/bluetooth/host/l2cap/multilink_peripheral/compile.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2024 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/l2cap/multilink_peripheral/testcase.yaml b/tests/bsim/bluetooth/host/l2cap/multilink_peripheral/testcase.yaml new file mode 100644 index 00000000000..178daf75091 --- /dev/null +++ b/tests/bsim/bluetooth/host/l2cap/multilink_peripheral/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.l2cap.multilink_peripheral: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_l2cap_multilink_peripheral_prj_conf diff --git a/tests/bsim/bluetooth/host/l2cap/reassembly/compile.sh b/tests/bsim/bluetooth/host/l2cap/reassembly/compile.sh deleted file mode 100755 index 5f8dcb7d519..00000000000 --- a/tests/bsim/bluetooth/host/l2cap/reassembly/compile.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2024 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)/dut" compile -app="$(guess_test_relpath)/peer" compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/l2cap/reassembly/dut/testcase.yaml b/tests/bsim/bluetooth/host/l2cap/reassembly/dut/testcase.yaml new file mode 100644 index 00000000000..523e13549f6 --- /dev/null +++ b/tests/bsim/bluetooth/host/l2cap/reassembly/dut/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.l2cap.reassembly.dut: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_l2cap_reassembly_dut_prj_conf diff --git a/tests/bsim/bluetooth/host/l2cap/reassembly/peer/testcase.yaml b/tests/bsim/bluetooth/host/l2cap/reassembly/peer/testcase.yaml new file mode 100644 index 00000000000..809d15fa87a --- /dev/null +++ b/tests/bsim/bluetooth/host/l2cap/reassembly/peer/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.l2cap.reassembly.peer: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_l2cap_reassembly_peer_prj_conf diff --git a/tests/bsim/bluetooth/host/l2cap/send_on_connect/testcase.yaml b/tests/bsim/bluetooth/host/l2cap/send_on_connect/testcase.yaml new file mode 100644 index 00000000000..6604121a3be --- /dev/null +++ b/tests/bsim/bluetooth/host/l2cap/send_on_connect/testcase.yaml @@ -0,0 +1,18 @@ +common: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + - nrf5340bsim/nrf5340/cpunet + harness: bsim + +tests: + bluetooth.host.l2cap.send_on_connect: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_l2cap_send_on_connect_prj_conf + bluetooth.host.l2cap.send_on_connect_ecred: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_l2cap_send_on_connect_prj_ecred_conf + extra_args: + CONF_FILE=prj_ecred.conf diff --git a/tests/bsim/bluetooth/host/l2cap/split/compile.sh b/tests/bsim/bluetooth/host/l2cap/split/compile.sh deleted file mode 100755 index ff0f485b17d..00000000000 --- a/tests/bsim/bluetooth/host/l2cap/split/compile.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)"/dut compile -app="$(guess_test_relpath)"/tester compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/l2cap/split/dut/testcase.yaml b/tests/bsim/bluetooth/host/l2cap/split/dut/testcase.yaml new file mode 100644 index 00000000000..29005c8fb71 --- /dev/null +++ b/tests/bsim/bluetooth/host/l2cap/split/dut/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.l2cap.split.dut: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_l2cap_split_dut_prj_conf diff --git a/tests/bsim/bluetooth/host/l2cap/split/tester/testcase.yaml b/tests/bsim/bluetooth/host/l2cap/split/tester/testcase.yaml new file mode 100644 index 00000000000..37557f4faea --- /dev/null +++ b/tests/bsim/bluetooth/host/l2cap/split/tester/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.l2cap.split.tester: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_l2cap_split_tester_prj_conf diff --git a/tests/bsim/bluetooth/host/l2cap/stress/testcase.yaml b/tests/bsim/bluetooth/host/l2cap/stress/testcase.yaml new file mode 100644 index 00000000000..087f2f3ba50 --- /dev/null +++ b/tests/bsim/bluetooth/host/l2cap/stress/testcase.yaml @@ -0,0 +1,22 @@ +common: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + +tests: + bluetooth.host.l2cap.stress: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_l2cap_stress_prj_conf + bluetooth.host.l2cap.stress_nofrag: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_l2cap_stress_prj_nofrag_conf + extra_args: + CONF_FILE=prj_nofrag.conf + bluetooth.host.l2cap.stress_syswq: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_l2cap_stress_prj_syswq_conf + extra_args: + CONF_FILE=prj_syswq.conf diff --git a/tests/bsim/bluetooth/host/l2cap/stress/tests_scripts/_compile.sh b/tests/bsim/bluetooth/host/l2cap/stress/tests_scripts/_compile.sh deleted file mode 100755 index b446204dce8..00000000000 --- a/tests/bsim/bluetooth/host/l2cap/stress/tests_scripts/_compile.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" compile -app="$(guess_test_relpath)" conf_file=prj_nofrag.conf compile -app="$(guess_test_relpath)" conf_file=prj_syswq.conf compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/l2cap/userdata/testcase.yaml b/tests/bsim/bluetooth/host/l2cap/userdata/testcase.yaml new file mode 100644 index 00000000000..e07a9238649 --- /dev/null +++ b/tests/bsim/bluetooth/host/l2cap/userdata/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.l2cap.userdata: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_l2cap_userdata_prj_conf diff --git a/tests/bsim/bluetooth/host/l2cap/userdata/tests_scripts/_compile.sh b/tests/bsim/bluetooth/host/l2cap/userdata/tests_scripts/_compile.sh deleted file mode 100755 index 80030a894f2..00000000000 --- a/tests/bsim/bluetooth/host/l2cap/userdata/tests_scripts/_compile.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/misc/acl_tx_frag/compile.sh b/tests/bsim/bluetooth/host/misc/acl_tx_frag/compile.sh deleted file mode 100755 index e717a4b2bbe..00000000000 --- a/tests/bsim/bluetooth/host/misc/acl_tx_frag/compile.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/misc/acl_tx_frag/testcase.yaml b/tests/bsim/bluetooth/host/misc/acl_tx_frag/testcase.yaml new file mode 100644 index 00000000000..5ea6173ebd4 --- /dev/null +++ b/tests/bsim/bluetooth/host/misc/acl_tx_frag/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.mics.acl_tx_frag: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_misc_acl_tx_frag_prj_conf diff --git a/tests/bsim/bluetooth/host/misc/conn_stress/central/testcase.yaml b/tests/bsim/bluetooth/host/misc/conn_stress/central/testcase.yaml new file mode 100644 index 00000000000..b9f979a22ea --- /dev/null +++ b/tests/bsim/bluetooth/host/misc/conn_stress/central/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.misc.conn_stress.central: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_misc_conn_stress_central_prj_conf diff --git a/tests/bsim/bluetooth/host/misc/conn_stress/peripheral/testcase.yaml b/tests/bsim/bluetooth/host/misc/conn_stress/peripheral/testcase.yaml new file mode 100644 index 00000000000..db3c539ffae --- /dev/null +++ b/tests/bsim/bluetooth/host/misc/conn_stress/peripheral/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.misc.conn_stress.peripheral: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_misc_conn_stress_peripheral_prj_conf diff --git a/tests/bsim/bluetooth/host/misc/disable/testcase.yaml b/tests/bsim/bluetooth/host/misc/disable/testcase.yaml new file mode 100644 index 00000000000..a4ef16acb14 --- /dev/null +++ b/tests/bsim/bluetooth/host/misc/disable/testcase.yaml @@ -0,0 +1,11 @@ +tests: + bluetooth.host.mics.disable: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + - nrf5340bsim/nrf5340/cpunet + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_misc_disable_prj_conf diff --git a/tests/bsim/bluetooth/host/misc/disconnect/compile.sh b/tests/bsim/bluetooth/host/misc/disconnect/compile.sh deleted file mode 100755 index ff0f485b17d..00000000000 --- a/tests/bsim/bluetooth/host/misc/disconnect/compile.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)"/dut compile -app="$(guess_test_relpath)"/tester compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/misc/disconnect/dut/testcase.yaml b/tests/bsim/bluetooth/host/misc/disconnect/dut/testcase.yaml new file mode 100644 index 00000000000..c778299fd77 --- /dev/null +++ b/tests/bsim/bluetooth/host/misc/disconnect/dut/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.misc.disconnect.dut: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_misc_disconnect_dut_prj_conf diff --git a/tests/bsim/bluetooth/host/misc/disconnect/tester/testcase.yaml b/tests/bsim/bluetooth/host/misc/disconnect/tester/testcase.yaml new file mode 100644 index 00000000000..337d4f9829e --- /dev/null +++ b/tests/bsim/bluetooth/host/misc/disconnect/tester/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.misc.disconnect.tester: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_misc_disconnect_tester_prj_conf diff --git a/tests/bsim/bluetooth/host/misc/hfc/compile.sh b/tests/bsim/bluetooth/host/misc/hfc/compile.sh deleted file mode 100755 index e717a4b2bbe..00000000000 --- a/tests/bsim/bluetooth/host/misc/hfc/compile.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/misc/hfc/testcase.yaml b/tests/bsim/bluetooth/host/misc/hfc/testcase.yaml new file mode 100644 index 00000000000..b8d24f8d18f --- /dev/null +++ b/tests/bsim/bluetooth/host/misc/hfc/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.mics.hfc: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_misc_hfc_prj_conf diff --git a/tests/bsim/bluetooth/host/misc/hfc_multilink/compile.sh b/tests/bsim/bluetooth/host/misc/hfc_multilink/compile.sh deleted file mode 100755 index 7527432d4df..00000000000 --- a/tests/bsim/bluetooth/host/misc/hfc_multilink/compile.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)/dut" compile -app="$(guess_test_relpath)/tester" compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/misc/hfc_multilink/dut/testcase.yaml b/tests/bsim/bluetooth/host/misc/hfc_multilink/dut/testcase.yaml new file mode 100644 index 00000000000..2cb24db1258 --- /dev/null +++ b/tests/bsim/bluetooth/host/misc/hfc_multilink/dut/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.misc.hfc_multilink.dut: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_misc_hfc_multilink_dut_prj_conf diff --git a/tests/bsim/bluetooth/host/misc/hfc_multilink/tester/testcase.yaml b/tests/bsim/bluetooth/host/misc/hfc_multilink/tester/testcase.yaml new file mode 100644 index 00000000000..b9dd7b87913 --- /dev/null +++ b/tests/bsim/bluetooth/host/misc/hfc_multilink/tester/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.misc.hfc_multilink.tester: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_misc_hfc_multilink_tester_prj_conf diff --git a/tests/bsim/bluetooth/host/misc/sample_test/compile.sh b/tests/bsim/bluetooth/host/misc/sample_test/compile.sh deleted file mode 100755 index e717a4b2bbe..00000000000 --- a/tests/bsim/bluetooth/host/misc/sample_test/compile.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/misc/sample_test/testcase.yaml b/tests/bsim/bluetooth/host/misc/sample_test/testcase.yaml new file mode 100644 index 00000000000..a5e18ce68c3 --- /dev/null +++ b/tests/bsim/bluetooth/host/misc/sample_test/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.mics.sample_test: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_misc_sample_test_prj_conf diff --git a/tests/bsim/bluetooth/host/misc/unregister_conn_cb/testcase.yaml b/tests/bsim/bluetooth/host/misc/unregister_conn_cb/testcase.yaml new file mode 100644 index 00000000000..34deeb368f9 --- /dev/null +++ b/tests/bsim/bluetooth/host/misc/unregister_conn_cb/testcase.yaml @@ -0,0 +1,11 @@ +tests: + bluetooth.host.mics.unregister_conn_cb: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + - nrf5340bsim/nrf5340/cpunet + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_misc_unregister_conn_cb_prj_conf diff --git a/tests/bsim/bluetooth/host/misc/unregister_conn_cb/tests_scripts/_compile.sh b/tests/bsim/bluetooth/host/misc/unregister_conn_cb/tests_scripts/_compile.sh deleted file mode 100755 index e717a4b2bbe..00000000000 --- a/tests/bsim/bluetooth/host/misc/unregister_conn_cb/tests_scripts/_compile.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/privacy/central/compile.sh b/tests/bsim/bluetooth/host/privacy/central/compile.sh deleted file mode 100755 index 87cd4f6ba95..00000000000 --- a/tests/bsim/bluetooth/host/privacy/central/compile.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 - -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" _compile diff --git a/tests/bsim/bluetooth/host/privacy/central/testcase.yaml b/tests/bsim/bluetooth/host/privacy/central/testcase.yaml new file mode 100644 index 00000000000..5c988c2f26f --- /dev/null +++ b/tests/bsim/bluetooth/host/privacy/central/testcase.yaml @@ -0,0 +1,11 @@ +tests: + bluetooth.host.privacy.central: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + - nrf5340bsim/nrf5340/cpunet + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_privacy_central_prj_conf diff --git a/tests/bsim/bluetooth/host/privacy/device/compile.sh b/tests/bsim/bluetooth/host/privacy/device/compile.sh deleted file mode 100755 index a8e0fb1530e..00000000000 --- a/tests/bsim/bluetooth/host/privacy/device/compile.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" _compile diff --git a/tests/bsim/bluetooth/host/privacy/device/testcase.yaml b/tests/bsim/bluetooth/host/privacy/device/testcase.yaml new file mode 100644 index 00000000000..926f8ad59f9 --- /dev/null +++ b/tests/bsim/bluetooth/host/privacy/device/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.privacy.device: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_privacy_device_prj_conf diff --git a/tests/bsim/bluetooth/host/privacy/legacy/compile.sh b/tests/bsim/bluetooth/host/privacy/legacy/compile.sh deleted file mode 100755 index a8e0fb1530e..00000000000 --- a/tests/bsim/bluetooth/host/privacy/legacy/compile.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" _compile diff --git a/tests/bsim/bluetooth/host/privacy/legacy/testcase.yaml b/tests/bsim/bluetooth/host/privacy/legacy/testcase.yaml new file mode 100644 index 00000000000..ba3d318e372 --- /dev/null +++ b/tests/bsim/bluetooth/host/privacy/legacy/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.privacy.legacy: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_privacy_legacy_prj_conf diff --git a/tests/bsim/bluetooth/host/privacy/peripheral/compile.sh b/tests/bsim/bluetooth/host/privacy/peripheral/compile.sh deleted file mode 100755 index 47da5e42c62..00000000000 --- a/tests/bsim/bluetooth/host/privacy/peripheral/compile.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" compile -app="$(guess_test_relpath)" conf_file=prj_rpa_expired.conf compile -app="$(guess_test_relpath)" conf_file=prj_rpa_sharing.conf compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/privacy/peripheral/testcase.yaml b/tests/bsim/bluetooth/host/privacy/peripheral/testcase.yaml new file mode 100644 index 00000000000..fa308533568 --- /dev/null +++ b/tests/bsim/bluetooth/host/privacy/peripheral/testcase.yaml @@ -0,0 +1,22 @@ +common: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + +tests: + bluetooth.host.privacy.peripheral: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_privacy_peripheral_prj_conf + bluetooth.host.privacy.peripheral_rpa_expired: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_privacy_peripheral_prj_rpa_expired_conf + extra_args: + EXTRA_CONF_FILE=prj_rpa_expired.conf + bluetooth.host.privacy.peripheral_rpa_sharing: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_privacy_peripheral_prj_rpa_sharing_conf + extra_args: + EXTRA_CONF_FILE=prj_rpa_sharing.conf diff --git a/tests/bsim/bluetooth/host/scan/slow/compile.sh b/tests/bsim/bluetooth/host/scan/slow/compile.sh deleted file mode 100755 index b7b1eea135e..00000000000 --- a/tests/bsim/bluetooth/host/scan/slow/compile.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2024 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 - -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/scan/slow/testcase.yaml b/tests/bsim/bluetooth/host/scan/slow/testcase.yaml new file mode 100644 index 00000000000..348aaac1544 --- /dev/null +++ b/tests/bsim/bluetooth/host/scan/slow/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.scan.slow: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_scan_slow_prj_conf diff --git a/tests/bsim/bluetooth/host/scan/start_stop/compile.sh b/tests/bsim/bluetooth/host/scan/start_stop/compile.sh deleted file mode 100755 index 718910a63c4..00000000000 --- a/tests/bsim/bluetooth/host/scan/start_stop/compile.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 - -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/scan/start_stop/testcase.yaml b/tests/bsim/bluetooth/host/scan/start_stop/testcase.yaml new file mode 100644 index 00000000000..e119d715a7f --- /dev/null +++ b/tests/bsim/bluetooth/host/scan/start_stop/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.scan.start_stop: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_scan_start_stop_prj_conf diff --git a/tests/bsim/bluetooth/host/security/bond_overwrite_allowed/compile.sh b/tests/bsim/bluetooth/host/security/bond_overwrite_allowed/compile.sh deleted file mode 100755 index 7bb547b3f25..00000000000 --- a/tests/bsim/bluetooth/host/security/bond_overwrite_allowed/compile.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2022 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source -app="$(guess_test_relpath)" _compile diff --git a/tests/bsim/bluetooth/host/security/bond_overwrite_allowed/testcase.yaml b/tests/bsim/bluetooth/host/security/bond_overwrite_allowed/testcase.yaml new file mode 100644 index 00000000000..37716b25446 --- /dev/null +++ b/tests/bsim/bluetooth/host/security/bond_overwrite_allowed/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.security.bond_overwrite_allowed: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_security_bond_overwrite_allowed_prj_conf diff --git a/tests/bsim/bluetooth/host/security/bond_overwrite_denied/compile.sh b/tests/bsim/bluetooth/host/security/bond_overwrite_denied/compile.sh deleted file mode 100755 index b3605e1ee2b..00000000000 --- a/tests/bsim/bluetooth/host/security/bond_overwrite_denied/compile.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2022 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" _compile diff --git a/tests/bsim/bluetooth/host/security/bond_overwrite_denied/testcase.yaml b/tests/bsim/bluetooth/host/security/bond_overwrite_denied/testcase.yaml new file mode 100644 index 00000000000..a9e9ab835a5 --- /dev/null +++ b/tests/bsim/bluetooth/host/security/bond_overwrite_denied/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.security.bond_overwrite_denied: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_security_bond_overwrite_denied_prj_conf diff --git a/tests/bsim/bluetooth/host/security/bond_per_connection/compile.sh b/tests/bsim/bluetooth/host/security/bond_per_connection/compile.sh deleted file mode 100755 index a8e0fb1530e..00000000000 --- a/tests/bsim/bluetooth/host/security/bond_per_connection/compile.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" _compile diff --git a/tests/bsim/bluetooth/host/security/bond_per_connection/testcase.yaml b/tests/bsim/bluetooth/host/security/bond_per_connection/testcase.yaml new file mode 100644 index 00000000000..a909fdc2a5c --- /dev/null +++ b/tests/bsim/bluetooth/host/security/bond_per_connection/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.security.bond_per_connection: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_security_bond_per_connection_prj_conf diff --git a/tests/bsim/bluetooth/host/security/ccc_update/compile.sh b/tests/bsim/bluetooth/host/security/ccc_update/compile.sh deleted file mode 100755 index e33fe48bdbe..00000000000 --- a/tests/bsim/bluetooth/host/security/ccc_update/compile.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" compile -app="$(guess_test_relpath)" conf_file=prj_2.conf compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/security/ccc_update/testcase.yaml b/tests/bsim/bluetooth/host/security/ccc_update/testcase.yaml new file mode 100644 index 00000000000..1c3176d268e --- /dev/null +++ b/tests/bsim/bluetooth/host/security/ccc_update/testcase.yaml @@ -0,0 +1,17 @@ +common: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + +tests: + bluetooth.host.security.ccc_update: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_security_ccc_update_prj_conf + bluetooth.host.security.ccc_update_2: + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_security_ccc_update_prj_2_conf + extra_args: + EXTRA_CONF_FILE=prj_2.conf diff --git a/tests/bsim/bluetooth/host/security/compile.sh b/tests/bsim/bluetooth/host/security/compile.sh deleted file mode 100755 index e837aec5266..00000000000 --- a/tests/bsim/bluetooth/host/security/compile.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 - -# Compile all the applications needed by the bsim tests in these subfolders - -#set -x #uncomment this line for debugging -set -ue -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be set to point to the zephyr root directory}" - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -run_in_background \ - ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/security/bond_overwrite_allowed/compile.sh -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/security/bond_overwrite_denied/compile.sh -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/security/bond_per_connection/compile.sh -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/security/ccc_update/compile.sh -run_in_background ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/security/id_addr_update/compile.sh -run_in_background \ - ${ZEPHYR_BASE}/tests/bsim/bluetooth/host/security/security_changed_callback/compile.sh - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/security/id_addr_update/central/testcase.yaml b/tests/bsim/bluetooth/host/security/id_addr_update/central/testcase.yaml new file mode 100644 index 00000000000..69d4c329808 --- /dev/null +++ b/tests/bsim/bluetooth/host/security/id_addr_update/central/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.security.id_addr_update.central: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_security_id_addr_update_central_prj_conf diff --git a/tests/bsim/bluetooth/host/security/id_addr_update/compile.sh b/tests/bsim/bluetooth/host/security/id_addr_update/compile.sh deleted file mode 100755 index f0f386a9e6b..00000000000 --- a/tests/bsim/bluetooth/host/security/id_addr_update/compile.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)/central" compile -app="$(guess_test_relpath)/peripheral" compile - -wait_for_background_jobs diff --git a/tests/bsim/bluetooth/host/security/id_addr_update/peripheral/testcase.yaml b/tests/bsim/bluetooth/host/security/id_addr_update/peripheral/testcase.yaml new file mode 100644 index 00000000000..4b15bf3890a --- /dev/null +++ b/tests/bsim/bluetooth/host/security/id_addr_update/peripheral/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.security.id_addr_update.peripheral: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_security_id_addr_update_peripheral_prj_conf diff --git a/tests/bsim/bluetooth/host/security/security_changed_callback/compile.sh b/tests/bsim/bluetooth/host/security/security_changed_callback/compile.sh deleted file mode 100755 index a8e0fb1530e..00000000000 --- a/tests/bsim/bluetooth/host/security/security_changed_callback/compile.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Nordic Semiconductor ASA -# SPDX-License-Identifier: Apache-2.0 -set -eu -: "${ZEPHYR_BASE:?ZEPHYR_BASE must be defined}" - -INCR_BUILD=1 - -source ${ZEPHYR_BASE}/tests/bsim/compile.source - -app="$(guess_test_relpath)" _compile diff --git a/tests/bsim/bluetooth/host/security/security_changed_callback/testcase.yaml b/tests/bsim/bluetooth/host/security/security_changed_callback/testcase.yaml new file mode 100644 index 00000000000..a3b2f3a8082 --- /dev/null +++ b/tests/bsim/bluetooth/host/security/security_changed_callback/testcase.yaml @@ -0,0 +1,10 @@ +tests: + bluetooth.host.security.security_changed_callback: + build_only: true + tags: + - bluetooth + platform_allow: + - nrf52_bsim/native + harness: bsim + harness_config: + bsim_exe_name: tests_bsim_bluetooth_host_security_security_changed_callback_prj_conf diff --git a/tests/bsim/ci.bt.sh b/tests/bsim/ci.bt.sh index a0433141b15..cce0d6364d6 100755 --- a/tests/bsim/ci.bt.sh +++ b/tests/bsim/ci.bt.sh @@ -14,6 +14,7 @@ set -uex # nrf52_bsim set: nice tests/bsim/bluetooth/compile.sh +BOARD=nrf52_bsim/native \ RESULTS_FILE=${ZEPHYR_BASE}/bsim_out/bsim_results.bt.52.xml \ TESTS_FILE=tests/bsim/bluetooth/tests.nrf52bsim.txt \ tests/bsim/run_parallel.sh