This patch provides unit tests for libmemif written in Unity Type: test Signed-off-by: Daniel Béreš <dberes@cisco.com> Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com> Change-Id: I19116def6e6d28efd5f460c93911245474a11321
19 lines
249 B
CMake
19 lines
249 B
CMake
cmake_minimum_required(VERSION 3.0)
|
|
|
|
set (This MemifSocketTest)
|
|
|
|
set (Sources
|
|
memif_socket_test.c)
|
|
|
|
add_executable(${This} ${Sources})
|
|
|
|
target_link_libraries(${This} PUBLIC
|
|
unity
|
|
memif
|
|
)
|
|
|
|
add_test(
|
|
NAME ${This}
|
|
COMMAND ${This}
|
|
)
|