tests: Bluetooth: Fix ctrl_iso unit test to include dependencies

Fix ctrl_iso ISOAL unit tests to include mockup Kconfig
dependency options.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2022-03-25 16:54:10 +05:30 committed by Carles Cufí
commit 683fc11f3a
2 changed files with 12 additions and 2 deletions

View file

@ -3,10 +3,19 @@
# Copyright (c) 2022 Oticon A/S # Copyright (c) 2022 Oticon A/S
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
config BT_CTLR_CONN_ISO
bool "LE Connected Isochronous Streams (for unit tests)"
config BT_CTLR_CONN_ISO_GROUPS
int "LE Connected Isochronous Groups (for unit tests)"
depends on BT_CTLR_CONN_ISO
range 1 240
default 1
config BT_CTLR_ISOAL_SINKS config BT_CTLR_ISOAL_SINKS
int "Number of Isochronous Adaptation Layer sinks (for unittest)" int "Number of Isochronous Adaptation Layer sinks (for unit tests)"
config BT_CTLR_ISOAL_SOURCES config BT_CTLR_ISOAL_SOURCES
int "Number of Isochronous Adaptation Layer sinks (for unittest)" int "Number of Isochronous Adaptation Layer sinks (for unit tests)"
source "Kconfig.zephyr" source "Kconfig.zephyr"

View file

@ -7,5 +7,6 @@ CONFIG_ZTEST_PARAMETER_COUNT=32
CONFIG_ZTEST_ASSERT_HOOK=y CONFIG_ZTEST_ASSERT_HOOK=y
CONFIG_BT_CTLR_CONN_ISO=y
CONFIG_BT_CTLR_ISOAL_SINKS=4 CONFIG_BT_CTLR_ISOAL_SINKS=4
CONFIG_BT_CTLR_ISOAL_SOURCES=4 CONFIG_BT_CTLR_ISOAL_SOURCES=4