Commit ead001c
[nrf fromtree] Bluetooth: Host: More bsim refactoring
Commit does the following changes:
* Use functionality from the `babbelkit` library for common functions
related to flags, test progression (failing, passing etc.) and
synchronization between two devices. Locally defined equivalents are
removed.
* Removes the files containing only functionality that is provided
by the `babblekit` library.
* Remove the `test_pre_init_f` and `test_tick_f` functions (commonly
implemented as `test_init` and `test_tick`) from the modified tests.
These functions are not needed as they were only used to fail the test
if a device didn't complete the test within a certain time frame. This
is already handled by the `sim_length` argument used in the test
scripts.
Signed-off-by: Håvard Reierstad <[email protected]>
(cherry picked from commit 7737483)1 parent 6258aba commit ead001c
File tree
181 files changed
+996
-2544
lines changed- tests/bsim/bluetooth
- host
- adv
- chain
- src
- extended/src
- long_ad/src
- periodic/src
- att
- eatt_notif/src
- eatt/src
- mtu_update
- src
- test_scripts
- pipeline
- common
- dut
- src
- tester
- src
- read_fill_buf
- client
- server
- test_scripts
- retry_on_sec_err
- client
- server
- sequential
- common
- dut
- src
- tester
- src
- central/src
- gatt
- authorization/src
- caching/src
- ccc_store/src
- device_name/src
- general/src
- notify_multiple
- src
- notify/src
- sc_indicate
- src
- settings_clear/src
- settings
- src
- id/settings
- src
- iso
- bis/src
- cis/src
- frag_2/src
- frag/src
- l2cap
- credits_seg_recv/src
- credits/src
- general/src
- many_conns/src
- multilink_peripheral/src
- reassembly
- dut/src
- peer/src
- send_on_connect/src
- split
- common
- dut
- src
- tester
- src
- stress/src
- userdata/src
- misc
- acl_tx_frag/src
- disable/src
- disconnect
- common
- dut
- src
- tester
- src
- hfc
- src
- sample_test/src
- unregister_conn_cb/src
- privacy
- central
- src
- device
- src
- test_scripts
- legacy
- src
- peripheral
- src
- scan/start_stop/src
- security
- bond_overwrite_allowed
- src
- bond_overwrite_denied
- src
- bond_per_connection
- src
- ccc_update/src
- id_addr_update
- central
- src
- common
- peripheral
- src
- security_changed_callback
- src
- samples/battery_service/src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
181 files changed
+996
-2544
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 17 | + | |
33 | 18 | | |
34 | 19 | | |
35 | 20 | | |
| |||
44 | 29 | | |
45 | 30 | | |
46 | 31 | | |
47 | | - | |
48 | | - | |
49 | 32 | | |
50 | 33 | | |
51 | 34 | | |
52 | 35 | | |
53 | 36 | | |
54 | 37 | | |
55 | 38 | | |
56 | | - | |
| 39 | + | |
57 | 40 | | |
58 | 41 | | |
59 | 42 | | |
60 | 43 | | |
61 | 44 | | |
62 | 45 | | |
63 | 46 | | |
64 | | - | |
| 47 | + | |
65 | 48 | | |
66 | 49 | | |
67 | 50 | | |
68 | 51 | | |
69 | 52 | | |
70 | | - | |
| 53 | + | |
71 | 54 | | |
72 | 55 | | |
73 | 56 | | |
| |||
146 | 129 | | |
147 | 130 | | |
148 | 131 | | |
149 | | - | |
| 132 | + | |
150 | 133 | | |
151 | 134 | | |
152 | 135 | | |
| |||
156 | 139 | | |
157 | 140 | | |
158 | 141 | | |
159 | | - | |
| 142 | + | |
160 | 143 | | |
161 | 144 | | |
162 | 145 | | |
| |||
167 | 150 | | |
168 | 151 | | |
169 | 152 | | |
170 | | - | |
| 153 | + | |
171 | 154 | | |
172 | 155 | | |
173 | 156 | | |
174 | 157 | | |
175 | 158 | | |
176 | | - | |
| 159 | + | |
177 | 160 | | |
178 | 161 | | |
179 | 162 | | |
180 | 163 | | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | 164 | | |
194 | 165 | | |
195 | 166 | | |
196 | 167 | | |
197 | | - | |
198 | | - | |
199 | 168 | | |
200 | 169 | | |
201 | 170 | | |
202 | 171 | | |
203 | 172 | | |
204 | | - | |
205 | | - | |
206 | 173 | | |
207 | 174 | | |
208 | 175 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments