Skip to content

Commit 0dd6198

Browse files
committed
tests: bsim: host: updates reflecting new schema
Bsim options schema was updated with explicit individual device configuration, thus updating all test config files in host. Signed-off-by: Artur Dobrynin <[email protected]>
1 parent 5041694 commit 0dd6198

File tree

85 files changed

+883
-757
lines changed

Some content is hidden

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

85 files changed

+883
-757
lines changed

tests/bsim/bluetooth/host/adv/chain/testcase.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ tests:
88
harness: bsim
99
timeout: 30
1010
harness_config:
11-
bsim_exe_name:
12-
- tests_bsim_bluetooth_host_adv_chain_prj_conf
11+
bsim_exe_name: tests_bsim_bluetooth_host_adv_chain_prj_conf
1312
bsim_verbosity: 2
1413
bsim_sim_length: 10e6
15-
bsim_test_ids:
16-
- adv
17-
- scan
14+
bsim_devices:
15+
- test_id: adv
16+
- test_id: scan

tests/bsim/bluetooth/host/adv/encrypted/css_sample_data/testcase.yaml

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,38 @@ common:
66
harness: bsim
77
timeout: 30
88
harness_config:
9-
bsim_exe_name:
10-
- tests_bsim_bluetooth_host_adv_encrypted_css_sample_data_prj_conf
9+
bsim_exe_name: tests_bsim_bluetooth_host_adv_encrypted_css_sample_data_prj_conf
1110
bsim_verbosity: 2
1211
bsim_sim_length: 20e6
13-
bsim_test_ids:
14-
- central
15-
- peripheral
1612
bsim_options:
1713
- -RealEncryption=1
18-
- -argstest
1914

2015
tests:
2116
bluetooth.host.adv.encrypted.build_css_sample_data:
2217
build_only: true
18+
2319
bluetooth.host.adv.encrypted.css_sample_data_1:
2420
no_build: true
2521
harness_config:
26-
bsim_options:
27-
- data-set=1
22+
bsim_devices:
23+
- test_id: central
24+
options:
25+
- -argstest
26+
- data-set=1
27+
- test_id: peripheral
28+
options:
29+
- -argstest
30+
- data-set=1
31+
2832
bluetooth.host.adv.encrypted.css_sample_data_2:
2933
no_build: true
3034
harness_config:
31-
bsim_options:
32-
- data-set=2
35+
bsim_devices:
36+
- test_id: central
37+
options:
38+
- -argstest
39+
- data-set=2
40+
- test_id: peripheral
41+
options:
42+
- -argstest
43+
- data-set=2

tests/bsim/bluetooth/host/adv/encrypted/ead_sample/testcase.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@ tests:
77
harness: bsim
88
timeout: 30
99
harness_config:
10-
bsim_exe_name:
11-
- tests_bsim_bluetooth_host_adv_encrypted_ead_sample_prj_conf
10+
bsim_exe_name: tests_bsim_bluetooth_host_adv_encrypted_ead_sample_prj_conf
1211
bsim_verbosity: 2
1312
bsim_sim_length: 60e6
14-
bsim_test_ids:
15-
- central
16-
- peripheral
1713
bsim_options:
1814
- -RealEncryption=0
15+
bsim_devices:
16+
- test_id: central
17+
- test_id: peripheral

