1common:
2  # Default platform_allow & integration_platforms for the tests below, which a few override
3  platform_allow:
4    - native_sim
5  integration_platforms:
6    - native_sim
7tests:
8  bluetooth.shell.main:
9    extra_configs:
10      - CONFIG_NATIVE_UART_0_ON_STDINOUT=y
11    platform_allow:
12      - qemu_x86
13      - native_sim
14      - native_sim/native/64
15      - nrf52840dk/nrf52840
16    integration_platforms:
17      - qemu_x86
18    platform_exclude: nrf52dk/nrf52810
19    tags: bluetooth
20    harness: keyboard
21    min_flash: 145
22  bluetooth.shell.power_control_request:
23    extra_configs:
24      - CONFIG_BT_TRANSMIT_POWER_CONTROL=y
25      - CONFIG_BT_LL_SW_SPLIT=n
26    build_only: true
27  bluetooth.shell.path_loss_monitoring:
28    extra_configs:
29      - CONFIG_BT_PATH_LOSS_MONITORING=y
30      - CONFIG_BT_LL_SW_SPLIT=n
31    build_only: true
32  bluetooth.shell.subrating:
33    extra_configs:
34      - CONFIG_BT_SUBRATING=y
35      - CONFIG_BT_LL_SW_SPLIT=n
36    build_only: true
37  bluetooth.shell.channel_sounding:
38    extra_configs:
39      - CONFIG_BT_CHANNEL_SOUNDING=y
40      - CONFIG_BT_CHANNEL_SOUNDING_TEST=y
41      - CONFIG_BT_LL_SW_SPLIT=n
42    build_only: true
43  bluetooth.shell.cdc_acm:
44    extra_args:
45      - EXTRA_CONF_FILE=cdc_acm.conf
46      - DTC_OVERLAY_FILE="usb.overlay"
47    depends_on: usb_device
48    platform_allow:
49      - native_sim
50      - native_sim/native/64
51      - nrf52840dk/nrf52840
52    platform_exclude: nrf52dk/nrf52810
53    tags: bluetooth
54    harness: keyboard
55    min_flash: 350
56  bluetooth.shell.shell_br:
57    extra_configs:
58      - CONFIG_NATIVE_UART_0_ON_STDINOUT=y
59    extra_args: CONF_FILE="prj_br.conf"
60    platform_allow:
61      - qemu_cortex_m3
62      - qemu_x86
63      - native_sim
64      - native_sim/native/64
65    platform_exclude: nrf52dk/nrf52810
66    tags: bluetooth
67    harness: keyboard
68  bluetooth.shell.no_privacy:
69    build_only: true
70    extra_args: CONFIG_BT_PRIVACY=n
71    tags: bluetooth
72  bluetooth.shell.log_defaults:
73    build_only: true
74    extra_args: CONF_FILE="log.conf"
75    tags: bluetooth
76  bluetooth.shell.bt_ctrl_dtm:
77    build_only: true
78    extra_args:
79      - CONFIG_BT_CTLR_DTM_HCI=y
80    tags: bluetooth
81    platform_allow:
82      - nrf52840dk/nrf52840
83
84  # Bluetooth Audio Compile validation tests
85  bluetooth.shell.audio:
86    extra_args: CONF_FILE="audio.conf"
87    build_only: true
88    tags: bluetooth
89  bluetooth.shell.audio.no_vcs:
90    extra_args: CONF_FILE="audio.conf"
91    build_only: true
92    extra_configs:
93      - CONFIG_BT_VCP_VOL_REND=n
94    tags: bluetooth
95  bluetooth.shell.audio.no_vocs:
96    extra_args: CONF_FILE="audio.conf"
97    build_only: true
98    extra_configs:
99      - CONFIG_BT_VOCS_MAX_INSTANCE_COUNT=0
100      - CONFIG_BT_VCP_VOL_REND_VOCS_INSTANCE_COUNT=0
101    tags: bluetooth
102  bluetooth.shell.audio.no_aics:
103    extra_args: CONF_FILE="audio.conf"
104    build_only: true
105    extra_configs:
106      - CONFIG_BT_AICS_MAX_INSTANCE_COUNT=0
107      - CONFIG_BT_VCP_VOL_REND_AICS_INSTANCE_COUNT=0
108      - CONFIG_BT_MICP_MIC_DEV_AICS_INSTANCE_COUNT=0
109    tags: bluetooth
110  bluetooth.shell.audio.no_aics_vocs:
111    extra_args: CONF_FILE="audio.conf"
112    build_only: true
113    extra_configs:
114      - CONFIG_BT_VOCS_MAX_INSTANCE_COUNT=0
115      - CONFIG_BT_VCP_VOL_REND_VOCS_INSTANCE_COUNT=0
116      - CONFIG_BT_AICS_MAX_INSTANCE_COUNT=0
117      - CONFIG_BT_VCP_VOL_REND_AICS_INSTANCE_COUNT=0
118      - CONFIG_BT_MICP_MIC_DEV_AICS_INSTANCE_COUNT=0
119    tags: bluetooth
120  bluetooth.shell.audio.no_vcp_vol_ctlr:
121    extra_args: CONF_FILE="audio.conf"
122    build_only: true
123    extra_configs:
124      - CONFIG_BT_VCP_VOL_CTLR=n
125    tags: bluetooth
126  bluetooth.shell.audio.no_vcs_vcp_vol_ctlr:
127    extra_args: CONF_FILE="audio.conf"
128    build_only: true
129    extra_configs:
130      - CONFIG_BT_VCP_VOL_REND=n
131      - CONFIG_BT_VCP_VOL_CTLR=n
132    tags: bluetooth
133  bluetooth.shell.audio.vcp_vol_ctlr_no_aics_client:
134    extra_args: CONF_FILE="audio.conf"
135    build_only: true
136    extra_configs:
137      - CONFIG_BT_VCP_VOL_CTLR_MAX_AICS_INST=0
138    tags: bluetooth
139  bluetooth.shell.audio.vcp_vol_ctlr_no_vocs_client:
140    extra_args: CONF_FILE="audio.conf"
141    build_only: true
142    extra_configs:
143      - CONFIG_BT_VCP_VOL_CTLR_MAX_VOCS_INST=0
144    tags: bluetooth
145  bluetooth.shell.audio.no_micp_mic_dev:
146    extra_args: CONF_FILE="audio.conf"
147    build_only: true
148    extra_configs:
149      - CONFIG_BT_MICP_MIC_DEV=n
150    tags: bluetooth
151  bluetooth.shell.audio.no_micp_mic_ctlr:
152    extra_args: CONF_FILE="audio.conf"
153    build_only: true
154    extra_configs:
155      - CONFIG_BT_MICP_MIC_CTLR=n
156    tags: bluetooth
157  bluetooth.shell.audio.no_micp_mic_dev_micp_mic_ctlr:
158    extra_args: CONF_FILE="audio.conf"
159    build_only: true
160    extra_configs:
161      - CONFIG_BT_MICP_MIC_DEV=n
162      - CONFIG_BT_MICP_MIC_CTLR=n
163    tags: bluetooth
164  bluetooth.shell.audio.micp_mic_ctlr_no_aics_client:
165    extra_args: CONF_FILE="audio.conf"
166    build_only: true
167    extra_configs:
168      - CONFIG_BT_MICP_MIC_CTLR_MAX_AICS_INST=0
169    tags: bluetooth
170  bluetooth.shell.audio.no_mcs:
171    extra_args: CONF_FILE="audio.conf"
172    build_only: true
173    extra_configs:
174      - CONFIG_BT_MCS=n
175    tags: bluetooth
176  bluetooth.shell.audio.no_mcc:
177    extra_args: CONF_FILE="audio.conf"
178    build_only: true
179    extra_configs:
180      - CONFIG_BT_MCC=n
181    tags: bluetooth
182  bluetooth.shell.audio.no_ots:
183    extra_args: CONF_FILE="audio.conf"
184    build_only: true
185    extra_configs:
186      - CONFIG_BT_OTS=n
187    tags: bluetooth
188  bluetooth.shell.audio.no_mcc_ots:
189    extra_args: CONF_FILE="audio.conf"
190    build_only: true
191    extra_configs:
192      - CONFIG_BT_MCC_OTS=n
193    tags: bluetooth
194  bluetooth.shell.audio.mcc_minimal:
195    extra_args: CONF_FILE="audio.conf"
196    build_only: true
197    extra_configs:
198      - CONFIG_BT_MCC_MINIMAL=y
199    tags: bluetooth
200  bluetooth.shell.audio.no_otsc:
201    extra_args: CONF_FILE="audio.conf"
202    build_only: true
203    extra_configs:
204      - CONFIG_BT_OTS=n
205      - CONFIG_BT_MCC_OTS=n
206    tags: bluetooth
207  bluetooth.audio_shell.no_pac_snk:
208    extra_args: CONF_FILE="audio.conf"
209    build_only: true
210    extra_configs:
211      - CONFIG_BT_PAC_SNK=n
212  bluetooth.audio_shell.no_pac_src:
213    extra_args: CONF_FILE="audio.conf"
214    build_only: true
215    extra_configs:
216      - CONFIG_BT_PAC_SRC=n
217  bluetooth.audio_shell.only_unicast_client:
218    extra_args: CONF_FILE="audio.conf"
219    build_only: true
220    extra_configs:
221      - CONFIG_BT_BAP_UNICAST_SERVER=n
222      - CONFIG_BT_BAP_BROADCAST_SINK=n
223      - CONFIG_BT_BAP_BROADCAST_SOURCE=n
224  bluetooth.audio_shell.only_unicast_server:
225    extra_args: CONF_FILE="audio.conf"
226    build_only: true
227    extra_configs:
228      - CONFIG_BT_BAP_UNICAST_CLIENT=n
229      - CONFIG_BT_BAP_BROADCAST_SINK=n
230      - CONFIG_BT_BAP_BROADCAST_SOURCE=n
231  bluetooth.audio_shell.only_broadcast_source:
232    extra_args: CONF_FILE="audio.conf"
233    build_only: true
234    extra_configs:
235      - CONFIG_BT_BAP_UNICAST_SERVER=n
236      - CONFIG_BT_BAP_UNICAST_CLIENT=n
237      - CONFIG_BT_BAP_BROADCAST_SINK=n
238  bluetooth.audio_shell.only_broadcast_sink:
239    extra_args: CONF_FILE="audio.conf"
240    build_only: true
241    extra_configs:
242      - CONFIG_BT_BAP_UNICAST_SERVER=n
243      - CONFIG_BT_ASCS=n
244      - CONFIG_BT_BAP_UNICAST_CLIENT=n
245      - CONFIG_BT_BAP_BROADCAST_SOURCE=n
246  bluetooth.audio_shell.no_unicast_client:
247    extra_args: CONF_FILE="audio.conf"
248    build_only: true
249    extra_configs:
250      - CONFIG_BT_BAP_UNICAST_CLIENT=n
251  bluetooth.audio_shell.no_unicast_server:
252    extra_args: CONF_FILE="audio.conf"
253    build_only: true
254    extra_configs:
255      - CONFIG_BT_BAP_UNICAST_SERVER=n
256      - CONFIG_BT_HAS=n
257  bluetooth.audio_shell.no_server_ase_snk:
258    extra_args: CONF_FILE="audio.conf"
259    build_only: true
260    extra_configs:
261      - CONFIG_BT_ASCS_MAX_ASE_SNK_COUNT=0
262  bluetooth.audio_shell.no_server_ase_src:
263    extra_args: CONF_FILE="audio.conf"
264    build_only: true
265    extra_configs:
266      - CONFIG_BT_ASCS_MAX_ASE_SRC_COUNT=0
267  bluetooth.audio_shell.no_client_ase_snk:
268    extra_args: CONF_FILE="audio.conf"
269    build_only: true
270    extra_configs:
271      - CONFIG_BT_BAP_UNICAST_CLIENT_ASE_SNK_COUNT=0
272  bluetooth.audio_shell.no_client_ase_src:
273    extra_args: CONF_FILE="audio.conf"
274    build_only: true
275    extra_configs:
276      - CONFIG_BT_BAP_UNICAST_CLIENT_ASE_SRC_COUNT=0
277  bluetooth.audio_shell.no_broadcast_source:
278    extra_args: CONF_FILE="audio.conf"
279    build_only: true
280    extra_configs:
281      - CONFIG_BT_BAP_BROADCAST_SOURCE=n
282  bluetooth.audio_shell.no_broadcast_sink:
283    extra_args: CONF_FILE="audio.conf"
284    build_only: true
285    extra_configs:
286      - CONFIG_BT_BAP_BROADCAST_SINK=n
287  bluetooth.audio_shell.no_audio_tx:
288    extra_args: CONF_FILE="audio.conf"
289    build_only: true
290    extra_configs:
291      - CONFIG_BT_BAP_BROADCAST_SOURCE=n
292      - CONFIG_BT_BAP_UNICAST_CLIENT_ASE_SNK_COUNT=0
293      - CONFIG_BT_ASCS_MAX_ASE_SRC_COUNT=0
294  bluetooth.audio_shell.no_audio_rx:
295    extra_args: CONF_FILE="audio.conf"
296    build_only: true
297    extra_configs:
298      - CONFIG_BT_BAP_BROADCAST_SINK=n
299      - CONFIG_BT_BAP_UNICAST_CLIENT_ASE_SRC_COUNT=0
300      - CONFIG_BT_ASCS_MAX_ASE_SNK_COUNT=0
301  bluetooth.audio_shell.no_has:
302    extra_args: CONF_FILE="audio.conf"
303    build_only: true
304    extra_configs:
305      - CONFIG_BT_HAS=n
306  bluetooth.audio_shell.no_has_client:
307    extra_args: CONF_FILE="audio.conf"
308    build_only: true
309    extra_configs:
310      - CONFIG_BT_HAS_CLIENT=n
311  bluetooth.shell.audio.no_tbs:
312    extra_args: CONF_FILE="audio.conf"
313    build_only: true
314    extra_configs:
315      - CONFIG_BT_TBS=n
316    tags: bluetooth
317  bluetooth.shell.audio.only_gtbs:
318    extra_args: CONF_FILE="audio.conf"
319    build_only: true
320    extra_configs:
321      - CONFIG_BT_TBS_BEARER_COUNT=0
322    tags: bluetooth
323  bluetooth.shell.audio.no_tbs_client:
324    extra_args: CONF_FILE="audio.conf"
325    build_only: true
326    extra_configs:
327      - CONFIG_BT_TBS_CLIENT_TBS=n
328      - CONFIG_BT_TBS_CLIENT_GTBS=n
329    tags: bluetooth
330  bluetooth.shell.audio.tbs_only_client:
331    extra_args: CONF_FILE="audio.conf"
332    build_only: true
333    extra_configs:
334      - CONFIG_BT_TBS_CLIENT_GTBS=n
335    tags: bluetooth
336  bluetooth.shell.audio.gtbs_only_client:
337    extra_args: CONF_FILE="audio.conf"
338    build_only: true
339    extra_configs:
340      - CONFIG_BT_TBS_CLIENT_TBS=n
341    tags: bluetooth
342  bluetooth.audio_shell.no_cap_acceptor:
343    extra_args: CONF_FILE="audio.conf"
344    build_only: true
345    extra_configs:
346      - CONFIG_BT_CAP_ACCEPTOR=n
347  bluetooth.audio_shell.no_cap_acceptor_set_member:
348    extra_args: CONF_FILE="audio.conf"
349    build_only: true
350    extra_configs:
351      - CONFIG_BT_CAP_ACCEPTOR_SET_MEMBER=n
352  bluetooth.audio_shell.only_cap_acceptor:
353    extra_args: CONF_FILE="audio.conf"
354    build_only: true
355    extra_configs:
356      - CONFIG_BT_BAP_UNICAST_CLIENT=n
357      - CONFIG_BT_CAP_INITIATOR=n
358      - CONFIG_BT_CAP_COMMANDER=n
359  bluetooth.audio_shell.no_cap_initiator:
360    extra_args: CONF_FILE="audio.conf"
361    build_only: true
362    extra_configs:
363      - CONFIG_BT_CAP_INITIATOR=n
364  bluetooth.audio_shell.only_cap_initiator:
365    extra_args: CONF_FILE="audio.conf"
366    build_only: true
367    extra_configs:
368      - CONFIG_BT_BAP_UNICAST_SERVER=n
369      - CONFIG_BT_CAP_ACCEPTOR=n
370      - CONFIG_BT_CAP_COMMANDER=n
371  bluetooth.audio_shell.no_gmap:
372    extra_args: CONF_FILE="audio.conf"
373    build_only: true
374    extra_configs:
375      - CONFIG_BT_GMAP=n
376  bluetooth.audio_shell.no_cap_commander:
377    extra_args: CONF_FILE="audio.conf"
378    build_only: true
379    extra_configs:
380      - CONFIG_BT_CAP_COMMANDER=n
381  bluetooth.audio_shell.only_cap_commander:
382    extra_args: CONF_FILE="audio.conf"
383    build_only: true
384    extra_configs:
385      - CONFIG_BT_BAP_UNICAST_CLIENT=n
386      - CONFIG_BT_CAP_ACCEPTOR=n
387      - CONFIG_BT_CAP_INITIATOR=n
388  bluetooth.audio_shell.no_lc3:
389    extra_args: CONF_FILE="audio.conf"
390    build_only: true
391    platform_allow:
392      - nrf5340dk/nrf5340/cpuapp
393      - nrf5340_audio_dk/nrf5340/cpuapp
394    integration_platforms:
395      - nrf5340dk/nrf5340/cpuapp
396      - nrf5340_audio_dk/nrf5340/cpuapp
397    extra_configs:
398      - CONFIG_FPU=n
399      - CONFIG_LIBLC3=n
400  bluetooth.audio_shell.no_usb:
401    extra_args: CONF_FILE="audio.conf"
402    build_only: true
403    platform_allow:
404      - nrf5340dk/nrf5340/cpuapp
405      - nrf5340_audio_dk/nrf5340/cpuapp
406    integration_platforms:
407      - nrf5340dk/nrf5340/cpuapp
408      - nrf5340_audio_dk/nrf5340/cpuapp
409    extra_configs:
410      - CONFIG_RING_BUFFER=n
411      - CONFIG_USB_DEVICE_STACK=n
412      - CONFIG_USB_DEVICE_AUDIO=n
413  bluetooth.native_shell:
414    build_only: true
415    extra_args:
416      - EXTRA_CONF_FILE=snippets/xterm-native-shell/xterm-native-shell.conf
417      - EXTRA_DTC_OVERLAY_FILE=snippets/xterm-native-shell/xterm-native-shell.overlay
418    platform_allow:
419      - nrf52_bsim
420    integration_platforms:
421      - nrf52_bsim
422