From 90b0621a333ffcb9ae6a9fecbc40f081ebec1d91 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Fri, 13 Sep 2013 13:50:07 +0000 Subject: [PATCH] Rearrange SOURCE_DIR/tests git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30685 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/CMakeLists.txt | 3 +-- deal.II/build_tests/CMakeLists.txt | 0 deal.II/{tests => build_tests}/threads/affinity.cc | 0 deal.II/tests/CMakeLists.txt | 1 - 4 files changed, 1 insertion(+), 3 deletions(-) create mode 100644 deal.II/build_tests/CMakeLists.txt rename deal.II/{tests => build_tests}/threads/affinity.cc (100%) delete mode 100644 deal.II/tests/CMakeLists.txt diff --git a/deal.II/CMakeLists.txt b/deal.II/CMakeLists.txt index b988e52e7f..7dcd959cf0 100644 --- a/deal.II/CMakeLists.txt +++ b/deal.II/CMakeLists.txt @@ -147,10 +147,9 @@ ADD_SUBDIRECTORY(cmake/config) # has to be included after source ADD_SUBDIRECTORY(contrib) # has to be included after source ADD_SUBDIRECTORY(examples) +ADD_SUBDIRECTORY(build_tests) IF(BUILD_TESTING AND DEAL_II_HAVE_TESTS_DIRECTORY) ADD_SUBDIRECTORY(${TEST_DIR} ${CMAKE_BINARY_DIR}/tests) -ELSE() - ADD_SUBDIRECTORY(tests) ENDIF() # diff --git a/deal.II/build_tests/CMakeLists.txt b/deal.II/build_tests/CMakeLists.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/deal.II/tests/threads/affinity.cc b/deal.II/build_tests/threads/affinity.cc similarity index 100% rename from deal.II/tests/threads/affinity.cc rename to deal.II/build_tests/threads/affinity.cc diff --git a/deal.II/tests/CMakeLists.txt b/deal.II/tests/CMakeLists.txt deleted file mode 100644 index e589767e55..0000000000 --- a/deal.II/tests/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -ADD_TEST(foobar true) -- 2.39.5