tests: bsim: bluetooth: host: use twister to compile tests

Bluetooth host bsim tests are compiled with shell scripts, but it is
possible to use twister, which supports compilation (but not running
at the moment). Compiling with twister requires fewer shell scripts,
provides cleaner interface and more flexible configuration.

Signed-off-by: Artur Dobrynin <artur.dobrynin@nordicsemi.no>
This commit is contained in:
Artur Dobrynin 2024-12-04 10:37:33 +01:00 committed by Benjamin Cabé
commit e0f74cf1b0
127 changed files with 874 additions and 774 deletions

View file

@ -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