Skip to content
Snippets Groups Projects
Commit ba7774ed authored by Timo Koch's avatar Timo Koch
Browse files

[1p][test][periodic] Cleanup CMakeLists.txt

parent 9d1f5e2e
No related branches found
No related tags found
1 merge request!2446Cleanup/some cmakelists
...@@ -2,21 +2,15 @@ dune_symlink_to_source_files(FILES "params.input" "periodic.dgf") ...@@ -2,21 +2,15 @@ dune_symlink_to_source_files(FILES "params.input" "periodic.dgf")
# test using periodic boundary conditions # test using periodic boundary conditions
dumux_add_test(NAME test_1p_periodic_tpfa dumux_add_test(NAME test_1p_periodic_tpfa
LABELS porousmediumflow 1p
SOURCES main.cc SOURCES main.cc
COMPILE_DEFINITIONS TYPETAG=OnePIncompressibleTpfa FVGEOMCACHING=false
CMAKE_GUARD dune-spgrid_FOUND
COMPILE_ONLY)
dumux_add_test(NAME test_1p_periodic_tpfa_sequential
TARGET test_1p_periodic_tpfa
LABELS porousmediumflow 1p LABELS porousmediumflow 1p
COMPILE_DEFINITIONS TYPETAG=OnePIncompressibleTpfa FVGEOMCACHING=false
CMAKE_GUARD dune-spgrid_FOUND CMAKE_GUARD dune-spgrid_FOUND
COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
CMD_ARGS --script fuzzy CMD_ARGS --script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/test_1p_tpfa_periodic-reference.vtu --files ${CMAKE_SOURCE_DIR}/test/references/test_1p_tpfa_periodic-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/test_1p_periodic_tpfa_sequential-00001.vtu ${CMAKE_CURRENT_BINARY_DIR}/test_1p_periodic_tpfa-00001.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_1p_periodic_tpfa params.input -Problem.Name test_1p_periodic_tpfa_sequential") --command "${CMAKE_CURRENT_BINARY_DIR}/test_1p_periodic_tpfa params.input -Problem.Name test_1p_periodic_tpfa")
dumux_add_test(NAME test_1p_periodic_tpfa_parallel dumux_add_test(NAME test_1p_periodic_tpfa_parallel
TARGET test_1p_periodic_tpfa TARGET test_1p_periodic_tpfa
......
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