From: maier Date: Thu, 17 Oct 2013 19:08:12 +0000 (+0000) Subject: Provide a run_coverage.cmake script X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c00b6a5a276e02b4deb4ef58f3f757ca5ce0ff7f;p=dealii-svn.git Provide a run_coverage.cmake script git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31290 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/run_coverage.cmake b/tests/run_coverage.cmake new file mode 100644 index 0000000000..632ebf0fc4 --- /dev/null +++ b/tests/run_coverage.cmake @@ -0,0 +1,3 @@ +SET(TRACK "Experimental") +SET(COVERAGE TRUE) +INCLUDE(${CMAKE_CURRENT_LIST_DIR}/run_testsuite.cmake) diff --git a/tests/run_testsuite.cmake b/tests/run_testsuite.cmake index 6723f32917..00e7a1e294 100644 --- a/tests/run_testsuite.cmake +++ b/tests/run_testsuite.cmake @@ -21,8 +21,9 @@ IF( "${CTEST_BINARY_DIRECTORY}" STREQUAL "" AND "${CMAKE_CURRENT_BINARY_DIR}" STREQUAL "${CMAKE_CURRENT_LIST_DIR}" ) MESSAGE(FATAL_ERROR " -ctest was invoked in the source directory (or test source directory) and CTEST_BINARY_DIRECTORY is not set. -Please either call ctest from within a designated build directory, or set CTEST_BINARY_DIRECTORY accordingly. +ctest was invoked in the source directory (or test source directory) and +CTEST_BINARY_DIRECTORY is not set. Please either call ctest from within a +designated build directory, or set CTEST_BINARY_DIRECTORY accordingly. " ) ENDIF() @@ -42,8 +43,9 @@ ENDIF() IF(NOT EXISTS ${CTEST_SOURCE_DIRECTORY}/cmake/scripts/run_testsuite.cmake) MESSAGE(FATAL_ERROR " Could not find a suitable source directory. -There is no source directory \"../deal.II\" relative to the location of this script. -Please, set CTEST_SOURCE_DIRECTORY manually to the appropriate source directory. +There is no source directory \"../deal.II\" relative to the location of +this script. Please, set CTEST_SOURCE_DIRECTORY manually to the appropriate +source directory. " ) ENDIF()