Skip to content

Commit e0f74cf

Browse files
ardo-nordickartben
authored andcommitted
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>
1 parent 04dd110 commit e0f74cf

File tree

127 files changed

+874
-774
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

127 files changed

+874
-774
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
tests:
2+
bluetooth.host.adv.chain:
3+
build_only: true
4+
tags:
5+
- bluetooth
6+
platform_allow:
7+
- nrf52_bsim/native
8+
- nrf5340bsim/nrf5340/cpunet
9+
harness: bsim
10+
harness_config:
11+
bsim_exe_name: tests_bsim_bluetooth_host_adv_chain_prj_conf

tests/bsim/bluetooth/host/adv/compile.sh

Lines changed: 0 additions & 23 deletions
This file was deleted.

tests/bsim/bluetooth/host/adv/encrypted/css_sample_data/compile.sh

Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
tests:
2+
bluetooth.host.adv.encrypted.css_sample_data:
3+
build_only: true
4+
tags:
5+
- bluetooth
6+
platform_allow:
7+
- nrf52_bsim/native
8+
harness: bsim
9+
harness_config:
10+
bsim_exe_name: tests_bsim_bluetooth_host_adv_encrypted_css_sample_data_prj_conf
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
tests:
2+
bluetooth.host.adv.encrypted.ead_sample:
3+
build_only: true
4+
tags:
5+
- bluetooth
6+
platform_allow:
7+
- nrf52_bsim/native
8+
harness: bsim
9+
harness_config:
10+
bsim_exe_name: tests_bsim_bluetooth_host_adv_encrypted_ead_sample_prj_conf
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
common:
2+
build_only: true
3+
tags:
4+
- bluetooth
5+
platform_allow:
6+
- nrf52_bsim/native
7+
- nrf5340bsim/nrf5340/cpunet
8+
harness: bsim
9+
10+
tests:
11+
bluetooth.host.adv.extended.advertiser:
12+
harness_config:
13+
bsim_exe_name: tests_bsim_bluetooth_host_adv_extended_prj_advertiser_conf
14+
extra_args:
15+
CONF_FILE=prj_advertiser.conf
16+
bluetooth.host.adv.extended.scanner:
17+
harness_config:
18+
bsim_exe_name: tests_bsim_bluetooth_host_adv_extended_prj_scanner_conf
19+
extra_args:
20+
CONF_FILE=prj_scanner.conf

tests/bsim/bluetooth/host/adv/long_ad/compile.sh

Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
tests:
2+
bluetooth.host.adv.long_ad:
3+
build_only: true
4+
tags:
5+
- bluetooth
6+
platform_allow:
7+
- nrf52_bsim/native
8+
harness: bsim
9+
harness_config:
10+
bsim_exe_name: tests_bsim_bluetooth_host_adv_long_ad_prj_conf
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
common:
2+
build_only: true
3+
tags:
4+
- bluetooth
5+
platform_allow:
6+
- nrf52_bsim/native
7+
- nrf5340bsim/nrf5340/cpunet
8+
harness: bsim
9+
10+
tests:
11+
bluetooth.host.adv.periodic:
12+
harness_config:
13+
bsim_exe_name: tests_bsim_bluetooth_host_adv_periodic_prj_conf
14+
bluetooth.host.adv.periodic.coded:
15+
harness_config:
16+
bsim_exe_name: tests_bsim_bluetooth_host_adv_periodic_prj_coded_conf
17+
extra_args:
18+
EXTRA_CONF_FILE=prj_coded.conf
19+
bluetooth.host.adv.periodic.long_data:
20+
harness_config:
21+
bsim_exe_name: tests_bsim_bluetooth_host_adv_periodic_prj_long_data_conf
22+
extra_args:
23+
EXTRA_CONF_FILE=prj_long_data.conf

tests/bsim/bluetooth/host/att/compile.sh

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)