diff --git a/test/multidomain/facet/1p_1p/analytical/CMakeLists.txt b/test/multidomain/facet/1p_1p/analytical/CMakeLists.txt index 23322845d3e0b19e1147a7d09ab1502a2beeffdf..0ecd2202e359260598429cbc88916ed3d54c2952 100644 --- a/test/multidomain/facet/1p_1p/analytical/CMakeLists.txt +++ b/test/multidomain/facet/1p_1p/analytical/CMakeLists.txt @@ -9,13 +9,13 @@ add_executable(test_facetcoupling_box_1p1p EXCLUDE_FROM_ALL test_facetcoupling_f target_compile_definitions(test_facetcoupling_box_1p1p PUBLIC BULKTYPETAG=OnePBulkBox LOWDIMTYPETAG=OnePLowDimBox) dune_add_test(NAME test_facet_1p1p_tpfa_convergence - CMAKE_GUARD "( dune-foamgrid_FOUND AND dune-alugrid_FOUND AND gmsh_FOUND )" + CMAKE_GUARD "( dune-foamgrid_FOUND AND dune-alugrid_FOUND AND gmsh_FOUND AND HAVE_UMFPACK )" TARGET test_facetcoupling_tpfa_1p1p COMMAND ./convergencetest.py CMD_ARGS test_facetcoupling_tpfa_1p1p 1e-4) dune_add_test(NAME test_facet_1p1p_box_convergence - CMAKE_GUARD "( dune-foamgrid_FOUND AND dune-alugrid_FOUND AND gmsh_FOUND )" + CMAKE_GUARD "( dune-foamgrid_FOUND AND dune-alugrid_FOUND AND gmsh_FOUND AND HAVE_UMFPACK )" TARGET test_facetcoupling_box_1p1p COMMAND ./convergencetest.py CMD_ARGS test_facetcoupling_box_1p1p 1e-4) diff --git a/test/multidomain/poromechanics/el2p/CMakeLists.txt b/test/multidomain/poromechanics/el2p/CMakeLists.txt index acedd5ac3444cfc4ea9417471afad73af32de47d..0c2d045221dc554dbff716ac74f36538e5c57277 100644 --- a/test/multidomain/poromechanics/el2p/CMakeLists.txt +++ b/test/multidomain/poromechanics/el2p/CMakeLists.txt @@ -2,6 +2,7 @@ dune_symlink_to_source_files(FILES "el2p.input") dune_add_test(NAME test_el2p SOURCES test_el2p.cc + CMAKE_GUARD HAVE_UMFPACK COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py CMD_ARGS --script fuzzy --files ${CMAKE_SOURCE_DIR}/test/references/el2p_2p_reference.vtu diff --git a/test/porousmediumflow/tracer/1ptracer/CMakeLists.txt b/test/porousmediumflow/tracer/1ptracer/CMakeLists.txt index f30af80e41c781ea1d9b6ecbdecbdb7f5ad970c0..de686fc4cf70bc8c1b2bf8d78a78873ca5a26a82 100644 --- a/test/porousmediumflow/tracer/1ptracer/CMakeLists.txt +++ b/test/porousmediumflow/tracer/1ptracer/CMakeLists.txt @@ -2,6 +2,7 @@ dune_symlink_to_source_files(FILES "tracer.input") dune_add_test(NAME test_tracer_sequential SOURCES test_cctracer.cc + CMAKE_GUARD HAVE_UMFPACK COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py CMD_ARGS --script fuzzy --files ${CMAKE_SOURCE_DIR}/test/references/tracer-sequential-transport-reference.vtu diff --git a/test/porousmediumflow/tracer/constvel/CMakeLists.txt b/test/porousmediumflow/tracer/constvel/CMakeLists.txt index 9d9a758c2a4fc6d5d1aa980199f7d12ce234dbee..144fddfe0177f2854e91629fd98c9c513b9a3fe0 100644 --- a/test/porousmediumflow/tracer/constvel/CMakeLists.txt +++ b/test/porousmediumflow/tracer/constvel/CMakeLists.txt @@ -4,6 +4,7 @@ dune_symlink_to_source_files(FILES "test_tracer.input") dune_add_test(NAME test_tracer_explicit_tpfa SOURCES test_tracer.cc COMPILE_DEFINITIONS TYPETAG=TracerTestTpfa IMPLICIT=false USEMOLES=false + CMAKE_GUARD HAVE_UMFPACK COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py CMD_ARGS --script fuzzy --files ${CMAKE_SOURCE_DIR}/test/references/tracer-constvel-explicit-cc-reference.vtu @@ -13,6 +14,7 @@ dune_add_test(NAME test_tracer_explicit_tpfa dune_add_test(NAME test_tracer_explicit_box SOURCES test_tracer.cc COMPILE_DEFINITIONS TYPETAG=TracerTestBox IMPLICIT=false USEMOLES=false + CMAKE_GUARD HAVE_UMFPACK COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py CMD_ARGS --script fuzzy --files ${CMAKE_SOURCE_DIR}/test/references/tracer-constvel-explicit-box-reference.vtu @@ -21,27 +23,30 @@ dune_add_test(NAME test_tracer_explicit_box # explicit tracer tests (mole fractions, should yield same result) dune_add_test(NAME test_tracer_explicit_tpfa_mol - SOURCES test_tracer.cc - COMPILE_DEFINITIONS TYPETAG=TracerTestTpfa IMPLICIT=false USEMOLES=true - COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py - CMD_ARGS --script fuzzy - --files ${CMAKE_SOURCE_DIR}/test/references/tracer-constvel-explicit-cc-reference.vtu - ${CMAKE_CURRENT_BINARY_DIR}/tracer_explicit_tpfa_mol-00010.vtu - --command "${CMAKE_CURRENT_BINARY_DIR}/test_tracer_explicit_tpfa test_tracer.input -Problem.Name tracer_explicit_tpfa_mol") + SOURCES test_tracer.cc + COMPILE_DEFINITIONS TYPETAG=TracerTestTpfa IMPLICIT=false USEMOLES=true + CMAKE_GUARD HAVE_UMFPACK + COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py + CMD_ARGS --script fuzzy + --files ${CMAKE_SOURCE_DIR}/test/references/tracer-constvel-explicit-cc-reference.vtu + ${CMAKE_CURRENT_BINARY_DIR}/tracer_explicit_tpfa_mol-00010.vtu + --command "${CMAKE_CURRENT_BINARY_DIR}/test_tracer_explicit_tpfa test_tracer.input -Problem.Name tracer_explicit_tpfa_mol") dune_add_test(NAME test_tracer_explicit_box_mol - SOURCES test_tracer.cc - COMPILE_DEFINITIONS TYPETAG=TracerTestBox IMPLICIT=false USEMOLES=true - COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py - CMD_ARGS --script fuzzy - --files ${CMAKE_SOURCE_DIR}/test/references/tracer-constvel-explicit-box-reference.vtu + SOURCES test_tracer.cc + COMPILE_DEFINITIONS TYPETAG=TracerTestBox IMPLICIT=false USEMOLES=true + CMAKE_GUARD HAVE_UMFPACK + COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py + CMD_ARGS --script fuzzy + --files ${CMAKE_SOURCE_DIR}/test/references/tracer-constvel-explicit-box-reference.vtu ${CMAKE_CURRENT_BINARY_DIR}/tracer_explicit_box_mol-00010.vtu - --command "${CMAKE_CURRENT_BINARY_DIR}/test_tracer_explicit_box test_tracer.input -Problem.Name tracer_explicit_box_mol") + --command "${CMAKE_CURRENT_BINARY_DIR}/test_tracer_explicit_box test_tracer.input -Problem.Name tracer_explicit_box_mol") # implicit tracer tests dune_add_test(NAME test_tracer_implicit_tpfa SOURCES test_tracer.cc COMPILE_DEFINITIONS TYPETAG=TracerTestTpfa IMPLICIT=true USEMOLES=false + CMAKE_GUARD HAVE_UMFPACK COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py CMD_ARGS --script fuzzy --files ${CMAKE_SOURCE_DIR}/test/references/tracer-constvel-implicit-cc-reference.vtu @@ -51,6 +56,7 @@ dune_add_test(NAME test_tracer_implicit_tpfa dune_add_test(NAME test_tracer_implicit_box SOURCES test_tracer.cc COMPILE_DEFINITIONS TYPETAG=TracerTestBox IMPLICIT=true USEMOLES=false + CMAKE_GUARD HAVE_UMFPACK COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py CMD_ARGS --script fuzzy --files ${CMAKE_SOURCE_DIR}/test/references/tracer-constvel-implicit-box-reference.vtu