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

[Merge][CMake] Merged revisions : 1571

Revision  r1571
.----------------------
Finally cmake to build the test during make test, that is on demand.
Now make test works in all directories.

.----------------------


[[Imported from SVN: r1800]]
parents adf4f428 f8bb28cc
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.
Finish editing this message first!
Please register or to comment