tests/bsim/bluetooth/host/adv/extended/testcase.yaml

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -16,41 +16,40 @@ tests:
1616
bluetooth.host.adv.extended.build_advertiser:
1717
build_only: true
1818
harness_config:
19-
bsim_exe_name:
20-
- tests_bsim_bluetooth_host_adv_extended_prj_advertiser_conf
19+
bsim_exe_name: tests_bsim_bluetooth_host_adv_extended_prj_advertiser_conf
2120
extra_args:
2221
CONF_FILE=prj_advertiser.conf
22+
2323
bluetooth.host.adv.extended.build_scanner:
2424
build_only: true
2525
harness_config:
26-
bsim_exe_name:
27-
- tests_bsim_bluetooth_host_adv_extended_prj_scanner_conf
26+
bsim_exe_name: tests_bsim_bluetooth_host_adv_extended_prj_scanner_conf
2827
extra_args:
2928
CONF_FILE=prj_scanner.conf
29+
3030
bluetooth.host.adv.extended.ext_adv:
3131
no_build: true
3232
harness_config:
33-
bsim_exe_name:
34-
- tests_bsim_bluetooth_host_adv_extended_prj_advertiser_conf
35-
- tests_bsim_bluetooth_host_adv_extended_prj_scanner_conf
36-
bsim_test_ids:
37-
- ext_adv_advertiser
38-
- ext_adv_scanner
33+
bsim_devices:
34+
- test_id: ext_adv_advertiser
35+
exe: tests_bsim_bluetooth_host_adv_extended_prj_advertiser_conf
36+
- test_id: ext_adv_scanner
37+
exe: tests_bsim_bluetooth_host_adv_extended_prj_scanner_conf
38+
3939
bluetooth.host.adv.extended.ext_adv_conn:
4040
no_build: true
4141
harness_config:
42-
bsim_exe_name:
43-
- tests_bsim_bluetooth_host_adv_extended_prj_advertiser_conf
44-
- tests_bsim_bluetooth_host_adv_extended_prj_scanner_conf
45-
bsim_test_ids:
46-
- ext_adv_conn_advertiser
47-
- ext_adv_conn_scanner
42+
bsim_devices:
43+
- test_id: ext_adv_conn_advertiser
44+
exe: tests_bsim_bluetooth_host_adv_extended_prj_advertiser_conf
45+
- test_id: ext_adv_conn_scanner
46+
exe: tests_bsim_bluetooth_host_adv_extended_prj_scanner_conf
47+
4848
bluetooth.host.adv.extended.ext_adv_conn_x5:
4949
no_build: true
5050
harness_config:
51-
bsim_exe_name:
52-
- tests_bsim_bluetooth_host_adv_extended_prj_advertiser_conf
53-
- tests_bsim_bluetooth_host_adv_extended_prj_scanner_conf
54-
bsim_test_ids:
55-
- ext_adv_conn_advertiser_x5
56-
- ext_adv_conn_scanner_x5
51+
bsim_devices:
52+
- test_id: ext_adv_conn_advertiser_x5
53+
exe: tests_bsim_bluetooth_host_adv_extended_prj_advertiser_conf
54+
- test_id: ext_adv_conn_scanner_x5
55+
exe: tests_bsim_bluetooth_host_adv_extended_prj_scanner_conf

tests/bsim/bluetooth/host/adv/long_ad/testcase.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@ tests:
77
harness: bsim
88
timeout: 30
99
harness_config:
10-
bsim_exe_name:
11-
- tests_bsim_bluetooth_host_adv_long_ad_prj_conf
10+
bsim_exe_name: tests_bsim_bluetooth_host_adv_long_ad_prj_conf
1211
bsim_verbosity: 2
1312
bsim_sim_length: 2e6
14-
bsim_test_ids:
15-
- advertiser
16-
- scanner
13+
bsim_devices:
14+
- test_id: advertiser
15+
- test_id: scanner

tests/bsim/bluetooth/host/adv/periodic/testcase.yaml

