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