From 4306616e3399a62af3c4268474a3b86e33a1c265 Mon Sep 17 00:00:00 2001 From: maier Date: Thu, 17 Oct 2013 17:59:59 +0000 Subject: [PATCH] Fix comments git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31288 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/cmake/scripts/run_testsuite.cmake | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/deal.II/cmake/scripts/run_testsuite.cmake b/deal.II/cmake/scripts/run_testsuite.cmake index 58ee5d6013..851126ebac 100644 --- a/deal.II/cmake/scripts/run_testsuite.cmake +++ b/deal.II/cmake/scripts/run_testsuite.cmake @@ -79,8 +79,9 @@ # # COVERAGE # - If set to TRUE deal.II will be configured with -# DEAL_II_SETUP_COVERAGE=TRUE and the CTEST_COVERAGE() stage will -# be run. Test results must go into the "Experimental" section +# DEAL_II_SETUP_COVERAGE=TRUE, CMAKE_BUILD_TYPE=Debug and the +# CTEST_COVERAGE() stage will be run. Test results must go into the +# "Experimental" section. # # Furthermore, the following variables controlling the testsuite can be set # and will be automatically handed down to cmake: @@ -387,12 +388,20 @@ SET(CTEST_NOTES_FILES # Setup coverage: # IF(COVERAGE) + IF(NOT TRACK MATCHES "Experimental") + MESSAGE(FATAL_ERROR " +TRACK must be set to \"Experimental\" if Coverage is enabled via +COVERAGE=TRUE. +" + ) + ENDIF() + FIND_PROGRAM(GCOV_COMMAND NAMES gcov) IF(GCOV_COMMAND MATCHES "-NOTFOUND") MESSAGE(FATAL_ERROR " -TRACK was set to \"Build Tests\" which requires the source directory to be -under Subversion version control. +Coverage enabled but could not find the gcov executable. Please install +gcov, which is part of the GNU Compiler Collection. " ) ENDIF() @@ -500,4 +509,4 @@ IF("${_res}" STREQUAL "0") MESSAGE("-- Submission successful. Goodbye!") ENDIF() -# .oO( This script is freaky 503 lines long... ) +# .oO( This script is freaky 511 lines long... ) -- 2.39.5