diff options
author | David Cole <david.cole@kitware.com> | 2011-10-22 14:38:16 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2011-10-22 15:01:58 (GMT) |
commit | 2f309cba455d0a946e935f66a53561ba64717faf (patch) | |
tree | ec3ab5e4cc06c84d4958eba48334db4371a95b21 /Modules/DartConfiguration.tcl.in | |
parent | af772893b856b50697f18c9bb7b1a0fb326cf715 (diff) | |
download | CMake-2f309cba455d0a946e935f66a53561ba64717faf.zip CMake-2f309cba455d0a946e935f66a53561ba64717faf.tar.gz CMake-2f309cba455d0a946e935f66a53561ba64717faf.tar.bz2 |
CTest: Add COVERAGE_EXTRA_FLAGS cache variable (#12490)
COVERAGE_EXTRA_FLAGS is a space separated value of extra flags
that will be passed to gcov when ctest's coverage handler invokes
gcov to do coverage analysis.
Map to CoverageExtraFlags in the CTest ini file. Use default value
of "-l" to match the coverage handler's earlier behavior from ctest
2.8.4 and earlier. The fix for related issue #11717 had added a " -p"
which was the cause of both #12415 and #12490. Here, we revert that
change to the default value, so -p is no longer there by default.
The people that care to add -p may do so in their own build trees
by appending " -p" to the new cache variable COVERAGE_EXTRA_FLAGS.
Diffstat (limited to 'Modules/DartConfiguration.tcl.in')
-rw-r--r-- | Modules/DartConfiguration.tcl.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/DartConfiguration.tcl.in b/Modules/DartConfiguration.tcl.in index caf0afe..ad7f805 100644 --- a/Modules/DartConfiguration.tcl.in +++ b/Modules/DartConfiguration.tcl.in @@ -59,14 +59,17 @@ UpdateType: @UPDATE_TYPE@ # Compiler info Compiler: @CMAKE_CXX_COMPILER@ -# Dynamic analysis and coverage +# Dynamic analysis (MemCheck) PurifyCommand: @PURIFYCOMMAND@ ValgrindCommand: @VALGRIND_COMMAND@ ValgrindCommandOptions: @VALGRIND_COMMAND_OPTIONS@ MemoryCheckCommand: @MEMORYCHECK_COMMAND@ MemoryCheckCommandOptions: @MEMORYCHECK_COMMAND_OPTIONS@ MemoryCheckSuppressionFile: @MEMORYCHECK_SUPPRESSIONS_FILE@ + +# Coverage CoverageCommand: @COVERAGE_COMMAND@ +CoverageExtraFlags: @COVERAGE_EXTRA_FLAGS@ # Cluster commands SlurmBatchCommand: @SLURM_SBATCH_COMMAND@ |