zephyr/tests/bsim/bluetooth/mesh/tests_scripts/provision/prov_multi.sh
Pavel Vasilyev 9cb00bee6a tests: bsim: bluetooth: mesh: Remove bsim tests with TinyCrypt
As TinyCrypt gets deprecated, we need to remove all bsim tests that use
it. This commit switches all Bluetooth mesh bsim tests to PSA as a
default crypto backend.

This includes:
- removing `CONFIG_BT_MESH_USES_TINYCRYPT` as PSA is default crypto
  backend for mesh. `CONFIG_BT_MESH_USES_MBEDTLS_PSA` is not required to
  be enabled;
- merging `overlay_psa.conf` into `prj.conf` as this configuration
  becomes default for all mesh bsim tests;
- merging `overlay_ss.conf` into `overlay_pst.conf` as secure storage is
  required for running persistent storage bsim tests with PSA;

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
2025-05-26 13:17:08 +02:00

24 lines
622 B
Bash
Executable File

#!/usr/bin/env bash
# Copyright 2021 Nordic Semiconductor
# SPDX-License-Identifier: Apache-2.0
source $(dirname "${BASH_SOURCE[0]}")/../../_mesh_test.sh
# Provision 3 devices in succession:
# Note that the number of devices must match the
# PROV_MULTI_COUNT define in test_provision.c
RunTest mesh_prov_pb_adv_multi \
prov_provisioner_multi \
prov_device_no_oob \
prov_device_no_oob \
prov_device_no_oob \
-- -argstest prov-bearer=1
overlay=overlay_gatt_conf
RunTest mesh_prov_pb_gatt_multi \
prov_provisioner_multi \
prov_device_no_oob \
prov_device_no_oob \
prov_device_no_oob \
-- -argstest prov-bearer=2