Lines changed: 41 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -16,67 +16,72 @@ tests:
1616
bluetooth.host.adv.periodic.build:
1717
build_only: true
1818
harness_config:
19-
bsim_exe_name:
20-
- tests_bsim_bluetooth_host_adv_periodic_prj_conf
19+
bsim_exe_name: tests_bsim_bluetooth_host_adv_periodic_prj_conf
20+
2121
bluetooth.host.adv.periodic.build_coded:
2222
build_only: true
2323
harness_config:
24-
bsim_exe_name:
25-
- tests_bsim_bluetooth_host_adv_periodic_prj_coded_conf
24+
bsim_exe_name: tests_bsim_bluetooth_host_adv_periodic_prj_coded_conf
2625
extra_args:
2726
EXTRA_CONF_FILE=prj_coded.conf
27+
2828
bluetooth.host.adv.periodic.build_long_data:
2929
build_only: true
3030
harness_config:
31-
bsim_exe_name:
32-
- tests_bsim_bluetooth_host_adv_periodic_prj_long_data_conf
31+
bsim_exe_name: tests_bsim_bluetooth_host_adv_periodic_prj_long_data_conf
3332
extra_args:
3433
EXTRA_CONF_FILE=prj_long_data.conf
34+
3535
bluetooth.host.adv.periodic.per_adv:
3636
no_build: true
3737
harness_config:
38-
bsim_exe_name:
39-
- tests_bsim_bluetooth_host_adv_periodic_prj_conf
40-
bsim_test_ids:
41-
- per_adv_advertiser
42-
- per_adv_sync
38+
bsim_devices:
39+
- test_id: per_adv_advertiser
40+
exe: tests_bsim_bluetooth_host_adv_periodic_prj_conf
41+
- test_id: per_adv_sync
42+
exe: tests_bsim_bluetooth_host_adv_periodic_prj_conf
43+
4344
bluetooth.host.adv.periodic.per_adv_conn:
4445
no_build: true
4546
harness_config:
46-
bsim_exe_name:
47-
- tests_bsim_bluetooth_host_adv_periodic_prj_conf
48-
bsim_test_ids:
49-
- per_adv_conn_advertiser
50-
- per_adv_conn_sync
47+
bsim_devices:
48+
- test_id: per_adv_conn_advertiser
49+
exe: tests_bsim_bluetooth_host_adv_periodic_prj_conf
50+
- test_id: per_adv_conn_sync
51+
exe: tests_bsim_bluetooth_host_adv_periodic_prj_conf
52+
5153
bluetooth.host.adv.periodic.per_adv_long_data:
5254
no_build: true
5355
harness_config:
54-
bsim_exe_name:
55-
- tests_bsim_bluetooth_host_adv_periodic_prj_long_data_conf
56-
bsim_test_ids:
57-
- per_adv_long_data_advertiser
58-
- per_adv_long_data_sync
56+
bsim_devices:
57+
- test_id: per_adv_long_data_advertiser
58+
exe: tests_bsim_bluetooth_host_adv_periodic_prj_long_data_conf
59+
- test_id: per_adv_long_data_sync
60+
exe: tests_bsim_bluetooth_host_adv_periodic_prj_long_data_conf
61+
5962
bluetooth.host.adv.periodic.per_adv_conn_privacy:
6063
no_build: true
6164
harness_config:
62-
bsim_exe_name:
63-
- tests_bsim_bluetooth_host_adv_periodic_prj_conf
64-
bsim_test_ids:
65-
- per_adv_conn_privacy_advertiser
66-
- per_adv_conn_privacy_sync
65+
bsim_devices:
66+
- test_id: per_adv_conn_privacy_advertiser
67+
exe: tests_bsim_bluetooth_host_adv_periodic_prj_conf
68+
- test_id: per_adv_conn_privacy_sync
69+
exe: tests_bsim_bluetooth_host_adv_periodic_prj_conf
70+
6771
bluetooth.host.adv.periodic.per_adv_not_scanning:
6872
no_build: true
6973
harness_config:
70-
bsim_exe_name:
71-
- tests_bsim_bluetooth_host_adv_periodic_prj_conf
72-
bsim_test_ids:
73-
- per_adv_advertiser
74-
- per_adv_sync_app_not_scanning
74+
bsim_devices:
75+
- test_id: per_adv_advertiser
76+
exe: tests_bsim_bluetooth_host_adv_periodic_prj_conf
77+
- test_id: per_adv_sync_app_not_scanning
78+
exe: tests_bsim_bluetooth_host_adv_periodic_prj_conf
79+
7580
bluetooth.host.adv.periodic.per_adv_app_not_scanning_coded:
7681
no_build: true
7782
harness_config:
78-
bsim_exe_name:
79-
- tests_bsim_bluetooth_host_adv_periodic_prj_coded_conf
80-
bsim_test_ids:
81-
- per_adv_advertiser_coded_phy
82-
- per_adv_sync_app_not_scanning
83+
bsim_devices:
84+
- test_id: per_adv_advertiser_coded_phy
85+
exe: tests_bsim_bluetooth_host_adv_periodic_prj_coded_conf
86+
- test_id: per_adv_sync_app_not_scanning
87+
exe: tests_bsim_bluetooth_host_adv_periodic_prj_coded_conf

tests/bsim/bluetooth/host/att/eatt/testcase.yaml

