Skip to content
Snippets Groups Projects
Commit a908255d authored by Johannes Hommel's avatar Johannes Hommel Committed by Timo Koch
Browse files

[cleanup][test] Rename geomechanics tests

parent fb82864a
No related branches found
No related tags found
1 merge request!1284Cleanup/apply naming scheme to tests
dune_symlink_to_source_files(FILES "elastic.input") dune_symlink_to_source_files(FILES "params.input")
# using box # using box
dune_add_test(NAME test_elastic_box dune_add_test(NAME test_elastic_box
SOURCES test_elastic.cc SOURCES main.cc
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/elasticbox-reference.vtu --files ${CMAKE_SOURCE_DIR}/test/references/test_elastic_box-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/elastic-00001.vtu ${CMAKE_CURRENT_BINARY_DIR}/test_elastic_box-00001.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_elastic_box elastic.input") --command "${CMAKE_CURRENT_BINARY_DIR}/test_elastic_box params.input -Problem.Name test_elastic_box")
set(CMAKE_BUILD_TYPE Release) set(CMAKE_BUILD_TYPE Release)
install(FILES install(FILES
problem.hh problem.hh
spatialparams.hh spatialparams.hh
test_elastic.cc main.cc
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/test/geomechanics/elastic) DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/test/geomechanics/elastic)
dune_symlink_to_source_files(FILES "poroelastic.input") dune_symlink_to_source_files(FILES "params.input")
# using box and numeric differentiation # using box and numeric differentiation
dune_add_test(NAME test_poroelastic_box dune_add_test(NAME test_poroelastic_box
SOURCES test_poroelastic.cc SOURCES main.cc
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/poroelasticbox-reference.vtu --files ${CMAKE_SOURCE_DIR}/test/references/test_poroelastic_box-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/poroelastic-00001.vtu ${CMAKE_CURRENT_BINARY_DIR}/test_poroelastic_box-00001.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_poroelastic_box poroelastic.input") --command "${CMAKE_CURRENT_BINARY_DIR}/test_poroelastic_box params.input -Problem.Name test_poroelastic_box")
set(CMAKE_BUILD_TYPE Release) set(CMAKE_BUILD_TYPE Release)
install(FILES install(FILES
problem.hh problem.hh
spatialparams.hh spatialparams.hh
test_poroelastic.cc main.cc
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/test/geomechanics/poroelastic) DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/test/geomechanics/poroelastic)
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