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.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_UART_NATIVE_PTY_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_testing:
90    extra_args: CONF_FILE="audio.conf"
91    build_only: true
92    extra_configs:
93      - CONFIG_BT_TESTING=n
94    tags: bluetooth
95  bluetooth.shell.audio.no_logs:
96    extra_args: CONF_FILE="audio.conf"
97    build_only: true
98    extra_configs:
99      - CONFIG_LOG=n
100    tags: bluetooth
101  bluetooth.shell.audio.no_vcs:
102    extra_args: CONF_FILE="audio.conf"
103    build_only: true
104    extra_configs:
105      - CONFIG_BT_VCP_VOL_REND=n
106    tags: bluetooth
107  bluetooth.shell.audio.no_vocs:
108    extra_args: CONF_FILE="audio.conf"
109    build_only: true
110    extra_configs:
111      - CONFIG_BT_VOCS_MAX_INSTANCE_COUNT=0
112      - CONFIG_BT_VCP_VOL_REND_VOCS_INSTANCE_COUNT=0
113    tags: bluetooth
114  bluetooth.shell.audio.no_aics:
115    extra_args: CONF_FILE="audio.conf"
116    build_only: true
117    extra_configs:
118      - CONFIG_BT_AICS_MAX_INSTANCE_COUNT=0
119      - CONFIG_BT_VCP_VOL_REND_AICS_INSTANCE_COUNT=0
120      - CONFIG_BT_MICP_MIC_DEV_AICS_INSTANCE_COUNT=0
121    tags: bluetooth
122  bluetooth.shell.audio.no_aics_vocs:
123    extra_args: CONF_FILE="audio.conf"
124    build_only: true
125    extra_configs:
126      - CONFIG_BT_VOCS_MAX_INSTANCE_COUNT=0
127      - CONFIG_BT_VCP_VOL_REND_VOCS_INSTANCE_COUNT=0
128      - CONFIG_BT_AICS_MAX_INSTANCE_COUNT=0
129      - CONFIG_BT_VCP_VOL_REND_AICS_INSTANCE_COUNT=0
130      - CONFIG_BT_MICP_MIC_DEV_AICS_INSTANCE_COUNT=0
131    tags: bluetooth
132  bluetooth.shell.audio.no_vcp_vol_ctlr:
133    extra_args: CONF_FILE="audio.conf"
134    build_only: true
135    extra_configs:
136      - CONFIG_BT_VCP_VOL_CTLR=n
137    tags: bluetooth
138  bluetooth.shell.audio.no_vcs_vcp_vol_ctlr:
139    extra_args: CONF_FILE="audio.conf"
140    build_only: true
141    extra_configs:
142      - CONFIG_BT_VCP_VOL_REND=n
143      - CONFIG_BT_VCP_VOL_CTLR=n
144    tags: bluetooth
145  bluetooth.shell.audio.vcp_vol_ctlr_no_aics_client:
146    extra_args: CONF_FILE="audio.conf"
147    build_only: true
148    extra_configs:
149      - CONFIG_BT_VCP_VOL_CTLR_MAX_AICS_INST=0
150    tags: bluetooth
151  bluetooth.shell.audio.vcp_vol_ctlr_no_vocs_client:
152    extra_args: CONF_FILE="audio.conf"
153    build_only: true
154    extra_configs:
155      - CONFIG_BT_VCP_VOL_CTLR_MAX_VOCS_INST=0
156    tags: bluetooth
157  bluetooth.shell.audio.no_micp_mic_dev:
158    extra_args: CONF_FILE="audio.conf"
159    build_only: true
160    extra_configs:
161      - CONFIG_BT_MICP_MIC_DEV=n
162    tags: bluetooth
163  bluetooth.shell.audio.no_micp_mic_ctlr:
164    extra_args: CONF_FILE="audio.conf"
165    build_only: true
166    extra_configs:
167      - CONFIG_BT_MICP_MIC_CTLR=n
168    tags: bluetooth
169  bluetooth.shell.audio.no_micp_mic_dev_micp_mic_ctlr:
170    extra_args: CONF_FILE="audio.conf"
171    build_only: true
172    extra_configs:
173      - CONFIG_BT_MICP_MIC_DEV=n
174      - CONFIG_BT_MICP_MIC_CTLR=n
175    tags: bluetooth
176  bluetooth.shell.audio.micp_mic_ctlr_no_aics_client:
177    extra_args: CONF_FILE="audio.conf"
178    build_only: true
179    extra_configs:
180      - CONFIG_BT_MICP_MIC_CTLR_MAX_AICS_INST=0
181    tags: bluetooth
182  bluetooth.shell.audio.no_mcs:
183    extra_args: CONF_FILE="audio.conf"
184    build_only: true
185    extra_configs:
186      - CONFIG_BT_MCS=n
187    tags: bluetooth
188  bluetooth.shell.audio.no_mcc:
189    extra_args: CONF_FILE="audio.conf"
190    build_only: true
191    extra_configs:
192      - CONFIG_BT_MCC=n
193    tags: bluetooth
194  bluetooth.shell.audio.no_ots:
195    extra_args: CONF_FILE="audio.conf"
196    build_only: true
197    extra_configs:
198      - CONFIG_BT_OTS=n
199    tags: bluetooth
200  bluetooth.shell.audio.no_mcc_ots:
201    extra_args: CONF_FILE="audio.conf"
202    build_only: true
203    extra_configs:
204      - CONFIG_BT_MCC_OTS=n
205    tags: bluetooth
206  bluetooth.shell.audio.mcc_minimal:
207    extra_args: CONF_FILE="audio.conf"
208    build_only: true
209    extra_configs:
210      - CONFIG_BT_MCC_MINIMAL=y
211    tags: bluetooth
212  bluetooth.shell.audio.no_otsc:
213    extra_args: CONF_FILE="audio.conf"
214    build_only: true
215    extra_configs:
216      - CONFIG_BT_OTS=n
217      - CONFIG_BT_MCC_OTS=n
218    tags: bluetooth
219  bluetooth.audio_shell.no_pac_snk:
220    extra_args: CONF_FILE="audio.conf"
221    build_only: true
222    extra_configs:
223      - CONFIG_BT_PAC_SNK=n
224  bluetooth.audio_shell.no_pac_src:
225    extra_args: CONF_FILE="audio.conf"
226    build_only: true
227    extra_configs:
228      - CONFIG_BT_PAC_SRC=n
229  bluetooth.audio_shell.only_unicast_client:
230    extra_args: CONF_FILE="audio.conf"
231    build_only: true
232    extra_configs:
233      - CONFIG_BT_BAP_UNICAST_SERVER=n
234      - CONFIG_BT_BAP_BROADCAST_SINK=n
235      - CONFIG_BT_BAP_BROADCAST_SOURCE=n
236  bluetooth.audio_shell.only_unicast_server:
237    extra_args: CONF_FILE="audio.conf"
238    build_only: true
239    extra_configs:
240      - CONFIG_BT_BAP_UNICAST_CLIENT=n
241      - CONFIG_BT_BAP_BROADCAST_SINK=n
242      - CONFIG_BT_BAP_BROADCAST_SOURCE=n
243  bluetooth.audio_shell.only_broadcast_source:
244    extra_args: CONF_FILE="audio.conf"
245    build_only: true
246    extra_configs:
247      - CONFIG_BT_BAP_UNICAST_SERVER=n
248      - CONFIG_BT_BAP_UNICAST_CLIENT=n
249      - CONFIG_BT_BAP_BROADCAST_SINK=n
250  bluetooth.audio_shell.only_broadcast_sink:
251    extra_args: CONF_FILE="audio.conf"
252    build_only: true
253    extra_configs:
254      - CONFIG_BT_BAP_UNICAST_SERVER=n
255      - CONFIG_BT_ASCS=n
256      - CONFIG_BT_BAP_UNICAST_CLIENT=n
257      - CONFIG_BT_BAP_BROADCAST_SOURCE=n
258  bluetooth.audio_shell.no_unicast_client:
259    extra_args: CONF_FILE="audio.conf"
260    build_only: true
261    extra_configs:
262      - CONFIG_BT_BAP_UNICAST_CLIENT=n
263  bluetooth.audio_shell.no_unicast_server:
264    extra_args: CONF_FILE="audio.conf"
265    build_only: true
266    extra_configs:
267      - CONFIG_BT_BAP_UNICAST_SERVER=n
268      - CONFIG_BT_HAS=n
269  bluetooth.audio_shell.no_server_ase_snk:
270    extra_args: CONF_FILE="audio.conf"
271    build_only: true
272    extra_configs:
273      - CONFIG_BT_ASCS_MAX_ASE_SNK_COUNT=0
274  bluetooth.audio_shell.no_server_ase_src:
275    extra_args: CONF_FILE="audio.conf"
276    build_only: true
277    extra_configs:
278      - CONFIG_BT_ASCS_MAX_ASE_SRC_COUNT=0
279  bluetooth.audio_shell.no_client_ase_snk:
280    extra_args: CONF_FILE="audio.conf"
281    build_only: true
282    extra_configs:
283      - CONFIG_BT_BAP_UNICAST_CLIENT_ASE_SNK_COUNT=0
284  bluetooth.audio_shell.no_client_ase_src:
285    extra_args: CONF_FILE="audio.conf"
286    build_only: true
287    extra_configs:
288      - CONFIG_BT_BAP_UNICAST_CLIENT_ASE_SRC_COUNT=0
289  bluetooth.audio_shell.no_broadcast_source:
290    extra_args: CONF_FILE="audio.conf"
291    build_only: true
292    extra_configs:
293      - CONFIG_BT_BAP_BROADCAST_SOURCE=n
294  bluetooth.audio_shell.no_broadcast_sink:
295    extra_args: CONF_FILE="audio.conf"
296    build_only: true
297    extra_configs:
298      - CONFIG_BT_BAP_BROADCAST_SINK=n
299  bluetooth.audio_shell.no_audio_tx:
300    extra_args: CONF_FILE="audio.conf"
301    build_only: true
302    extra_configs:
303      - CONFIG_BT_BAP_BROADCAST_SOURCE=n
304      - CONFIG_BT_BAP_UNICAST_CLIENT_ASE_SNK_COUNT=0
305      - CONFIG_BT_ASCS_MAX_ASE_SRC_COUNT=0
306  bluetooth.audio_shell.no_audio_rx:
307    extra_args: CONF_FILE="audio.conf"
308    build_only: true
309    extra_configs:
310      - CONFIG_BT_BAP_BROADCAST_SINK=n
311      - CONFIG_BT_BAP_UNICAST_CLIENT_ASE_SRC_COUNT=0
312      - CONFIG_BT_ASCS_MAX_ASE_SNK_COUNT=0
313  bluetooth.audio_shell.no_has:
314    extra_args: CONF_FILE="audio.conf"
315    build_only: true
316    extra_configs:
317      - CONFIG_BT_HAS=n
318  bluetooth.audio_shell.no_has_client:
319    extra_args: CONF_FILE="audio.conf"
320    build_only: true
321    extra_configs:
322      - CONFIG_BT_HAS_CLIENT=n
323  bluetooth.shell.audio.no_tbs:
324    extra_args: CONF_FILE="audio.conf"
325    build_only: true
326    extra_configs:
327      - CONFIG_BT_CCP_CALL_CONTROL_SERVER=n
328      - CONFIG_BT_TBS=n
329    tags: bluetooth
330  bluetooth.shell.audio.only_gtbs:
331    extra_args: CONF_FILE="audio.conf"
332    build_only: true
333    extra_configs:
334      - CONFIG_BT_TBS_BEARER_COUNT=0
335    tags: bluetooth
336  bluetooth.shell.audio.no_tbs_client:
337    extra_args: CONF_FILE="audio.conf"
338    build_only: true
339    extra_configs:
340      - CONFIG_BT_TBS_CLIENT_TBS=n
341      - CONFIG_BT_TBS_CLIENT_GTBS=n
342      - CONFIG_BT_CCP_CALL_CONTROL_CLIENT=n
343    tags: bluetooth
344  bluetooth.shell.audio.tbs_only_client:
345    extra_args: CONF_FILE="audio.conf"
346    build_only: true
347    extra_configs:
348      - CONFIG_BT_TBS_CLIENT_GTBS=n
349    tags: bluetooth
350  bluetooth.shell.audio.gtbs_only_client:
351    extra_args: CONF_FILE="audio.conf"
352    build_only: true
353    extra_configs:
354      - CONFIG_BT_TBS_CLIENT_TBS=n
355      - CONFIG_BT_CCP_CALL_CONTROL_CLIENT_BEARER_COUNT=1
356    tags: bluetooth
357  bluetooth.audio_shell.no_cap_acceptor:
358    extra_args: CONF_FILE="audio.conf"
359    build_only: true
360    extra_configs:
361      - CONFIG_BT_CAP_ACCEPTOR=n
362  bluetooth.audio_shell.no_cap_acceptor_set_member:
363    extra_args: CONF_FILE="audio.conf"
364    build_only: true
365    extra_configs:
366      - CONFIG_BT_CAP_ACCEPTOR_SET_MEMBER=n
367  bluetooth.audio_shell.only_cap_acceptor:
368    extra_args: CONF_FILE="audio.conf"
369    build_only: true
370    extra_configs:
371      - CONFIG_BT_BAP_UNICAST_CLIENT=n
372      - CONFIG_BT_CAP_INITIATOR=n
373      - CONFIG_BT_CAP_COMMANDER=n
374  bluetooth.audio_shell.no_cap_initiator:
375    extra_args: CONF_FILE="audio.conf"
376    build_only: true
377    extra_configs:
378      - CONFIG_BT_CAP_INITIATOR=n
379  bluetooth.audio_shell.only_cap_initiator:
380    extra_args: CONF_FILE="audio.conf"
381    build_only: true
382    extra_configs:
383      - CONFIG_BT_BAP_UNICAST_SERVER=n
384      - CONFIG_BT_CAP_ACCEPTOR=n
385      - CONFIG_BT_CAP_COMMANDER=n
386  bluetooth.audio_shell.no_gmap:
387    extra_args: CONF_FILE="audio.conf"
388    build_only: true
389    extra_configs:
390      - CONFIG_BT_GMAP=n
391  bluetooth.audio_shell.no_cap_commander:
392    extra_args: CONF_FILE="audio.conf"
393    build_only: true
394    extra_configs:
395      - CONFIG_BT_CAP_COMMANDER=n
396  bluetooth.audio_shell.only_cap_commander:
397    extra_args: CONF_FILE="audio.conf"
398    build_only: true
399    extra_configs:
400      - CONFIG_BT_BAP_UNICAST_CLIENT=n
401      - CONFIG_BT_CAP_ACCEPTOR=n
402      - CONFIG_BT_CAP_INITIATOR=n
403  bluetooth.audio_shell.no_lc3:
404    extra_args: CONF_FILE="audio.conf"
405    build_only: true
406    platform_allow:
407      - nrf5340dk/nrf5340/cpuapp
408      - nrf5340_audio_dk/nrf5340/cpuapp
409    integration_platforms:
410      - nrf5340dk/nrf5340/cpuapp
411      - nrf5340_audio_dk/nrf5340/cpuapp
412    extra_configs:
413      - CONFIG_FPU=n
414      - CONFIG_LIBLC3=n
415  bluetooth.audio_shell.no_usb:
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_RING_BUFFER=n
426      - CONFIG_USB_DEVICE_STACK=n
427      - CONFIG_USB_DEVICE_AUDIO=n
428  bluetooth.native_shell:
429    build_only: true
430    extra_args:
431      - EXTRA_CONF_FILE=snippets/xterm-native-shell/xterm-native-shell.conf
432      - EXTRA_DTC_OVERLAY_FILE=snippets/xterm-native-shell/xterm-native-shell.overlay
433    platform_allow:
434      - nrf52_bsim
435    integration_platforms:
436      - nrf52_bsim
437  bluetooth.shell.audio.no_ccp_call_control_server:
438    extra_args: CONF_FILE="audio.conf"
439    build_only: true
440    extra_configs:
441      - CONFIG_BT_CCP_CALL_CONTROL_SERVER=n
442    tags: bluetooth
443