Lines changed: 31 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -15,57 +15,56 @@ tests:
1515
bluetooth.host.att.eatt.build_autoconnect:
1616
build_only: true
1717
harness_config:
18-
bsim_exe_name:
19-
- tests_bsim_bluetooth_host_att_eatt_prj_autoconnect_conf
18+
bsim_exe_name: tests_bsim_bluetooth_host_att_eatt_prj_autoconnect_conf
2019
extra_args:
2120
EXTRA_CONF_FILE=prj_autoconnect.conf
21+
2222
bluetooth.host.att.eatt.build_lowres:
2323
build_only: true
2424
harness_config:
25-
bsim_exe_name:
26-
- tests_bsim_bluetooth_host_att_eatt_prj_lowres_conf
25+
bsim_exe_name: tests_bsim_bluetooth_host_att_eatt_prj_lowres_conf
2726
extra_args:
2827
EXTRA_CONF_FILE=prj_lowres.conf
28+
2929
bluetooth.host.att.eatt.autoconnect:
3030
no_build: true
3131
harness_config:
32-
bsim_exe_name:
33-
- tests_bsim_bluetooth_host_att_eatt_prj_autoconnect_conf
34-
bsim_test_ids:
35-
- central_autoconnect
36-
- peripheral_autoconnect
32+
bsim_devices:
33+
- test_id: central_autoconnect
34+
exe: tests_bsim_bluetooth_host_att_eatt_prj_autoconnect_conf
35+
- test_id: peripheral_autoconnect
36+
exe: tests_bsim_bluetooth_host_att_eatt_prj_autoconnect_conf
37+
3738
bluetooth.host.att.eatt.reconfigure:
3839
no_build: true
3940
harness_config:
40-
bsim_exe_name:
41-
- tests_bsim_bluetooth_host_att_eatt_prj_autoconnect_conf
42-
bsim_test_ids:
43-
- central_reconfigure
44-
- peripheral_reconfigure
41+
bsim_devices:
42+
- test_id: central_reconfigure
43+
exe: tests_bsim_bluetooth_host_att_eatt_prj_autoconnect_conf
44+
- test_id: peripheral_reconfigure
45+
exe: tests_bsim_bluetooth_host_att_eatt_prj_autoconnect_conf
46+
4547
bluetooth.host.adt.eatt.collision:
4648
harness_config:
47-
bsim_exe_name:
48-
- tests_bsim_bluetooth_host_att_eatt_prj_collision_conf
49-
bsim_test_ids:
50-
- central
51-
- peripheral
49+
bsim_exe_name: tests_bsim_bluetooth_host_att_eatt_prj_collision_conf
50+
bsim_devices:
51+
- test_id: central
52+
- test_id: peripheral
53+
5254
bluetooth.host.att.eatt.lowres:
5355
no_build: true
5456
harness_config:
55-
bsim_exe_name:
56-
- tests_bsim_bluetooth_host_att_eatt_prj_autoconnect_conf
57-
- tests_bsim_bluetooth_host_att_eatt_prj_lowres_conf
58-
bsim_test_ids:
59-
- central_lowres
60-
- peripheral_lowres
61-
extra_args:
62-
EXTRA_CONF_FILE=prj_lowres.conf
57+
bsim_devices:
58+
- test_id: central_lowres
59+
exe: tests_bsim_bluetooth_host_att_eatt_prj_autoconnect_conf
60+
- test_id: peripheral_lowres
61+
exe: tests_bsim_bluetooth_host_att_eatt_prj_lowres_conf
62+
6363
bluetooth.host.att.eatt.multiple_conn:
6464
harness_config:
65-
bsim_exe_name:
66-
- tests_bsim_bluetooth_host_att_eatt_prj_multiple_conn_conf
67-
bsim_test_ids:
68-
- central
69-
- peripheral
65+
bsim_exe_name: tests_bsim_bluetooth_host_att_eatt_prj_multiple_conn_conf
66+
bsim_devices:
67+
- test_id: central
68+
- test_id: peripheral
7069
extra_args:
7170
EXTRA_CONF_FILE=prj_multiple_conn.conf

tests/bsim/bluetooth/host/att/eatt_notif/testcase.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,11 @@ tests:
88
harness: bsim
99
timeout: 120
1010
harness_config:
11-
bsim_exe_name:
12-
- tests_bsim_bluetooth_host_att_eatt_notif_prj_conf
11+
bsim_exe_name: tests_bsim_bluetooth_host_att_eatt_notif_prj_conf
1312
bsim_verbosity: 2
1413
bsim_sim_length: 30e6
15-
bsim_test_ids:
16-
- client
17-
- server
1814
bsim_options:
1915
- -RealEncryption=1
16+
bsim_devices:
17+
- test_id: client
18+
- test_id: server

tests/bsim/bluetooth/host/att/long_read/testcase.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@ tests:
77
harness: bsim
88
timeout: 30
99
harness_config:
10-
bsim_exe_name:
11-
- tests_bsim_bluetooth_host_att_long_read_prj_conf
10+
bsim_exe_name: tests_bsim_bluetooth_host_att_long_read_prj_conf
1211
bsim_verbosity: 2
1312
bsim_sim_length: 60e6
14-
bsim_test_ids:
15-
- the_test
16-
- the_test
1713
bsim_options:
1814
- -RealEncryption=1
1915
- -D=2
16+
bsim_devices:
17+
- test_id: the_test
18+
- test_id: the_test

0 commit comments

Comments
 (0)