zephyr/tests/bluetooth/shell/testcase.yaml
Kumar Gala 57690f566e tests: bluetooth: shell: Limit build only tests to native_posix
Some recent updates to the bluetooth shell test cause build failures
in CI for platforms that don't have a uart that supports interrupts
(ie ip_k66f or xmc45_relax_kit).

As these tests are build-only a single platform is sufficient to get
coverage and utilize platform_allow to limit to just one board target
intead of integration_platforms.  As this will limit to the single
platform for both PR based CI and nightly CI (integration_platforms
only is utilized for PR based CI, so we'd need other filtering for
the nightly CI and there isn't any value in building these tests
on more than the single platform so platform_allow makes the most
sense).

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2021-07-23 11:29:30 -05:00

114 lines
3.3 KiB
YAML

tests:
bluetooth.shell.main:
extra_configs:
- CONFIG_NATIVE_UART_0_ON_STDINOUT=y
platform_allow: qemu_cortex_m3 qemu_x86 native_posix native_posix_64 nrf52840dk_nrf52840
platform_exclude: nrf52dk_nrf52810
tags: bluetooth
harness: keyboard
min_flash: 145
bluetooth.shell.cdc_acm:
extra_args: OVERLAY_CONFIG=cdc_acm.conf
depends_on: usb_device
platform_allow: qemu_cortex_m3 qemu_x86 native_posix native_posix_64 nrf52840dk_nrf52840
platform_exclude: nrf52dk_nrf52810
tags: bluetooth
harness: keyboard
min_flash: 350
bluetooth.shell.shell_br:
extra_configs:
- CONFIG_NATIVE_UART_0_ON_STDINOUT=y
extra_args: CONF_FILE="prj_br.conf"
platform_allow: qemu_cortex_m3 qemu_x86 native_posix native_posix_64
platform_exclude: nrf52dk_nrf52810
tags: bluetooth
harness: keyboard
bluetooth.shell.no_privacy:
build_only: true
extra_args: CONFIG_BT_PRIVACY=n
platform_allow: native_posix
tags: bluetooth
# Bluetooth Audio Compile validation tests
bluetooth.shell.no_vcs:
build_only: true
platform_allow: native_posix
extra_configs:
- CONFIG_BT_VCS=n
tags: bluetooth
bluetooth.shell.no_vocs:
build_only: true
platform_allow: native_posix
extra_configs:
- CONFIG_BT_VOCS_MAX_INSTANCE_COUNT=0
- CONFIG_BT_VCS_VOCS_INSTANCE_COUNT=0
tags: bluetooth
bluetooth.shell.no_aics:
build_only: true
platform_allow: native_posix
extra_configs:
- CONFIG_BT_AICS_MAX_INSTANCE_COUNT=0
- CONFIG_BT_VCS_AICS_INSTANCE_COUNT=0
- CONFIG_BT_MICS_AICS_INSTANCE_COUNT=0
tags: bluetooth
bluetooth.shell.no_aics_vocs:
build_only: true
platform_allow: native_posix
extra_configs:
- CONFIG_BT_VOCS_MAX_INSTANCE_COUNT=0
- CONFIG_BT_VCS_VOCS_INSTANCE_COUNT=0
- CONFIG_BT_AICS_MAX_INSTANCE_COUNT=0
- CONFIG_BT_VCS_AICS_INSTANCE_COUNT=0
- CONFIG_BT_MICS_AICS_INSTANCE_COUNT=0
tags: bluetooth
bluetooth.shell.no_vcs_client:
build_only: true
platform_allow: native_posix
extra_configs:
- CONFIG_BT_VCS_CLIENT=n
tags: bluetooth
bluetooth.shell.no_vcs_vcs_client:
build_only: true
platform_allow: native_posix
extra_configs:
- CONFIG_BT_VCS=n
- CONFIG_BT_VCS_CLIENT=n
tags: bluetooth
bluetooth.shell.vcs_client_no_aics_client:
build_only: true
platform_allow: native_posix
extra_configs:
- CONFIG_BT_VCS_CLIENT_MAX_AICS_INST=0
tags: bluetooth
bluetooth.shell.vcs_client_no_vocs_client:
build_only: true
platform_allow: native_posix
extra_configs:
- CONFIG_BT_VCS_CLIENT_MAX_VOCS_INST=0
tags: bluetooth
bluetooth.shell.no_mics:
build_only: true
platform_allow: native_posix
extra_configs:
- CONFIG_BT_MICS=n
tags: bluetooth
bluetooth.shell.no_mics_client:
build_only: true
platform_allow: native_posix
extra_configs:
- CONFIG_BT_MICS_CLIENT=n
tags: bluetooth
bluetooth.shell.no_mics_mics_client:
build_only: true
platform_allow: native_posix
extra_configs:
- CONFIG_BT_MICS=n
- CONFIG_BT_MICS_CLIENT=n
tags: bluetooth
bluetooth.shell.mics_client_no_aics_client:
build_only: true
platform_allow: native_posix
extra_configs:
- CONFIG_BT_MICS_CLIENT_MAX_AICS_INST=0
tags: bluetooth