Skip to content
Snippets Groups Projects
Commit 777134c0 authored by Lisa Julia Nebel's avatar Lisa Julia Nebel
Browse files

Only compile geodesicfeassemblerwrappertest if the version of dune-elasticity...

Only compile geodesicfeassemblerwrappertest if the version of dune-elasticity is greater or equal 2.7
parent 2d80f7d9
No related branches found
No related tags found
1 merge request!61Enhancements
...@@ -26,11 +26,12 @@ dune_add_test(SOURCES harmonicmaptest.cc ...@@ -26,11 +26,12 @@ dune_add_test(SOURCES harmonicmaptest.cc
TIMEOUT 600 TIMEOUT 600
CMAKE_GUARD MPI_FOUND) CMAKE_GUARD MPI_FOUND)
# Run distributed tests if (${DUNE_ELASTICITY_VERSION} VERSION_GREATER_EQUAL 2.7)
dune_add_test(SOURCES geodesicfeassemblerwrappertest.cc dune_add_test(SOURCES geodesicfeassemblerwrappertest.cc
MPI_RANKS 1 4 MPI_RANKS 1 4
TIMEOUT 600 TIMEOUT 600
CMAKE_GUARD MPI_FOUND) CMAKE_GUARD MPI_FOUND)
endif()
# Copy the example grid used for testing into the build dir # Copy the example grid used for testing into the build dir
file(COPY grids/irregular-square.msh DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/grids) file(COPY grids/irregular-square.msh DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/grids)
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