Skip to content
Snippets Groups Projects
Commit e17e3a6a authored by mavogel's avatar mavogel
Browse files

Configured CTest

parent b065a5f6
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,9 @@ function(coral_add_unit_test name)
set_target_properties(${bin_name} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/tests/bin)
target_link_libraries(${bin_name} ${ARG_LIBS} ${CPPUNIT_LIBRARIES})
add_dependencies(POST_BUILD_BANNER ${bin_name})
add_test(NAME ${test_name}
COMMAND ${bin_name}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/tests/${name})
endfunction()
# Copy and install python tests into the build and install areas
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment