Commit 5d7eff39 authored by Dennis's avatar Dennis
Browse files

[cmake] use dumux_add_test

This ensures that test meta data are written out upon configuration.
parent f450f27a
add_input_file_links()
dune_add_test(NAME lens2pexercise3
dumux_add_test(NAME lens2pexercise3
SOURCES lens2pexercise3.cc
COMMAND ${dumux_INCLUDE_DIRS}/bin/testing/runtest.py
CMD_ARGS --script fuzzy
......@@ -8,7 +8,7 @@ dune_add_test(NAME lens2pexercise3
${CMAKE_CURRENT_BINARY_DIR}/lens-2p-00011.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/lens2pexercise3 -ParameterFile ${CMAKE_CURRENT_SOURCE_DIR}/exercise3.input -Problem.Name lens-2p")
dune_add_test(NAME lens2p2cexercise3
dumux_add_test(NAME lens2p2cexercise3
SOURCES lens2p2cexercise3.cc
COMMAND ${dumux_INCLUDE_DIRS}/bin/testing/runtest.py
CMD_ARGS --script fuzzy
......@@ -16,7 +16,7 @@ dune_add_test(NAME lens2p2cexercise3
${CMAKE_CURRENT_BINARY_DIR}/lens-2p2c-00011.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/lens2p2cexercise3 -ParameterFile ${CMAKE_CURRENT_SOURCE_DIR}/exercise3.input -Problem.Name lens-2p2c")
dune_add_test(NAME lens1p2cexercise3
dumux_add_test(NAME lens1p2cexercise3
SOURCES lens1p2cexercise3.cc
COMMAND ${dumux_INCLUDE_DIRS}/bin/testing/runtest.py
CMD_ARGS --script fuzzy
......
add_input_file_links()
dune_add_test(NAME lens1p2cexercise1
dumux_add_test(NAME lens1p2cexercise1
SOURCES lens1p2cexercise1.cc
COMMAND ${dumux_INCLUDE_DIRS}/bin/testing/runtest.py
CMD_ARGS --script fuzzy
......@@ -9,7 +9,7 @@ dune_add_test(NAME lens1p2cexercise1
--command "${CMAKE_CURRENT_BINARY_DIR}/lens1p2cexercise1 ${CMAKE_CURRENT_SOURCE_DIR}/exercise1.input -Problem.Name lens-1p2c"
--zeroThreshold {"x^N2_liq":1e-18,"X^N2_liq":1e-18})
dune_add_test(NAME lens2pexercise1
dumux_add_test(NAME lens2pexercise1
SOURCES lens2pexercise1.cc
COMMAND ${dumux_INCLUDE_DIRS}/bin/testing/runtest.py
CMD_ARGS --script fuzzy
......
add_input_file_links()
dune_add_test(NAME lens2pexercise2
dumux_add_test(NAME lens2pexercise2
SOURCES lens2pexercise2.cc
COMMAND ${dumux_INCLUDE_DIRS}/bin/testing/runtest.py
CMD_ARGS --script fuzzy
......
add_input_file_links()
dune_add_test(NAME groundwater
dumux_add_test(NAME groundwater
SOURCES groundwater.cc
COMMAND ${dumux_INCLUDE_DIRS}/bin/testing/runtest.py
CMD_ARGS --script fuzzy
......
add_input_file_links()
dune_add_test(NAME buckleyleverettexercise
dumux_add_test(NAME buckleyleverettexercise
SOURCES buckleyleverettexercise.cc
COMMAND ${dumux_INCLUDE_DIRS}/bin/testing/runtest.py
CMD_ARGS --script fuzzy
......
add_input_file_links()
dune_add_test(NAME co2plumeshapeexercise
dumux_add_test(NAME co2plumeshapeexercise
SOURCES co2plumeshapeexercise.cc
COMPILE_DEFINITIONS TYPETAG=PlumeShapeBoxTypeTag
TIMEOUT 1800
......
add_input_file_links()
dune_symlink_to_source_files(FILES grids)
dune_add_test(NAME columnxyleneexercise
dumux_add_test(NAME columnxyleneexercise
SOURCES columnxyleneexercise.cc
COMPILE_DEFINITIONS TYPETAG=ColumnProblemBoxTypeTag
COMMAND ${dumux_INCLUDE_DIRS}/bin/testing/runtest.py
......
add_input_file_links()
dune_add_test(COMPILE_ONLY # the test produces different results due to the fingers on different machines
dumux_add_test(COMPILE_ONLY # the test produces different results due to the fingers on different machines
NAME convmixexercise
SOURCES convmixexercise.cc
COMMAND ${dumux_INCLUDE_DIRS}/bin/testing/runtest.py
......
dune_symlink_to_source_files(FILES "grids" "fracture_exercise.input" "plot.p")
# test for the exercise
dune_add_test(NAME fracture_exercise
dumux_add_test(NAME fracture_exercise
CMAKE_GUARD "( dune-foamgrid_FOUND AND dune-alugrid_FOUND )"
SOURCES fractures.cc
COMMAND ${dumux_INCLUDE_DIRS}/bin/testing/runtest.py
......
add_input_file_links()
dune_add_test(NAME fuelcell
dumux_add_test(NAME fuelcell
TIMEOUT 1800
SOURCES fuelcell.cc
COMMAND ${dumux_INCLUDE_DIRS}/bin/testing/runtest.py
......
add_input_file_links()
dune_symlink_to_source_files(FILES grids)
dune_add_test(NAME heatpipe
dumux_add_test(NAME heatpipe
SOURCES heatpipe.cc
COMMAND ${dumux_INCLUDE_DIRS}/bin/testing/runtest.py
CMD_ARGS --script fuzzy
......
add_input_file_links()
dune_add_test(NAME sagd
dumux_add_test(NAME sagd
SOURCES sagd.cc
TIMEOUT 1800
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/sagd
......
add_input_file_links()
dune_add_test(NAME sagd_cyclic
dumux_add_test(NAME sagd_cyclic
SOURCES sagd_cyclic.cc
TIMEOUT 1800
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/sagd_cyclic
......
add_input_file_links()
dune_add_test(NAME sagd_cyclic_hyst
dumux_add_test(NAME sagd_cyclic_hyst
SOURCES sagd_cyclic_hyst.cc
TIMEOUT 1800
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/sagd_cyclic_hyst
......
add_input_file_links()
dune_symlink_to_source_files(FILES grids)
dune_add_test(NAME henry1p2c
dumux_add_test(NAME henry1p2c
SOURCES henry1p2c.cc
COMMAND ${dumux_INCLUDE_DIRS}/bin/testing/runtest.py
CMD_ARGS --script fuzzy
......
add_input_file_links()
dune_symlink_to_source_files(FILES grids)
dune_add_test(NAME henry2p
dumux_add_test(NAME henry2p
SOURCES henry2p.cc
COMMAND ${dumux_INCLUDE_DIRS}/bin/testing/runtest.py
CMD_ARGS --script fuzzy
......
add_input_file_links()
dune_add_test(NAME mcwhorterexercise
dumux_add_test(NAME mcwhorterexercise
SOURCES mcwhorterexercise.cc
COMMAND ${dumux_INCLUDE_DIRS}/bin/testing/runtest.py
CMD_ARGS --script fuzzy
......
add_input_file_links()
# for the test only simulate one week
dune_add_test(NAME naplinfiltration3p
dumux_add_test(NAME naplinfiltration3p
SOURCES naplinfiltration3p.cc
COMMAND ${dumux_INCLUDE_DIRS}/bin/testing/runtest.py
CMD_ARGS --script fuzzy
......
add_input_file_links()
# for the test only simulate one week
dune_add_test(NAME naplinfiltration3p3c
dumux_add_test(NAME naplinfiltration3p3c
SOURCES naplinfiltration3p3c.cc
COMMAND ${dumux_INCLUDE_DIRS}/bin/testing/runtest.py
CMD_ARGS --script fuzzy
......
add_input_file_links(remediationscenariosexercise.input)
dune_add_test(NAME remediationscenariosexercise
dumux_add_test(NAME remediationscenariosexercise
TIMEOUT 1800
SOURCES remediationscenariosexercise.cc
COMMAND ${dumux_INCLUDE_DIRS}/bin/testing/runtest.py
......
Markdown is supported
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