Commit 0e710a34 authored by Elias Pipping's avatar Elias Pipping
Browse files

Use dune_add_test

parent 5519cb39
......@@ -2,11 +2,6 @@ set(TESTS
normfunctionaltest
)
add_directory_test_target(_test_target)
add_dependencies(${_test_target} ${TESTS})
foreach(_test ${TESTS})
add_executable(${_test} ${_test}.cc)
target_link_libraries(${_test} ${DUNE_LIBS})
add_test(${_test} ${_test})
dune_add_test(SOURCES ${_test}.cc)
endforeach()
......@@ -3,11 +3,6 @@ set(TESTS
testminimalsurfacefunctional
)
add_directory_test_target(_test_target)
add_dependencies(${_test_target} ${TESTS})
foreach(_test ${TESTS})
add_executable(${_test} ${_test}.cc)
target_link_libraries(${_test} ${DUNE_LIBS})
add_test(${_test} ${_test})
dune_add_test(SOURCES ${_test}.cc)
endforeach()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment