From 43b67055985ef9cd291d93f4c09c68bde893528a Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Thu, 17 Oct 2013 19:08:12 +0000 Subject: [PATCH] Provide a run_coverage.cmake script git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31290 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/run_coverage.cmake | 3 +++ tests/run_testsuite.cmake | 10 ++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 tests/run_coverage.cmake 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() -- 2.39.5