Skip to content
Snippets Groups Projects
Commit e038db87 authored by René Fritze's avatar René Fritze
Browse files

[cmake] ensure test binaries are build with dune's own make test

parent 5886dc8b
No related branches found
No related tags found
No related merge requests found
......@@ -125,6 +125,8 @@ macro(BEGIN_TESTCASES)
endmacro(BEGIN_TESTCASES)
macro(END_TESTCASES)
add_directory_test_target(_test_target)
add_dependencies(${_test_target} ${testnames})
add_custom_target(test_binaries DEPENDS ${testnames})
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND}
DEPENDS test_binaries)
......
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