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

Moved add_test directives to CMakeLists.txt of the right directory.

[[Imported from SVN: r6611]]
parent 449e6f72
No related branches found
No related tags found
No related merge requests found
......@@ -12,9 +12,3 @@ install(FILES
selection.hh
DESTINATION include/dune/common/parallel)
add_test(indexsettest indexsettest)
add_test(selectiontest selectiontest)
if(MPI_CXX_FOUND)
add_test(indicestest indicestest)
#add_test(syncertest syncertest)
endif(MPI_CXX_FOUND)
set(MPITESTPROGS indicestest indexsettest syncertest selectiontest)
add_dependencies(build_tests ${MPITESTPROGS})
# We do not want want to build the tests during make all,
# but just build them on demand
add_dependencies(build_tests ${MPITESTPROGS})
......@@ -24,3 +22,10 @@ endif(MPI_FOUND)
#if(MPI_FOUND)
# target_link_libraries(syncertest ${MPI_CXX_LIBRARIES})
#endif(MPI_FOUND)
add_test(indexsettest indexsettest)
add_test(selectiontest selectiontest)
if(MPI_CXX_FOUND)
add_test(indicestest indicestest)
#add_test(syncertest syncertest)
endif(MPI_CXX_FOUND)
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