blob: 02100cf2428586319edfe72ff090ed57d8d826d8 [file]
common:
# Default platform_allow & integration_platforms for the tests below, which a few override
platform_allow:
- native_sim
tags:
- bluetooth
tests:
bluetooth.shell.main:
extra_configs:
- CONFIG_UART_NATIVE_PTY_0_ON_STDINOUT=y
platform_allow:
- qemu_x86
- native_sim
- native_sim/native/64
- nrf52840dk/nrf52840
integration_platforms:
- native_sim
- qemu_x86
platform_exclude: nrf52dk/nrf52810
harness: keyboard
min_flash: 145
bluetooth.shell.power_control_request:
integration_platforms:
- native_sim
extra_configs:
- CONFIG_BT_TRANSMIT_POWER_CONTROL=y
- CONFIG_BT_LL_SW_SPLIT=n
build_only: true
bluetooth.shell.path_loss_monitoring:
integration_platforms:
- native_sim
extra_configs:
- CONFIG_BT_PATH_LOSS_MONITORING=y
- CONFIG_BT_LL_SW_SPLIT=n
build_only: true
bluetooth.shell.subrating:
integration_platforms:
- native_sim
extra_configs:
- CONFIG_BT_SUBRATING=y
- CONFIG_BT_LL_SW_SPLIT=n
build_only: true
bluetooth.shell.extended_feature_set:
integration_platforms:
- native_sim
extra_configs:
- CONFIG_BT_LE_MAX_LOCAL_SUPPORTED_FEATURE_PAGE=10
- CONFIG_BT_LE_EXTENDED_FEAT_SET=y
- CONFIG_BT_LL_SW_SPLIT=n
build_only: true
bluetooth.shell.frame_space_update:
integration_platforms:
- native_sim
extra_configs:
- CONFIG_BT_FRAME_SPACE_UPDATE=y
- CONFIG_BT_LE_EXTENDED_FEAT_SET=y
- CONFIG_BT_LL_SW_SPLIT=n
build_only: true
bluetooth.shell.shorter_connection_intervals:
integration_platforms:
- native_sim
extra_configs:
- CONFIG_BT_SHORTER_CONNECTION_INTERVALS=y
- CONFIG_BT_LE_EXTENDED_FEAT_SET=y
- CONFIG_BT_SUBRATING=y
- CONFIG_BT_LL_SW_SPLIT=n
build_only: true
bluetooth.shell.channel_sounding:
integration_platforms:
- native_sim
extra_configs:
- CONFIG_BT_CHANNEL_SOUNDING=y
- CONFIG_BT_CHANNEL_SOUNDING_TEST=y
- CONFIG_BT_LL_SW_SPLIT=n
build_only: true
bluetooth.shell.shell_br:
extra_configs:
- CONFIG_UART_NATIVE_PTY_0_ON_STDINOUT=y
extra_args: CONF_FILE="prj_br.conf"
platform_allow:
- qemu_cortex_m3
- qemu_x86
- native_sim
- native_sim/native/64
integration_platforms:
- native_sim
platform_exclude: nrf52dk/nrf52810
harness: keyboard
bluetooth.shell.shell_br.accept_conn_as_central:
extra_configs:
- CONFIG_UART_NATIVE_PTY_0_ON_STDINOUT=y
- CONFIG_BT_ACCEPT_CONN_AS_CENTRAL=y
extra_args: CONF_FILE="prj_br.conf"
platform_allow:
- qemu_cortex_m3
- qemu_x86
- native_sim
- native_sim/native/64
integration_platforms:
- native_sim
platform_exclude: nrf52dk/nrf52810
harness: keyboard
bluetooth.shell.shell_br.did:
extra_configs:
- CONFIG_UART_NATIVE_PTY_0_ON_STDINOUT=y
- CONFIG_BT_DID=y
extra_args: CONF_FILE="prj_br.conf"
platform_allow:
- qemu_cortex_m3
- qemu_x86
- native_sim
- native_sim/native/64
integration_platforms:
- native_sim
platform_exclude: nrf52dk/nrf52810
harness: keyboard
bluetooth.shell.no_privacy:
integration_platforms:
- native_sim
build_only: true
extra_args: CONFIG_BT_PRIVACY=n
bluetooth.shell.log_defaults:
integration_platforms:
- native_sim
build_only: true
extra_args: CONF_FILE="log.conf"
bluetooth.shell.bt_ctlr_dtm:
build_only: true
extra_args:
- CONFIG_BT_CTLR_DTM_HCI=y
platform_allow:
- nrf52840dk/nrf52840
- native_sim
integration_platforms:
- native_sim
# Bluetooth Audio Compile validation tests
bluetooth.audio.shell:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
bluetooth.audio.shell.no_bt_conn_dynamic_callbacks:
integration_platforms:
- native_sim
extra_args:
- CONF_FILE="audio.conf"
- CONFIG_BT_CONN_DYNAMIC_CALLBACKS=n
build_only: true
bluetooth.audio.shell.no_testing:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_TESTING=n
bluetooth.audio.shell.no_logs:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_LOG=n
bluetooth.audio.shell.no_vcs:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_VCP_VOL_REND=n
bluetooth.audio.shell.no_vocs:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_VOCS_MAX_INSTANCE_COUNT=0
- CONFIG_BT_VCP_VOL_REND_VOCS_INSTANCE_COUNT=0
bluetooth.audio.shell.no_aics:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_AICS_MAX_INSTANCE_COUNT=0
- CONFIG_BT_VCP_VOL_REND_AICS_INSTANCE_COUNT=0
- CONFIG_BT_MICP_MIC_DEV_AICS_INSTANCE_COUNT=0
bluetooth.audio.shell.no_aics_vocs:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_VOCS_MAX_INSTANCE_COUNT=0
- CONFIG_BT_VCP_VOL_REND_VOCS_INSTANCE_COUNT=0
- CONFIG_BT_AICS_MAX_INSTANCE_COUNT=0
- CONFIG_BT_VCP_VOL_REND_AICS_INSTANCE_COUNT=0
- CONFIG_BT_MICP_MIC_DEV_AICS_INSTANCE_COUNT=0
bluetooth.audio.shell.no_vcp_vol_ctlr:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_VCP_VOL_CTLR=n
bluetooth.audio.shell.no_vcs_vcp_vol_ctlr:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_VCP_VOL_REND=n
- CONFIG_BT_VCP_VOL_CTLR=n
bluetooth.audio.shell.vcp_vol_ctlr_no_aics_client:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_VCP_VOL_CTLR_MAX_AICS_INST=0
bluetooth.audio.shell.vcp_vol_ctlr_no_vocs_client:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_VCP_VOL_CTLR_MAX_VOCS_INST=0
bluetooth.audio.shell.no_micp_mic_dev:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_MICP_MIC_DEV=n
bluetooth.audio.shell.no_micp_mic_ctlr:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_MICP_MIC_CTLR=n
bluetooth.audio.shell.no_micp_mic_dev_micp_mic_ctlr:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_MICP_MIC_DEV=n
- CONFIG_BT_MICP_MIC_CTLR=n
bluetooth.audio.shell.micp_mic_ctlr_no_aics_client:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_MICP_MIC_CTLR_MAX_AICS_INST=0
bluetooth.audio.shell.no_mcs:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_MCS=n
bluetooth.audio.shell.no_mcc:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_MCC=n
bluetooth.audio.shell.no_ots:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_OTS=n
bluetooth.audio.shell.no_mcc_ots:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_MCC_OTS=n
bluetooth.audio.shell.mcc_minimal:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_MCC_MINIMAL=y
bluetooth.audio.shell.no_otsc:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_OTS=n
- CONFIG_BT_MCC_OTS=n
bluetooth.audio.shell.no_pac_snk:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_PAC_SNK=n
bluetooth.audio.shell.no_pac_src:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_PAC_SRC=n
bluetooth.audio.shell.only_unicast_client:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_BAP_UNICAST_SERVER=n
- CONFIG_BT_BAP_BROADCAST_SINK=n
- CONFIG_BT_BAP_BROADCAST_SOURCE=n
bluetooth.audio.shell.only_unicast_server:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_BAP_UNICAST_CLIENT=n
- CONFIG_BT_BAP_BROADCAST_SINK=n
- CONFIG_BT_BAP_BROADCAST_SOURCE=n
bluetooth.audio.shell.only_broadcast_source:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_BAP_UNICAST_SERVER=n
- CONFIG_BT_BAP_UNICAST_CLIENT=n
- CONFIG_BT_BAP_BROADCAST_SINK=n
bluetooth.audio.shell.only_broadcast_sink:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_BAP_UNICAST_SERVER=n
- CONFIG_BT_ASCS=n
- CONFIG_BT_BAP_UNICAST_CLIENT=n
- CONFIG_BT_BAP_BROADCAST_SOURCE=n
bluetooth.audio.shell.no_unicast_client:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_BAP_UNICAST_CLIENT=n
bluetooth.audio.shell.no_unicast_server:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_BAP_UNICAST_SERVER=n
- CONFIG_BT_HAS=n
bluetooth.audio.shell.no_server_ase_snk:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_ASCS_MAX_ASE_SNK_COUNT=0
bluetooth.audio.shell.no_server_ase_src:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_ASCS_MAX_ASE_SRC_COUNT=0
bluetooth.audio.shell.no_client_ase_snk:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_BAP_UNICAST_CLIENT_ASE_SNK_COUNT=0
bluetooth.audio.shell.no_client_ase_src:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_BAP_UNICAST_CLIENT_ASE_SRC_COUNT=0
bluetooth.audio.shell.no_broadcast_source:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_BAP_BROADCAST_SOURCE=n
bluetooth.audio.shell.no_broadcast_sink:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_BAP_BROADCAST_SINK=n
bluetooth.audio.shell.no_audio_tx:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_BAP_BROADCAST_SOURCE=n
- CONFIG_BT_BAP_UNICAST_CLIENT_ASE_SNK_COUNT=0
- CONFIG_BT_ASCS_MAX_ASE_SRC_COUNT=0
bluetooth.audio.shell.no_audio_rx:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_BAP_BROADCAST_SINK=n
- CONFIG_BT_BAP_UNICAST_CLIENT_ASE_SRC_COUNT=0
- CONFIG_BT_ASCS_MAX_ASE_SNK_COUNT=0
bluetooth.audio.shell.no_has:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_HAS=n
bluetooth.audio.shell.no_has_client:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_HAS_CLIENT=n
bluetooth.audio.shell.no_tbs:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_CCP_CALL_CONTROL_SERVER=n
- CONFIG_BT_TBS=n
bluetooth.audio.shell.only_gtbs:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_TBS_BEARER_COUNT=0
bluetooth.audio.shell.no_tbs_client:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_TBS_CLIENT_TBS=n
- CONFIG_BT_TBS_CLIENT_GTBS=n
- CONFIG_BT_CCP_CALL_CONTROL_CLIENT=n
bluetooth.audio.shell.tbs_only_client:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_TBS_CLIENT_GTBS=n
bluetooth.audio.shell.gtbs_only_client:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_TBS_CLIENT_TBS=n
- CONFIG_BT_CCP_CALL_CONTROL_CLIENT_BEARER_COUNT=1
bluetooth.audio.shell.no_cap_acceptor:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_CAP_ACCEPTOR=n
bluetooth.audio.shell.no_cap_acceptor_set_member:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_CAP_ACCEPTOR_SET_MEMBER=n
bluetooth.audio.shell.only_cap_acceptor:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_BAP_UNICAST_CLIENT=n
- CONFIG_BT_CAP_INITIATOR=n
- CONFIG_BT_CAP_COMMANDER=n
bluetooth.audio.shell.no_cap_initiator:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_CAP_INITIATOR=n
bluetooth.audio.shell.only_cap_initiator:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_BAP_UNICAST_SERVER=n
- CONFIG_BT_CAP_ACCEPTOR=n
- CONFIG_BT_CAP_COMMANDER=n
bluetooth.audio.shell.no_gmap:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_GMAP=n
bluetooth.audio.shell.no_cap_commander:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_CAP_COMMANDER=n
bluetooth.audio.shell.only_cap_commander:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_BAP_UNICAST_CLIENT=n
- CONFIG_BT_CAP_ACCEPTOR=n
- CONFIG_BT_CAP_INITIATOR=n
bluetooth.audio.shell.no_lc3:
extra_args: CONF_FILE="audio.conf"
build_only: true
platform_allow:
- nrf5340dk/nrf5340/cpuapp
- nrf5340_audio_dk/nrf5340/cpuapp
integration_platforms:
- native_sim
- nrf5340dk/nrf5340/cpuapp
- nrf5340_audio_dk/nrf5340/cpuapp
extra_configs:
- CONFIG_FPU=n
- CONFIG_LIBLC3=n
bluetooth.audio.shell.no_usb:
extra_args: CONF_FILE="audio.conf"
build_only: true
platform_allow:
- nrf5340dk/nrf5340/cpuapp
- nrf5340_audio_dk/nrf5340/cpuapp
integration_platforms:
- native_sim
- nrf5340dk/nrf5340/cpuapp
- nrf5340_audio_dk/nrf5340/cpuapp
extra_configs:
- CONFIG_RING_BUFFER=n
- CONFIG_USB_DEVICE_STACK=n
- CONFIG_USBD_AUDIO2_CLASS=n
bluetooth.native_shell:
build_only: true
extra_args:
- EXTRA_CONF_FILE=xterm-native-shell.conf
- EXTRA_DTC_OVERLAY_FILE=xterm-native-shell.overlay
platform_allow:
- nrf52_bsim
integration_platforms:
- native_sim
- nrf52_bsim
bluetooth.audio.shell.no_ccp_call_control_server:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_CCP_CALL_CONTROL_SERVER=n
bluetooth.audio.shell.no_assert:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_ASSERT=n
tags: bluetooth
bluetooth.audio.shell.csip_set_member_rank_no_lock_size_on:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_CSIP_SET_MEMBER_SIZE_SUPPORT=y
- CONFIG_BT_CSIP_SET_MEMBER_SIZE_NOTIFIABLE=n
- CONFIG_BT_CSIP_SET_MEMBER_LOCK_SUPPORT=n
- CONFIG_BT_CSIP_SET_MEMBER_RANK_SUPPORT=y
tags: bluetooth
bluetooth.audio.shell.csip_set_member_lock_no_size:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_CSIP_SET_MEMBER_SIZE_SUPPORT=n
- CONFIG_BT_CSIP_SET_MEMBER_SIZE_NOTIFIABLE=n
- CONFIG_BT_CSIP_SET_MEMBER_LOCK_SUPPORT=y
tags: bluetooth
bluetooth.audio.shell.csip_set_member_rank_only_no_size:
integration_platforms:
- native_sim
extra_args: CONF_FILE="audio.conf"
build_only: true
extra_configs:
- CONFIG_BT_CSIP_SET_MEMBER_SIZE_SUPPORT=n
- CONFIG_BT_CSIP_SET_MEMBER_SIZE_NOTIFIABLE=n
- CONFIG_BT_CSIP_SET_MEMBER_LOCK_SUPPORT=n
- CONFIG_BT_CSIP_SET_MEMBER_RANK_SUPPORT=y
tags: bluetooth
bluetooth.shell.main.pytest_demo:
platform_allow:
- nrf52840dk/nrf52840
platform_exclude:
- native_sim
integration_platforms:
- nrf52840dk/nrf52840
harness: pytest
harness_config:
pytest_root:
- "pytest/test_demo.py"
required_devices:
# second device required, with the same platform and application
- {}