Update the unittests for feature exchange to use the new ZTEST API Here we only update the feature exchange procedure. The remaining unittests will be done in a next PR Mocks, helper routines and the Unit Under Test are splitted out as a library instead of adding them to the file list Signed-off-by: Andries Kruithof <andries.kruithof@nordicsemi.no>
22 lines
529 B
CMake
22 lines
529 B
CMake
#
|
|
# Copyright (c) 2022 Nordic Semiconductor ASA
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
# CMakeLists.txt file for creating of common library.
|
|
#
|
|
|
|
add_library(common STATIC
|
|
src/helper_pdu.c
|
|
src/helper_util.c
|
|
)
|
|
|
|
target_include_directories(common PUBLIC
|
|
include
|
|
${ZEPHYR_BASE}/subsys/bluetooth/controller/include
|
|
${ZEPHYR_BASE}/subsys/bluetooth/controller
|
|
${ZEPHYR_BASE}/subsys/bluetooth/controller/ll_sw
|
|
${ZEPHYR_BASE}/subsys/bluetooth/controller/ll_sw/nordic
|
|
)
|
|
|
|
target_link_libraries(common PRIVATE test_interface)
|