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

[test][1p] Reuse executable for restart test

parent 9227f850
No related branches found
No related tags found
1 merge request!1039Feature/restart from vtk
......@@ -53,9 +53,11 @@ dune_add_test(NAME test_1pnibox_conduction
--command "${CMAKE_CURRENT_BINARY_DIR}/test_1pnibox_conduction test_1pnifv_conduction.input -Problem.Name 1pnibox_conduction"
--zeroThreshold {"velocity_H2O":1e-8})
add_executable(test_1pnibox_convection EXCLUDE_FROM_ALL test_1pnifv.cc)
target_compile_definitions(test_1pnibox_convection PUBLIC TYPETAG=OnePNIConvectionBoxTypeTag)
dune_add_test(NAME test_1pnibox_convection
SOURCES test_1pnifv.cc
COMPILE_DEFINITIONS TYPETAG=OnePNIConvectionBoxTypeTag
TARGET test_1pnibox_convection
COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/1pniboxconvection-reference.vtp
......@@ -64,8 +66,7 @@ dune_add_test(NAME test_1pnibox_convection
--zeroThreshold {"velocity":1e-15})
dune_add_test(NAME test_1pnibox_convection_restart
SOURCES test_1pnifv.cc
COMPILE_DEFINITIONS TYPETAG=OnePNIConvectionBoxTypeTag
TARGET test_1pnibox_convection
COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/1pniboxconvection-reference.vtp
......
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