Skip to content
Snippets Groups Projects
Commit e7f92f0f authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

[test][2p1cni] Clean-up CMakeLists.txt

* only build two executables
parent 4d3b52f0
No related branches found
No related tags found
1 merge request!1191Feature/improve 2p1cni
#add links to input files #add links to input files
add_input_file_links() add_input_file_links()
dune_add_test(NAME test_2p1cni_box add_executable(test_2p1cni_tpfa EXCLUDE_FROM_ALL test_2p1c_fv.cc)
SOURCES test_2p1c_fv.cc target_compile_definitions(test_2p1cni_tpfa PUBLIC "TYPETAG=TwoPOneCNICCTpfaTypeTag")
COMPILE_DEFINITIONS TYPETAG=TwoPOneCNIBoxTypeTag
add_executable(test_2p1cni_box EXCLUDE_FROM_ALL test_2p1c_fv.cc)
target_compile_definitions(test_2p1cni_box PUBLIC "TYPETAG=TwoPOneCNIBoxTypeTag")
dune_add_test(NAME test_2p1cni_box_waterwet
TARGET test_2p1cni_box
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/steaminjectionbox-reference.vtu --files ${CMAKE_SOURCE_DIR}/test/references/steaminjectionbox-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/test_boxsteaminjection-00007.vtu ${CMAKE_CURRENT_BINARY_DIR}/test_boxsteaminjection-00007.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_2p1cni_box test_boxsteaminjection.input") --command "${CMAKE_CURRENT_BINARY_DIR}/test_2p1cni_box test_boxsteaminjection.input")
dune_add_test(NAME test_2p1cni_tpfa dune_add_test(NAME test_2p1cni_tpfa_waterwet
SOURCES test_2p1c_fv.cc TARGET test_2p1cni_tpfa
COMPILE_DEFINITIONS TYPETAG=TwoPOneCNICCTpfaTypeTag
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/steaminjectioncc-reference.vtu --files ${CMAKE_SOURCE_DIR}/test/references/steaminjectioncc-reference.vtu
...@@ -20,8 +25,7 @@ dune_add_test(NAME test_2p1cni_tpfa ...@@ -20,8 +25,7 @@ dune_add_test(NAME test_2p1cni_tpfa
--command "${CMAKE_CURRENT_BINARY_DIR}/test_2p1cni_tpfa test_ccsteaminjection.input") --command "${CMAKE_CURRENT_BINARY_DIR}/test_2p1cni_tpfa test_ccsteaminjection.input")
dune_add_test(NAME test_2p1cni_box_gaswet dune_add_test(NAME test_2p1cni_box_gaswet
SOURCES test_2p1c_fv.cc TARGET test_2p1cni_box
COMPILE_DEFINITIONS TYPETAG=TwoPOneCNIBoxTypeTag
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/steaminjectionbox_gaswet-reference.vtu --files ${CMAKE_SOURCE_DIR}/test/references/steaminjectionbox_gaswet-reference.vtu
...@@ -31,8 +35,7 @@ dune_add_test(NAME test_2p1cni_box_gaswet ...@@ -31,8 +35,7 @@ dune_add_test(NAME test_2p1cni_box_gaswet
-SpatialParams.GasWetting true") -SpatialParams.GasWetting true")
dune_add_test(NAME test_2p1cni_tpfa_gaswet dune_add_test(NAME test_2p1cni_tpfa_gaswet
SOURCES test_2p1c_fv.cc TARGET test_2p1cni_tpfa
COMPILE_DEFINITIONS TYPETAG=TwoPOneCNICCTpfaTypeTag
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/steaminjectioncc_gaswet-reference.vtu --files ${CMAKE_SOURCE_DIR}/test/references/steaminjectioncc_gaswet-reference.vtu
......
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