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

[Merge][CMake] Merged revisions : 1603

Revision  r1603
.----------------------
[CMake] Use guards to conditionally set MPITESTS, otherwise cmake
aborts.

This differs from the way we handle tests requiring MPI compared to
dune-common. Maybe we should discuss which way we want to use in Dune in
general: HAVE_* macros or build guards in Makefile.am/CMakeLists.txt.

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


[[Imported from SVN: r1815]]
parents ea15ba8c a6b41b13
No related branches found
No related tags found
No related merge requests found
set(MPITESTS vectorcommtest matrixmarkettest matrixredisttest )
set(NORMALTEST basearraytest matrixutilstest matrixtest
bvectortest vbvectortest bcrsbuildtest matrixiteratortest mv
iotest scaledidmatrixtest seqmatrixmarkettest)
......@@ -12,6 +11,10 @@ if(HAVE_SUPERLU)
overlappingschwarztest)
endif(HAVE_SUPERLU)
if(HAVE_MPI)
set(MPITESTS vectorcommtest matrixmarkettest matrixredisttest)
endif(HAVE_MPI)
set(ALLTESTS ${MPITESTS} ${NORMALTEST} ${PARDISOTEST} ${SUPERLUTESTS})
message("ALLTESTS=${ALLTESTS}")
message("MPITESTS=${MPITESTS}")
......
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