From: Matthias Maier Date: Fri, 13 Sep 2013 13:50:07 +0000 (+0000) Subject: Rearrange SOURCE_DIR/tests X-Git-Tag: v8.1.0~570^2~358 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90b0621a333ffcb9ae6a9fecbc40f081ebec1d91;p=dealii.git Rearrange SOURCE_DIR/tests git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30685 0785d39b-7218-0410-832d-ea1e28bc413d --- 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)