Commit 37009b3a authored by Timo Koch's avatar Timo Koch
Browse files

[test] Use dumux_add_test

dumux_add_test makes additional checks and writes important files for the CI to work
parent 87d1789a
Pipeline #4260 passed with stages
dune_symlink_to_source_files(FILES "params.input")
dune_add_test(NAME example_1p_rotationsymmetry
dumux_add_test(NAME example_1p_rotationsymmetry
LABELS porousmediumflow 1p example
SOURCES main.cc
COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
......
......@@ -25,10 +25,10 @@ dumux_add_test(SOURCES test_material_2p_brookscorey.cc
--command "${CMAKE_CURRENT_BINARY_DIR}/test_material_2p_brookscorey")
dune_add_test(SOURCES test_material_2p_spline.cc
LABELS unit material)
dumux_add_test(SOURCES test_material_2p_spline.cc
LABELS unit material)
dune_add_test(SOURCES test_material_2p_dataspline.cc
LABELS unit material)
dumux_add_test(SOURCES test_material_2p_dataspline.cc
LABELS unit material)
dune_symlink_to_source_files(FILES test_material_2p_spline.input test_material_2p_dataspline.input)
......@@ -3,7 +3,7 @@ dune_symlink_to_source_files(FILES "convergencetest.py")
add_executable(test_md_boundary_darcy1p_freeflow1p_convtest EXCLUDE_FROM_ALL main.cc)
dune_add_test(NAME test_md_boundary_darcy1p_stokes1p_convtest
dumux_add_test(NAME test_md_boundary_darcy1p_stokes1p_convtest
TARGET test_md_boundary_darcy1p_freeflow1p_convtest
LABELS multidomain multidomain_boundary stokesdarcy
TIMEOUT 1000
......@@ -13,7 +13,7 @@ dune_add_test(NAME test_md_boundary_darcy1p_stokes1p_convtest
-Problem.TestCase ShiueExampleTwo
-Darcy.SpatialParams.Permeability 1.0)
dune_add_test(NAME test_md_boundary_darcy1p_navierstokes1p_convtest
dumux_add_test(NAME test_md_boundary_darcy1p_navierstokes1p_convtest
TARGET test_md_boundary_darcy1p_freeflow1p_convtest
LABELS multidomain multidomain_boundary stokesdarcy
TIMEOUT 1000
......
......@@ -2,7 +2,7 @@ add_subdirectory(nonisothermal)
add_input_file_links()
dune_add_test(NAME test_pnm_1p_noncreeping_flow
dumux_add_test(NAME test_pnm_1p_noncreeping_flow
SOURCES main.cc
LABELS porenetworkflow
COMPILE_DEFINITIONS ISOTHERMAL=1
......
add_input_file_links()
dune_add_test(NAME test_pnm_1pni_noncreeping_flow
dumux_add_test(NAME test_pnm_1pni_noncreeping_flow
SOURCES main.cc
LABELS porenetworkflow
COMPILE_DEFINITIONS ISOTHERMAL=0
......
dune_symlink_to_source_files(FILES "params.input")
dune_add_test(NAME test_tracer_multiphase_tpfa
dumux_add_test(NAME test_tracer_multiphase_tpfa
LABELS porousmediumflow tracer
SOURCES main.cc
COMPILE_DEFINITIONS TYPETAG=TracerTestTpfa
......@@ -10,7 +10,7 @@ dune_add_test(NAME test_tracer_multiphase_tpfa
${CMAKE_CURRENT_BINARY_DIR}/test_tracer_multiphase_tpfa-00010.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_tracer_multiphase_tpfa params.input -Problem.Name test_tracer_multiphase_tpfa")
dune_add_test(NAME test_tracer_multiphase_mpfa
dumux_add_test(NAME test_tracer_multiphase_mpfa
LABELS porousmediumflow tracer
SOURCES main.cc
COMPILE_DEFINITIONS TYPETAG=TracerTestMpfa
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment