063c039480
This adds set of unit tests for simple network buffers. The suite is based of the test cases that are already defined for network buffers. Those test_net_buf_byte_order test case have been split to smaller tests testing one functionality at a time. Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
14 lines
316 B
CMake
14 lines
316 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
add_library(net_mocks STATIC
|
|
assert.c
|
|
)
|
|
|
|
target_include_directories(net_mocks PUBLIC
|
|
${ZEPHYR_BASE}/subsys/net
|
|
${ZEPHYR_BASE}/tests/net
|
|
)
|
|
|
|
target_link_libraries(net_mocks PRIVATE test_interface)
|
|
target_compile_options(test_interface INTERFACE -include ztest.h)
|