Skip to content
Snippets Groups Projects
Commit f8bb28cc authored by Markus Blatt's avatar Markus Blatt
Browse files

Finally cmake to build the test during make test, that is on demand.

Now make test works in all directories.

[[Imported from SVN: r1571]]
parent ad700b70
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,8 @@ set(ALLTESTS ${MPITESTS} ${NORMALTESTS})
# We do not want want to build the tests during make all,
# but just build them on demand
add_dependencies(build_tests ${ALLTESTS})
add_directory_test_target(_test_target)
add_dependencies(${_test_target} ${ALLTESTS})
add_executable(amgtest "amgtest.cc")
add_executable(galerkintest "galerkintest.cc")
......
......@@ -17,7 +17,8 @@ message("ALLTESTS=${ALLTESTS}")
message("MPITESTS=${MPITESTS}")
# We do not want want to build the tests during make all,
# but just build them on demand
add_dependencies(build_tests ${ALLTESTS})
add_directory_test_target(_test_target)
add_dependencies(${_test_target} ${ALLTESTS})
include(DuneMPI)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment