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

Added test.

Make test works now.

[[Imported from SVN: r1564]]
parent 102fec20
No related branches found
No related tags found
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