diff options
author | Zack Galbreath <zack.galbreath@kitware.com> | 2016-03-31 18:17:03 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-04-07 12:53:30 (GMT) |
commit | 8ea1b0df58a65092a8c82cb5491f6d0af08ba8e7 (patch) | |
tree | e0f1b704a5aaceac0b60a8654e20677098fc0c09 /Modules/CTestCoverageCollectGCOV.cmake | |
parent | 425d76468564b6b4d2593c8775f5ce6d763f052d (diff) | |
download | CMake-8ea1b0df58a65092a8c82cb5491f6d0af08ba8e7.zip CMake-8ea1b0df58a65092a8c82cb5491f6d0af08ba8e7.tar.gz CMake-8ea1b0df58a65092a8c82cb5491f6d0af08ba8e7.tar.bz2 |
CTestCoverageCollectGCOV: Improve documentation
Clean up prose and mention support for CTEST_EXTRA_COVERAGE_GLOB.
Diffstat (limited to 'Modules/CTestCoverageCollectGCOV.cmake')
-rw-r--r-- | Modules/CTestCoverageCollectGCOV.cmake | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/Modules/CTestCoverageCollectGCOV.cmake b/Modules/CTestCoverageCollectGCOV.cmake index 3b74631..7df9666 100644 --- a/Modules/CTestCoverageCollectGCOV.cmake +++ b/Modules/CTestCoverageCollectGCOV.cmake @@ -2,14 +2,19 @@ # CTestCoverageCollectGCOV # ------------------------ # -# This module provides the function ``ctest_coverage_collect_gcov``. -# The function will run gcov on the .gcda files in a binary tree and then -# package all of the .gcov files into a tar file with a data.json that -# contains the source and build directories for CDash to use in parsing -# the coverage data. In addtion the Labels.json files for targets that -# have coverage information are also put in the tar file for CDash to -# asign the correct labels. This file can be sent to a CDash server for -# display with the +# This module provides the ``ctest_coverage_collect_gcov`` function. +# +# This function runs gcov on all .gcda files found in the binary tree +# and packages the resulting .gcov files into a tar file. +# This tarball also contains the following: +# +# * *data.json* defines the source and build directories for use by CDash. +# * *Labels.json* indicates any :prop_sf:`LABELS` that have been set on the +# source files. +# * The *uncovered* directory holds any uncovered files found by +# :variable:`CTEST_EXTRA_COVERAGE_GLOB`. +# +# After generating this tar file, it can be sent to CDash for display with the # :command:`ctest_submit(CDASH_UPLOAD)` command. # # .. command:: cdash_coverage_collect_gcov |