Skip to content

Commit

Permalink
Check::check target
Browse files Browse the repository at this point in the history
  • Loading branch information
matkonnerth committed Nov 20, 2024
1 parent 7634ae7 commit 9a12d42
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ add_executable(sort sort.c
${CMAKE_CURRENT_SOURCE_DIR}/../src/Sort.c
${CMAKE_CURRENT_SOURCE_DIR}/../src/nodes/InstanceNode.c)
target_include_directories(sort PRIVATE ${CHECK_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/../src ${CMAKE_CURRENT_SOURCE_DIR}/../include)
target_link_libraries(sort PRIVATE ${CHECK_LIBRARIES} ${PTHREAD_LIB} coverageLib open62541::open62541)
target_link_libraries(sort PRIVATE Check::check ${PTHREAD_LIB} coverageLib open62541::open62541)
add_test(NAME sort_Test WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND sort ${CMAKE_CURRENT_LIST_DIR})

add_executable(nodeContainer
Expand All @@ -13,21 +13,21 @@ add_executable(nodeContainer
${CMAKE_CURRENT_SOURCE_DIR}/../src/Value.c
)
target_include_directories(nodeContainer PRIVATE ${CHECK_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/../include ${CMAKE_CURRENT_SOURCE_DIR}/../src)
target_link_libraries(nodeContainer PRIVATE ${CHECK_LIBRARIES} ${PTHREAD_LIB} coverageLib open62541::open62541)
target_link_libraries(nodeContainer PRIVATE Check::check ${PTHREAD_LIB} coverageLib open62541::open62541)
add_test(NAME nodeContainer_Test WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND nodeContainer ${CMAKE_CURRENT_LIST_DIR})

add_executable(value ValueTest.c ${CMAKE_CURRENT_SOURCE_DIR}/../src/Value.c)
target_include_directories(value PRIVATE ${CHECK_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/../include)
target_link_libraries(value PRIVATE ${CHECK_LIBRARIES} ${PTHREAD_LIB} coverageLib open62541::open62541)
target_link_libraries(value PRIVATE Check::check ${PTHREAD_LIB} coverageLib open62541::open62541)
add_test(NAME value_Test WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND value ${CMAKE_CURRENT_LIST_DIR})

add_executable(allocator allocator.c ${CMAKE_CURRENT_SOURCE_DIR}/../src/CharAllocator.c)
target_include_directories(allocator PRIVATE ${CHECK_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/../src)
target_link_libraries(allocator PRIVATE ${CHECK_LIBRARIES} ${PTHREAD_LIB} coverageLib open62541::open62541)
target_link_libraries(allocator PRIVATE Check::check ${PTHREAD_LIB} coverageLib open62541::open62541)
add_test(NAME allocatorTest WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND allocator ${CMAKE_CURRENT_LIST_DIR})

add_executable(parser parser.c)
target_link_libraries(parser PRIVATE NodesetLoader ${CHECK_LIBRARIES} ${PTHREAD_LIB} coverageLib open62541::open62541)
target_link_libraries(parser PRIVATE NodesetLoader Check::check ${PTHREAD_LIB} coverageLib open62541::open62541)
target_include_directories(parser PRIVATE ${CHECK_INCLUDE_DIR})
add_test(NAME parser_Test
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
Expand Down

0 comments on commit 9a12d42

Please sign in to comment.