summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestCoverageHandler.h
diff options
context:
space:
mode:
authorVolkan Gezer <volkangezer@gmail.com>2014-02-27 13:37:52 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-13 20:18:10 (GMT)
commit9840320dff7d6bc0fc64d06271a639303ea53ce7 (patch)
tree6a646b5631930f29d46f767ba5e7d7a82304e424 /Source/CTest/cmCTestCoverageHandler.h
parent82a7d54cfe75c399b66c888acfcb5ddb15af547b (diff)
downloadCMake-9840320dff7d6bc0fc64d06271a639303ea53ce7.zip
CMake-9840320dff7d6bc0fc64d06271a639303ea53ce7.tar.gz
CMake-9840320dff7d6bc0fc64d06271a639303ea53ce7.tar.bz2
CTest: Add support for Intel coverage files
By default, Intel compiler coverage tools generate HTML files as reports, but the option -txtlcov can be given to codecov to output a coverage file with LCov format. To use Intel coverage: * build the project with coverage flags * run the application * run profmerge * run codecov The output file will be "build_dir/CodeCoverage/SRCFILEDIR.LCOV". Ask users to compile with -prof-dir${BUILD_DIR} instead of searching the entire build tree recursively to find coverage files.
Diffstat (limited to 'Source/CTest/cmCTestCoverageHandler.h')
-rw-r--r--Source/CTest/cmCTestCoverageHandler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestCoverageHandler.h b/Source/CTest/cmCTestCoverageHandler.h
index 6a8f55d..0a0fe81 100644
--- a/Source/CTest/cmCTestCoverageHandler.h
+++ b/Source/CTest/cmCTestCoverageHandler.h
@@ -68,6 +68,10 @@ private:
int HandleGCovCoverage(cmCTestCoverageHandlerContainer* cont);
void FindGCovFiles(std::vector<std::string>& files);
+ //! Handle coverage using Intel's LCov
+ int HandleLCovCoverage(cmCTestCoverageHandlerContainer* cont);
+ void FindLCovFiles(std::vector<std::string>& files);
+
//! Handle coverage using xdebug php coverage
int HandlePHPCoverage(cmCTestCoverageHandlerContainer* cont);