Bluetooth: audio: Make unit tests compile

The tests manually include sources that are normally conditionally
included (ie based on kconfig values) in the stack.

The tests should be fixed by the original authors.
For now, force-on the hidden kconfig that enables the log options.

Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>
This commit is contained in:
Jonathan Rico 2024-08-20 10:17:39 +02:00 committed by Anas Nashif
commit 0b3c67c31b
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,14 @@
# Temporary override
#
# Copyright (c) 2024 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
#
config BT_BAP_BASE
# Override until someone fixes the UT build system
bool
default y
# Include Zephyr's Kconfig.
source "Kconfig.zephyr"

View file

@ -0,0 +1,14 @@
# Temporary override
#
# Copyright (c) 2024 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
#
config BT_BAP_STREAM
# Override until someone fixes the UT build system
bool
default y
# Include Zephyr's Kconfig.
source "Kconfig.zephyr"