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

[NavierStokesNC][test] Use dune macro in CMakeLists.txt

parent 317360a4
No related branches found
No related tags found
Loading
add_input_file_links() add_input_file_links()
add_dumux_test(test_densitydrivenflow test_densitydrivenflow test_densitydrivenflow.cc dune_add_test(NAME test_densitydrivenflow
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py SOURCES test_densitydrivenflow.cc
--script fuzzy COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--files ${CMAKE_SOURCE_DIR}/test/references/stokes2c-densitydriven-reference.vtu CMD_ARGS --script fuzzy
${CMAKE_CURRENT_BINARY_DIR}/test_densitydrivenflow-00025.vtu --files ${CMAKE_SOURCE_DIR}/test/references/stokes2c-densitydriven-reference.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_densitydrivenflow") ${CMAKE_CURRENT_BINARY_DIR}/test_densitydrivenflow-00025.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_densitydrivenflow")
add_dumux_test(test_purediffusion test_channel test_channel.cc add_executable(test_stokes2c test_channel.cc)
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/stokes2c-purediffusion.vtu
${CMAKE_CURRENT_BINARY_DIR}/test_purediffusion-00013.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_channel test_purediffusion.input"
--zeroThreshold {"velocity_liquid \(m/s\)":1e-22})
add_dumux_test(test_advection test_channel test_channel.cc dune_add_test(NAME test_purediffusion
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py TARGET test_stokes2c
--script fuzzy COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--files ${CMAKE_SOURCE_DIR}/test/references/stokes2c-advection.vtu CMD_ARGS --script fuzzy
${CMAKE_CURRENT_BINARY_DIR}/test_advection-00009.vtu --files ${CMAKE_SOURCE_DIR}/test/references/stokes2c-purediffusion.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_channel test_advection.input") ${CMAKE_CURRENT_BINARY_DIR}/test_purediffusion-00013.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_stokes2c test_purediffusion.input"
--zeroThreshold {"velocity_H2O \(m/s\)":1e-22})
add_dumux_test(test_stokes2cni_advection test_stokes2cni test_channel.cc dune_add_test(NAME test_advection
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py TARGET test_stokes2c
--script fuzzy COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
--files ${CMAKE_SOURCE_DIR}/test/references/stokes2cni-advection.vtu CMD_ARGS --script fuzzy
${CMAKE_CURRENT_BINARY_DIR}/test_stokes2cni_advection-00009.vtu --files ${CMAKE_SOURCE_DIR}/test/references/stokes2c-advection.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_stokes2cni test_stokes2cni_advection.input") ${CMAKE_CURRENT_BINARY_DIR}/test_advection-00009.vtu
target_compile_definitions(test_stokes2cni PUBLIC "NONISOTHERMAL=1") --command "${CMAKE_CURRENT_BINARY_DIR}/test_stokes2c test_advection.input")
add_dumux_test(test_stokes2cni_diffusion test_stokes2cni test_channel.cc add_executable(test_stokes2cni test_channel.cc)
python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py target_compile_definitions(test_stokes2cni PUBLIC "NONISOTHERMAL=1")
--script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/stokes2cni-diffusion.vtu
${CMAKE_CURRENT_BINARY_DIR}/test_stokes2cni_diffusion-00014.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_stokes2cni test_stokes2cni_diffusion.input")
dune_add_test(NAME test_stokes2cni_advection
TARGET test_stokes2cni
COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/stokes2cni-advection.vtu
${CMAKE_CURRENT_BINARY_DIR}/test_stokes2cni_advection-00009.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}//test_stokes2cni test_stokes2cni_advection.input")
#install sources dune_add_test(NAME test_stokes2cni_diffusion
install(FILES TARGET test_stokes2cni
test_densitydrivenflow.cc COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
densityflowproblem.hh CMD_ARGS --script fuzzy
test_channel.cc --files ${CMAKE_SOURCE_DIR}/test/references/stokes2cni-diffusion.vtu
channeltestproblem.hh ${CMAKE_CURRENT_BINARY_DIR}/test_stokes2cni_diffusion-00014.vtu
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/test/freeflow/staggerednc) --command "${CMAKE_CURRENT_BINARY_DIR}//test_stokes2cni test_stokes2cni_diffusion.input")
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