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:
parent
4bdca17e21
commit
0b3c67c31b
2 changed files with 28 additions and 0 deletions
14
tests/bluetooth/audio/bap_base/Kconfig
Normal file
14
tests/bluetooth/audio/bap_base/Kconfig
Normal 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"
|
14
tests/bluetooth/audio/cap_commander/Kconfig
Normal file
14
tests/bluetooth/audio/cap_commander/Kconfig
Normal 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"
|
Loading…
Add table
Add a link
Reference in a new issue