Move the network buffer tests to tests/lib/net_buf as their implementation now lives outside of the networking subsystem. Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
19 lines
379 B
CMake
19 lines
379 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
|
|
|
find_package(Zephyr COMPONENTS unittest HINTS $ENV{ZEPHYR_BASE})
|
|
|
|
project(buf_simple)
|
|
|
|
add_subdirectory(${ZEPHYR_BASE}/tests/net/mocks net_mocks)
|
|
|
|
target_link_libraries(testbinary PRIVATE net_mocks)
|
|
|
|
target_sources(testbinary
|
|
PRIVATE
|
|
src/main.c
|
|
|
|
${ZEPHYR_BASE}/lib/net_buf/buf_simple.c
|
|
)
|