Skip to content
Snippets Groups Projects
Commit d77bf5ea authored by Melanie Lipp's avatar Melanie Lipp
Browse files

Merge branch 'fix/ff-restart-test' into 'master'

[test][navierstokes] Fix test name for CMake dependency

See merge request !1227
parents 392efcc3 644fcd62
No related branches found
No related tags found
1 merge request!1227[test][navierstokes] Fix test name for CMake dependency
...@@ -61,7 +61,7 @@ dune_add_test(NAME test_navierstokes_channel_restart ...@@ -61,7 +61,7 @@ dune_add_test(NAME test_navierstokes_channel_restart
--command "${CMAKE_CURRENT_BINARY_DIR}/test_channel test_channel_navierstokes.input -Vtk.WriteFaceData 1 -TimeLoop.DtInitial 1 -Restart.Time 1 -CellCenter.Restart.File test_channel_navierstokes-00001.vtu -Face.Restart.File test_channel_navierstokes-face-00001.vtp -Problem.Name test_channel_navierstokes_restart") --command "${CMAKE_CURRENT_BINARY_DIR}/test_channel test_channel_navierstokes.input -Vtk.WriteFaceData 1 -TimeLoop.DtInitial 1 -Restart.Time 1 -CellCenter.Restart.File test_channel_navierstokes-00001.vtu -Face.Restart.File test_channel_navierstokes-face-00001.vtp -Problem.Name test_channel_navierstokes_restart")
# the restart test has to run after the test that produces the corresponding vtu file # the restart test has to run after the test that produces the corresponding vtu file
set_tests_properties(test_navierstokes_channel_restart PROPERTIES DEPENDS test_channel_navierstokes) set_tests_properties(test_navierstokes_channel_restart PROPERTIES DEPENDS test_navierstokes_channel)
add_executable(test_channel_stokesni EXCLUDE_FROM_ALL test_channel.cc) add_executable(test_channel_stokesni EXCLUDE_FROM_ALL test_channel.cc)
target_compile_definitions(test_channel_stokesni PUBLIC "NONISOTHERMAL=1") target_compile_definitions(test_channel_stokesni PUBLIC "NONISOTHERMAL=1")
......
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