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

[Merge][CMake] Merged revisions : 1564

Revision  r1564
.----------------------
Added test. 
Make test works now.

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


[[Imported from SVN: r1799]]
parents d0b60024 ad700b70
Branches
Tags
No related merge requests found
......@@ -2,6 +2,7 @@ set(MPITESTS galerkintest hierarchytest pamgtest
pamg_comm_repart_test transfertest)
set(NORMALTESTS amgtest graphtest kamgtest)
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})
......@@ -22,6 +23,7 @@ message("ALLTESTS=${ALLTESTS}")
foreach(_exe ${ALLTESTS})
target_link_libraries(${_exe} "dunecommon")
add_test(${_exe} ${_exe})
endforeach(_exe ${ALLTESTS})
include(DuneMPI)
......
......@@ -69,4 +69,5 @@ endif(HAVE_MPI)
foreach(_exe ${ALLTESTS})
target_link_libraries(${_exe} "dunecommon")
add_test(${_exe} ${_exe})
endforeach(_exe ${ALLTESTS})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment