ADD_SUBDIRECTORY(contrib) # has to be included after source
ADD_SUBDIRECTORY(examples)
-ADD_SUBDIRECTORY(tests)
+INCLUDE(setup_testsuite)
#
# And finally, print the configuration:
# CTEST_COVERAGE() stage will be run. Test results must go into the
# "Experimental" section.
#
+# MAKEOPTS
+# - Additional options that will be passed directly to make (or ninja).
+#
# Furthermore, the following variables controlling the testsuite can be set
# and will be automatically handed down to cmake:
#
# Assemble configuration options, we need it now:
#
+IF("${MAKEOPTS}" STREQUAL "")
+ SET(MAKEOPTS $ENV{MAKEOPTS})
+ENDIF()
+
IF(NOT "${CONFIG_FILE}" STREQUAL "")
SET(_options "-C${CONFIG_FILE}")
ENDIF()
_var MATCHES "^(UMFPACK|ZLIB|LAPACK)_" OR
_var MATCHES "^(CMAKE|DEAL_II)_(C|CXX|Fortran|BUILD)_(COMPILER|FLAGS)" OR
_var MATCHES "^CMAKE_BUILD_TYPE$" OR
+ _var MATCHES "MAKEOPTS" OR
( NOT _var MATCHES "^[_]*CMAKE" AND _var MATCHES "_DIR$" ) )
LIST(APPEND _options "-D${_var}=${${_var}}")
ENDIF()
)
ENDMACRO()
-MESSAGE("-- CMake Options: ${_options}")
+MESSAGE("-- CMake Options: ${_options}")
+
+IF(NOT "${MAKEOPTS}" STREQUAL "")
+ MESSAGE("-- MAKEOPTS: ${MAKEOPTS}")
+ENDIF()
########################################################################
# Only run the build stage if configure was successful:
MESSAGE("-- Running CTEST_BUILD()")
- CTEST_BUILD(TARGET NUMBER_ERRORS _res)
+ CTEST_BUILD(TARGET ${MAKEOPTS} NUMBER_ERRORS _res)
IF("${_res}" STREQUAL "0")
# Only run tests if the build was successful:
MESSAGE("-- Running make setup_tests")
EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND}
--build ${CTEST_BINARY_DIRECTORY} --target setup_tests
+ -- ${MAKEOPTS}
OUTPUT_QUIET RESULT_VARIABLE _res
)
IF(NOT "${_res}" STREQUAL "0")
--- /dev/null
+## ---------------------------------------------------------------------
+## $Id$
+##
+## Copyright (C) 2013 by the deal.II authors
+##
+## This file is part of the deal.II library.
+##
+## The deal.II library is free software; you can use it, redistribute
+## it, and/or modify it under the terms of the GNU Lesser General
+## Public License as published by the Free Software Foundation; either
+## version 2.1 of the License, or (at your option) any later version.
+## The full text of the license can be found in the file LICENSE at
+## the top level of the deal.II distribution.
+##
+## ---------------------------------------------------------------------
+
+#
+# Setup necessary configuration in the testsuite subprojects.
+# This file is directly included by the test subprojects and not by the
+# main project.
+#
+# It is assumed that the following variables are set:
+#
+# DEAL_II_BINARY_DIR
+# DEAL_II_SOURCE_DIR
+# - pointing to a source and binary directory of a deal.II build
+#
+# This file sets up the following options, that can be overwritten by
+# environment or command line:
+#
+# TEST_DIFF
+# TEST_OVERRIDE_LOCATION
+# TEST_PICKUP_REGEX
+# TEST_TIME_LIMIT
+#
+
+#
+# Load all macros:
+#
+FILE(GLOB _macro_files ${DEAL_II_SOURCE_DIR}/cmake/macros/*.cmake)
+FOREACH(_file ${_macro_files})
+ INCLUDE(${_file})
+ENDFOREACH()
+
+#
+# Pick up values from environment:
+#
+FOREACH(_var
+ DEAL_II_BINARY_DIR
+ DEAL_II_SOURCE_DIR
+ TEST_DIFF
+ TEST_TIME_LIMIT
+ TEST_PICKUP_REGEX
+ TEST_OVERRIDE_LOCATION
+ )
+ # Environment wins:
+ IF(DEFINED ENV{${_var}})
+ SET(${_var} $ENV{${_var}})
+ ENDIF()
+ IF(NOT "${_var}" STREQUAL "")
+ SET(${_var} "${${_var}}" CACHE STRING "")
+ ENDIF()
+ENDFOREACH()
+
+#
+# We need deal.II and Perl as external packages:
+#
+
+FIND_PACKAGE(deal.II 8.0 REQUIRED
+ HINTS ${DEAL_II_BINARY_DIR} ${DEAL_II_DIR}
+ )
+SET(CMAKE_CXX_COMPILER ${DEAL_II_CXX_COMPILER} CACHE STRING "CXX Compiler.")
+
+FIND_PACKAGE(Perl REQUIRED)
+
+#
+# We need a diff tool, preferably numdiff:
+#
+
+FIND_PROGRAM(DIFF_EXECUTABLE
+ NAMES diff
+ HINTS ${DIFF_DIR}
+ PATH_SUFFIXES bin
+ )
+
+FIND_PROGRAM(NUMDIFF_EXECUTABLE
+ NAMES numdiff
+ HINTS ${NUMDIFF_DIR}
+ PATH_SUFFIXES bin
+ )
+
+MARK_AS_ADVANCED(DIFF_EXECUTABLE NUMDIFF_EXECUTABLE)
+
+IF("${TEST_DIFF}" STREQUAL "")
+ #
+ # No TEST_DIFF is set, specify one:
+ #
+
+ IF(NOT NUMDIFF_EXECUTABLE MATCHES "-NOTFOUND")
+ SET(TEST_DIFF ${NUMDIFF_EXECUTABLE} -a 1e-6 -r 1e-8 -s ' \\t\\n:')
+ ELSEIF(NOT DIFF_EXECUTABLE MATCHES "-NOTFOUND")
+ SET(TEST_DIFF ${DIFF_EXECUTABLE})
+ ELSE()
+ MESSAGE(FATAL_ERROR
+ "Could not find diff or numdiff. One of those are required for running the testsuite.\n"
+ "Please specify TEST_DIFF by hand."
+ )
+ ENDIF()
+ENDIF()
+
+#
+# Set a default time limit of 600 seconds:
+#
+
+SET_IF_EMPTY(TEST_TIME_LIMIT 600)
+
+#
+# And finally, enable testing:
+#
+
+ENABLE_TESTING()
+
+#
+# A custom target that does absolutely nothing. It is used in the main
+# project to trigger a "make rebuild_cache" if necessary.
+#
+
+ADD_CUSTOM_TARGET(regenerate)
## ---------------------------------------------------------------------
#
-# Setup necessary configuration in the testsuite subprojects.
-# This file is directly included by the test subprojects and not by the
-# main project.
-#
-# It is assumed that the following variables are set:
-#
-# DEAL_II_BINARY_DIR
-# DEAL_II_SOURCE_DIR
-# - pointing to a source and binary directory of a deal.II build
-#
-# This file sets up the following options, that can be overwritten by
-# environment or command line:
-#
-# TEST_DIFF
-# TEST_OVERRIDE_LOCATION
-# TEST_PICKUP_REGEX
-# TEST_TIME_LIMIT
+# Setup the testsuite. The top level targets defined here merely act as a
+# multiplexer for the ./tets/ project where all the actual work is
+# done...
#
-#
-# Load all macros:
-#
-FILE(GLOB _macro_files ${DEAL_II_SOURCE_DIR}/cmake/macros/*.cmake)
-FOREACH(_file ${_macro_files})
- INCLUDE(${_file})
-ENDFOREACH()
+SET_IF_EMPTY(MAKEOPTS $ENV{MAKEOPTS})
-#
-# Pick up values from environment:
-#
-FOREACH(_var
- DEAL_II_BINARY_DIR
- DEAL_II_SOURCE_DIR
- TEST_DIFF
- TEST_TIME_LIMIT
- TEST_PICKUP_REGEX
- TEST_OVERRIDE_LOCATION
+MESSAGE(STATUS "")
+MESSAGE(STATUS "Setup testsuite with TEST_DIR ${TEST_DIR}")
+
+ADD_SUBDIRECTORY(
+ ${CMAKE_SOURCE_DIR}/tests/quick_tests
+ ${CMAKE_BINARY_DIR}/tests/quick_tests
)
- # Environment wins:
- IF(DEFINED ENV{${_var}})
- SET(${_var} $ENV{${_var}})
- ENDIF()
- IF(NOT "${_var}" STREQUAL "")
- SET(${_var} "${${_var}}" CACHE STRING "")
- ENDIF()
-ENDFOREACH()
#
-# We need deal.II and Perl as external packages:
+# Write a minimalistic CTestTestfile.cmake file to CMAKE_BINARY_DIR and
+# CMAKE_BINARY_DIR/tests:
#
-FIND_PACKAGE(deal.II 8.0 REQUIRED
- HINTS ${DEAL_II_BINARY_DIR} ${DEAL_II_DIR}
+FILE(WRITE ${CMAKE_BINARY_DIR}/CTestTestfile.cmake
+ "SUBDIRS(tests)"
)
-SET(CMAKE_CXX_COMPILER ${DEAL_II_CXX_COMPILER} CACHE STRING "CXX Compiler.")
-FIND_PACKAGE(Perl REQUIRED)
+FILE(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/tests)
+FILE(WRITE ${CMAKE_BINARY_DIR}/tests/CTestTestfile.cmake "")
#
-# We need a diff tool, preferably numdiff:
+# Custom targets to set and clean up the testsuite:
#
-FIND_PROGRAM(DIFF_EXECUTABLE
- NAMES diff
- HINTS ${DIFF_DIR}
- PATH_SUFFIXES bin
+# Setup tests:
+ADD_CUSTOM_TARGET(setup_tests
+ COMMAND ${CMAKE_COMMAND}
+ --build ${CMAKE_BINARY_DIR}/tests --target setup_tests
+ -- ${MAKEOPTS}
)
-FIND_PROGRAM(NUMDIFF_EXECUTABLE
- NAMES numdiff
- HINTS ${NUMDIFF_DIR}
- PATH_SUFFIXES bin
- )
+# Depend on a compiled library:
+ADD_DEPENDENCIES(setup_tests build_library)
-MARK_AS_ADVANCED(DIFF_EXECUTABLE NUMDIFF_EXECUTABLE)
-
-IF("${TEST_DIFF}" STREQUAL "")
- #
- # No TEST_DIFF is set, specify one:
- #
-
- IF(NOT NUMDIFF_EXECUTABLE MATCHES "-NOTFOUND")
- SET(TEST_DIFF ${NUMDIFF_EXECUTABLE} -a 1e-6 -r 1e-8 -s ' \\t\\n:')
- ELSEIF(NOT DIFF_EXECUTABLE MATCHES "-NOTFOUND")
- SET(TEST_DIFF ${DIFF_EXECUTABLE})
- ELSE()
- MESSAGE(FATAL_ERROR
- "Could not find diff or numdiff. One of those are required for running the testsuite.\n"
- "Please specify TEST_DIFF by hand."
- )
- ENDIF()
-ENDIF()
+# Regenerate tests (run "make rebuild_cache" in subprojects):
+ADD_CUSTOM_TARGET(regen_tests
+ COMMAND ${CMAKE_COMMAND}
+ --build ${CMAKE_BINARY_DIR}/tests --target regen_tests
+ -- ${MAKEOPTS}
+ )
-#
-# Set a default time limit of 600 seconds:
-#
+# Clean all tests
+ADD_CUSTOM_TARGET(clean_tests
+ COMMAND ${CMAKE_COMMAND}
+ --build ${CMAKE_BINARY_DIR}/tests --target clean_tests
+ -- ${MAKEOPTS}
+ )
-SET_IF_EMPTY(TEST_TIME_LIMIT 600)
+# Remove all tests:
+ADD_CUSTOM_TARGET(prune_tests
+ COMMAND ${CMAKE_COMMAND}
+ --build ${CMAKE_BINARY_DIR}/tests --target prune_tests
+ -- ${MAKEOPTS}
+ )
#
-# And finally, enable testing:
+# Setup the testsuite and pass all relevant "TEST_" and "_DIR" variables
+# down to it:
#
-ENABLE_TESTING()
+MESSAGE(STATUS "Setup testsuite")
-#
-# A custom target that does absolutely nothing. It is used in the main
-# project to trigger a "make rebuild_cache" if necessary.
-#
+SET(_options)
+LIST(APPEND _options -DDEAL_II_SOURCE_DIR=${CMAKE_SOURCE_DIR})
+LIST(APPEND _options -DDEAL_II_BINARY_DIR=${CMAKE_BINARY_DIR})
+FOREACH(_var
+ DIFF_DIR NUMDIFF_DIR TEST_DIR TEST_DIFF TEST_OVERRIDE_LOCATION
+ TEST_PICKUP_REGEX TEST_TIME_LIMIT
+ )
+ # always undefine:
+ LIST(APPEND _options "-U${_var}")
+ IF(DEFINED ${_var})
+ LIST(APPEND _options "-D${_var}=${${_var}}")
+ ENDIF()
+ENDFOREACH()
-ADD_CUSTOM_TARGET(regenerate)
+EXECUTE_PROCESS(
+ COMMAND ${CMAKE_COMMAND} -G${CMAKE_GENERATOR} ${_options}
+ ${CMAKE_SOURCE_DIR}/tests
+ WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/tests
+ OUTPUT_QUIET
+ )
+MESSAGE(STATUS "Setup testsuite - Done")
+
+MESSAGE(STATUS "Regenerating testsuite subprojects")
+EXECUTE_PROCESS(
+ COMMAND ${CMAKE_COMMAND}
+ --build ${CMAKE_BINARY_DIR}/tests --target regen_tests
+ -- ${MAKEOPTS}
+ OUTPUT_QUIET
+ )
+MESSAGE(STATUS "Regenerating testsuite subprojects - Done")
+MESSAGE(STATUS "")
<li><a href="#run">Running the testsuite</a></li>
<ol>
<li><a href="#runoutput">How to interpret the output</a></li>
+ <li><a href="#runmakeopts">Parallelize testsuite configuration</a></li>
</ol>
<li><a href="#layout">Testsuite development</a></li>
<ol>
</p>
+ <a name="runmakeopts"></a>
+ <h3>Parallelize testsuite configuration</h3>
+
+ <p>
+ If you have set up a good portion of the testsuite you'll notice that a
+ reconfiguration of the build directory takes a noticeable time (in the
+ order of minutes instead of seconds) with
+ <code>Reconfiguring testsuite subprojects</code>.
+ By default (with the "Unix Makefiles" generator) this is due to the
+ fact that the reconfiguration processes the subprojects sequentally.
+ If you want to increase the parallelism, specify e.g.
+ <code>MAKEOPTS="-j8"</code> as environment variable or as CMake
+ variable.
+ </p>
+ <p>
+ Alternatively, you can use <code>Ninja</code>.
+ </p>
+
+
+
<a name="layout"></a>
<h2>Testsuite development</h2>
<pre>
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
- INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsuite.cmake)
+ INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsubproject.cmake)
PROJECT(testsuite CXX)
INCLUDE(${DEAL_II_TARGET_CONFIG})
DEAL_II_PICKUP_TESTS()
that will be used during the configuration stage (invokes
$ cmake -C ${CONFIG_FILE}). This only has an effect if
CTEST_BINARY_DIRECTORY is empty.
+
+ MAKEOPTS
+ - Additional options that will be passed directly to make (or ninja).
</pre>
Furthermore, the variables described <a href="#setupconfigure">above</a> can also be
set and will be handed automatically down to <code>cmake</code>.
##
## ---------------------------------------------------------------------
+IF(NOT DEFINED DEAL_II_SOURCE_DIR OR NOT DEFINED DEAL_II_BINARY_DIR)
+ MESSAGE(FATAL_ERROR "\n
+ The testsuite cannot be set up as an independent project.
+ Please configure \"deal.II\" directly instead.\n\n"
+ )
+ENDIF()
+
+CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
+PROJECT(testsuite NONE)
+
#
# This is a bloody hack to avoid a severe performance penalty when using
# 12k top level targets with GNU Make that really does not like that...
# The only choice we have is to set up every test subdirectory as an
# independent project. Unfortunately this adds quite a significant amount
# of complexity :-(
-#
-
-MESSAGE(STATUS "")
-MESSAGE(STATUS "Setup testsuite with TEST_DIR ${TEST_DIR}")
-ADD_SUBDIRECTORY(quick_tests)
#
# Custom targets to set and clean up the testsuite:
ADD_CUSTOM_TARGET(prune_tests)
#
-# Write a minimalistic CTestTestfile.cmake file to CMAKE_BINARY_DIR and
-# CMAKE_CURRENT_BINARY_DIR:
+# Be as quiet as possible:
#
-FILE(WRITE ${CMAKE_BINARY_DIR}/CTestTestfile.cmake
- "SUBDIRS(tests)"
- )
-FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/CTestTestfile.cmake "")
+
+IF(CMAKE_SYSTEM_NAME MATCHES "Windows")
+ SET(_shoo)
+ELSE()
+ SET(_shoo >/dev/null)
+ENDIF()
#
-# Pass all relevant "TEST_" and "_DIR" variables down to the subprojects:
+# Pass down all relevant configuration:
#
+
SET(_options)
-LIST(APPEND _options -DDEAL_II_SOURCE_DIR=${CMAKE_SOURCE_DIR})
-LIST(APPEND _options -DDEAL_II_BINARY_DIR=${CMAKE_BINARY_DIR})
FOREACH(_var
- DIFF_DIR
- NUMDIFF_DIR
- TEST_DIFF
- TEST_OVERRIDE_LOCATION
- TEST_PICKUP_REGEX
- TEST_TIME_LIMIT
+ DEAL_II_SOURCE_DIR DEAL_II_BINARY_DIR DIFF_DIR NUMDIFF_DIR
+ TEST_DIFF TEST_OVERRIDE_LOCATION TEST_PICKUP_REGEX TEST_TIME_LIMIT
)
# always undefine:
LIST(APPEND _options "-U${_var}")
ENDIF()
ENDFOREACH()
-# Be as quiet as possible:
-IF(CMAKE_SYSTEM_NAME MATCHES "Windows")
- SET(_shoo)
-ELSE()
- SET(_shoo >/dev/null)
-ENDIF()
-
#
# Glob together a list of all subfolders to set up:
#
+
FILE(GLOB _categories RELATIVE ${TEST_DIR} ${TEST_DIR}/*)
SET(_categories all-headers build_tests mesh_converter ${_categories})
LIST(REMOVE_DUPLICATES _categories)
# Define a subproject for every enabled category:
#
-MESSAGE(STATUS "Regenerating testsuite subprojects")
-
FOREACH(_category ${_categories})
- IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${_category}/CMakeLists.txt)
- SET(_category_dir ${CMAKE_CURRENT_SOURCE_DIR}/${_category})
+ IF(EXISTS ${CMAKE_SOURCE_DIR}/${_category}/CMakeLists.txt)
+ SET(_category_dir ${CMAKE_SOURCE_DIR}/${_category})
ELSEIF(EXISTS ${TEST_DIR}/${_category}/CMakeLists.txt)
SET(_category_dir ${TEST_DIR}/${_category})
ELSE()
ADD_CUSTOM_TARGET(setup_tests_${_category}
COMMAND ${CMAKE_COMMAND} -E make_directory
- ${CMAKE_CURRENT_BINARY_DIR}/${_category}
- COMMAND cd ${CMAKE_CURRENT_BINARY_DIR}/${_category} &&
+ ${CMAKE_BINARY_DIR}/${_category}
+ COMMAND cd ${CMAKE_BINARY_DIR}/${_category} &&
${CMAKE_COMMAND} -G${CMAKE_GENERATOR} ${_options} ${_category_dir}
${_shoo}
DEPENDS ${_category_dir}
)
ADD_DEPENDENCIES(setup_tests setup_tests_${_category})
- # depend on a compiled library:
- ADD_DEPENDENCIES(setup_tests_${_category} build_library)
-
ADD_CUSTOM_TARGET(regen_tests_${_category}
COMMAND [ ! -d ${_category} ] || ${CMAKE_COMMAND}
- --build ${CMAKE_CURRENT_BINARY_DIR}/${_category} --target regenerate
+ --build ${CMAKE_BINARY_DIR}/${_category} --target regenerate
${_shoo}
)
ADD_DEPENDENCIES(regen_tests regen_tests_${_category})
ADD_CUSTOM_TARGET(clean_tests_${_category}
COMMAND [ ! -d ${_category} ] || ${CMAKE_COMMAND}
- --build ${CMAKE_CURRENT_BINARY_DIR}/${_category} --target clean
+ --build ${CMAKE_BINARY_DIR}/${_category} --target clean
${_shoo}
)
ADD_DEPENDENCIES(clean_tests clean_tests_${_category})
ADD_CUSTOM_TARGET(prune_tests_${_category}
COMMAND ${CMAKE_COMMAND} -E remove_directory
- ${CMAKE_CURRENT_BINARY_DIR}/${_category}
+ ${CMAKE_BINARY_DIR}/${_category}
)
ADD_DEPENDENCIES(prune_tests prune_tests_${_category})
- FILE(APPEND ${CMAKE_CURRENT_BINARY_DIR}/CTestTestfile.cmake
+ FILE(APPEND ${CMAKE_BINARY_DIR}/CTestTestfile.cmake
"SUBDIRS(${_category})\n"
)
- #
- # Regenerate subprojects: The "regenerate" target of the subproject
- # depends on "rebuild_cache" so that the subprojects rerun cmake if
- # necessary.
- # (TODO: Unfortunately this is sequential - due to the fact that we
- # cannot call back into the main build system)
- #
-
- IF(EXISTS ${CMAKE_CURRENT_BINARY_DIR}/${_category}/CMakeCache.txt)
- EXECUTE_PROCESS(
- COMMAND ${CMAKE_COMMAND}
- --build ${CMAKE_CURRENT_BINARY_DIR}/${_category} --target regenerate
- OUTPUT_QUIET
- )
- ENDIF()
-
ENDIF()
ENDFOREACH()
-MESSAGE(STATUS "Regenerating testsuite subprojects - Done")
-MESSAGE(STATUS "")
## ---------------------------------------------------------------------
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
-INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsuite.cmake)
+INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsubproject.cmake)
PROJECT(testsuite CXX)
INCLUDE(${DEAL_II_TARGET_CONFIG})
## ---------------------------------------------------------------------
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
-INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsuite.cmake)
+INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsubproject.cmake)
PROJECT(testsuite CXX)
INCLUDE(${DEAL_II_TARGET_CONFIG})
## ---------------------------------------------------------------------
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
-INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsuite.cmake)
+INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsubproject.cmake)
PROJECT(testsuite CXX)
INCLUDE(${DEAL_II_TARGET_CONFIG})
+CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
+PROJECT(TESTSUITE NONE)
+
MESSAGE(FATAL_ERROR "\n
The testsuite cannot be set up as an independent project.
Please configure \"deal.II\" directly instead.\n\n"
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
-INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsuite.cmake)
+INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsubproject.cmake)
PROJECT(testsuite CXX)
INCLUDE(${DEAL_II_TARGET_CONFIG})
DEAL_II_PICKUP_TESTS()
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
-INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsuite.cmake)
+INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsubproject.cmake)
PROJECT(testsuite CXX)
INCLUDE(${DEAL_II_TARGET_CONFIG})
DEAL_II_PICKUP_TESTS()
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
-INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsuite.cmake)
+INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsubproject.cmake)
PROJECT(testsuite CXX)
INCLUDE(${DEAL_II_TARGET_CONFIG})
DEAL_II_PICKUP_TESTS()
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
-INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsuite.cmake)
+INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsubproject.cmake)
PROJECT(testsuite CXX)
INCLUDE(${DEAL_II_TARGET_CONFIG})
DEAL_II_PICKUP_TESTS()
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
-INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsuite.cmake)
+INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsubproject.cmake)
PROJECT(testsuite CXX)
INCLUDE(${DEAL_II_TARGET_CONFIG})
DEAL_II_PICKUP_TESTS()
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
-INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsuite.cmake)
+INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsubproject.cmake)
PROJECT(testsuite CXX)
INCLUDE(${DEAL_II_TARGET_CONFIG})
DEAL_II_PICKUP_TESTS()
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
-INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsuite.cmake)
+INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsubproject.cmake)
PROJECT(testsuite CXX)
INCLUDE(${DEAL_II_TARGET_CONFIG})
IF(DEAL_II_WITH_P4EST)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
-INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsuite.cmake)
+INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsubproject.cmake)
PROJECT(testsuite CXX)
INCLUDE(${DEAL_II_TARGET_CONFIG})
DEAL_II_PICKUP_TESTS()
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
-INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsuite.cmake)
+INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsubproject.cmake)
PROJECT(testsuite CXX)
INCLUDE(${DEAL_II_TARGET_CONFIG})
IF(DEAL_II_WITH_MPI AND DEAL_II_WITH_P4EST)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
-INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsuite.cmake)
+INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsubproject.cmake)
PROJECT(testsuite CXX)
INCLUDE(${DEAL_II_TARGET_CONFIG})
DEAL_II_PICKUP_TESTS()
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
-INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsuite.cmake)
+INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsubproject.cmake)
PROJECT(testsuite CXX)
INCLUDE(${DEAL_II_TARGET_CONFIG})
DEAL_II_PICKUP_TESTS()
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
-INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsuite.cmake)
+INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsubproject.cmake)
PROJECT(testsuite CXX)
INCLUDE(${DEAL_II_TARGET_CONFIG})
DEAL_II_PICKUP_TESTS()
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
-INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsuite.cmake)
+INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsubproject.cmake)
PROJECT(testsuite CXX)
INCLUDE(${DEAL_II_TARGET_CONFIG})
DEAL_II_PICKUP_TESTS()
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
-INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsuite.cmake)
+INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsubproject.cmake)
PROJECT(testsuite CXX)
INCLUDE(${DEAL_II_TARGET_CONFIG})
IF(DEAL_II_WITH_LAPACK)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
-INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsuite.cmake)
+INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsubproject.cmake)
PROJECT(testsuite CXX)
INCLUDE(${DEAL_II_TARGET_CONFIG})
DEAL_II_PICKUP_TESTS()
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
-INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsuite.cmake)
+INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsubproject.cmake)
PROJECT(testsuite CXX)
INCLUDE(${DEAL_II_TARGET_CONFIG})
IF(DEAL_II_WITH_METIS)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
-INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsuite.cmake)
+INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsubproject.cmake)
PROJECT(testsuite CXX)
INCLUDE(${DEAL_II_TARGET_CONFIG})
IF(DEAL_II_WITH_MPI AND DEAL_II_WITH_P4EST)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
-INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsuite.cmake)
+INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsubproject.cmake)
PROJECT(testsuite CXX)
INCLUDE(${DEAL_II_TARGET_CONFIG})
DEAL_II_PICKUP_TESTS()
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
-INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsuite.cmake)
+INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsubproject.cmake)
PROJECT(testsuite CXX)
INCLUDE(${DEAL_II_TARGET_CONFIG})
IF(DEAL_II_WITH_PETSC)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
-INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsuite.cmake)
+INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsubproject.cmake)
PROJECT(testsuite CXX)
INCLUDE(${DEAL_II_TARGET_CONFIG})
DEAL_II_PICKUP_TESTS()
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
-INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsuite.cmake)
+INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsubproject.cmake)
PROJECT(testsuite CXX)
INCLUDE(${DEAL_II_TARGET_CONFIG})
IF((DEAL_II_WITH_PETSC) AND (DEAL_II_WITH_SLEPC))
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
-INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsuite.cmake)
+INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsubproject.cmake)
PROJECT(testsuite CXX)
INCLUDE(${DEAL_II_TARGET_CONFIG})
IF(DEAL_II_WITH_TRILINOS)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
-INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsuite.cmake)
+INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsubproject.cmake)
PROJECT(testsuite CXX)
INCLUDE(${DEAL_II_TARGET_CONFIG})
IF(DEAL_II_WITH_UMFPACK)