From 18cd1731f90bb88e084949e5d7da559f0f0d420b Mon Sep 17 00:00:00 2001 From: "Dennis.Glaeser" <dennis.glaeser@iws.uni-stuttgart.de> Date: Wed, 24 Apr 2019 13:58:24 +0200 Subject: [PATCH] [test][dambreak] move test to separate folder --- test/freeflow/shallowwater/CMakeLists.txt | 7 +------ test/freeflow/shallowwater/dambreak/CMakeLists.txt | 6 ++++++ test/freeflow/shallowwater/{ => dambreak}/main.cc | 0 test/freeflow/shallowwater/{ => dambreak}/params.input | 0 test/freeflow/shallowwater/{ => dambreak}/problem.hh | 0 .../shallowwater/{ => dambreak}/references/solution.csv | 0 test/freeflow/shallowwater/{ => dambreak}/spatialparams.hh | 0 7 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 test/freeflow/shallowwater/dambreak/CMakeLists.txt rename test/freeflow/shallowwater/{ => dambreak}/main.cc (100%) rename test/freeflow/shallowwater/{ => dambreak}/params.input (100%) rename test/freeflow/shallowwater/{ => dambreak}/problem.hh (100%) rename test/freeflow/shallowwater/{ => dambreak}/references/solution.csv (100%) rename test/freeflow/shallowwater/{ => dambreak}/spatialparams.hh (100%) diff --git a/test/freeflow/shallowwater/CMakeLists.txt b/test/freeflow/shallowwater/CMakeLists.txt index c86e8431ae..a176539f0f 100644 --- a/test/freeflow/shallowwater/CMakeLists.txt +++ b/test/freeflow/shallowwater/CMakeLists.txt @@ -1,6 +1 @@ -dune_symlink_to_source_files(FILES "params.input" references) - -dune_add_test(NAME test_shallowwater - SOURCES main.cc - COMPILE_DEFINITIONS TYPETAG=DamBreakWet - COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test_shallowwater) +add_subdirectory(dambreak) diff --git a/test/freeflow/shallowwater/dambreak/CMakeLists.txt b/test/freeflow/shallowwater/dambreak/CMakeLists.txt new file mode 100644 index 0000000000..c86e8431ae --- /dev/null +++ b/test/freeflow/shallowwater/dambreak/CMakeLists.txt @@ -0,0 +1,6 @@ +dune_symlink_to_source_files(FILES "params.input" references) + +dune_add_test(NAME test_shallowwater + SOURCES main.cc + COMPILE_DEFINITIONS TYPETAG=DamBreakWet + COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test_shallowwater) diff --git a/test/freeflow/shallowwater/main.cc b/test/freeflow/shallowwater/dambreak/main.cc similarity index 100% rename from test/freeflow/shallowwater/main.cc rename to test/freeflow/shallowwater/dambreak/main.cc diff --git a/test/freeflow/shallowwater/params.input b/test/freeflow/shallowwater/dambreak/params.input similarity index 100% rename from test/freeflow/shallowwater/params.input rename to test/freeflow/shallowwater/dambreak/params.input diff --git a/test/freeflow/shallowwater/problem.hh b/test/freeflow/shallowwater/dambreak/problem.hh similarity index 100% rename from test/freeflow/shallowwater/problem.hh rename to test/freeflow/shallowwater/dambreak/problem.hh diff --git a/test/freeflow/shallowwater/references/solution.csv b/test/freeflow/shallowwater/dambreak/references/solution.csv similarity index 100% rename from test/freeflow/shallowwater/references/solution.csv rename to test/freeflow/shallowwater/dambreak/references/solution.csv diff --git a/test/freeflow/shallowwater/spatialparams.hh b/test/freeflow/shallowwater/dambreak/spatialparams.hh similarity index 100% rename from test/freeflow/shallowwater/spatialparams.hh rename to test/freeflow/shallowwater/dambreak/spatialparams.hh -- GitLab