summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestCoverageHandler.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-06-01 19:40:07 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-06-01 19:40:07 (GMT)
commit7bdad5461477f8fdafafb850fb0b3e21c39fc556 (patch)
tree30e45aafb2307070438241964a6d09f76a7ea5a7 /Source/CTest/cmCTestCoverageHandler.h
parent0be0283f30c58c82797579ca19cf0adf9b83dbad (diff)
downloadCMake-7bdad5461477f8fdafafb850fb0b3e21c39fc556.zip
CMake-7bdad5461477f8fdafafb850fb0b3e21c39fc556.tar.gz
CMake-7bdad5461477f8fdafafb850fb0b3e21c39fc556.tar.bz2
ENH: initial bullseye stuff
Diffstat (limited to 'Source/CTest/cmCTestCoverageHandler.h')
-rw-r--r--Source/CTest/cmCTestCoverageHandler.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestCoverageHandler.h b/Source/CTest/cmCTestCoverageHandler.h
index 1125768..99b85d3 100644
--- a/Source/CTest/cmCTestCoverageHandler.h
+++ b/Source/CTest/cmCTestCoverageHandler.h
@@ -59,6 +59,29 @@ private:
//! Handle coverage using GCC's GCov
int HandleGCovCoverage(cmCTestCoverageHandlerContainer* cont);
+ //! Handle coverage using Bullseye
+ int HandleBullseyeCoverage(cmCTestCoverageHandlerContainer* cont);
+ int RunBullseyeSourceSummary(cmCTestCoverageHandlerContainer* cont);
+ int RunBullseyeCoverageBranch(cmCTestCoverageHandlerContainer* cont,
+ std::vector<std::string>& files,
+ std::vector<std::string>& filesFullPath);
+ int RunBullseyeCommand(
+ cmCTestCoverageHandlerContainer* cont,
+ const char* cmd,
+ const char* arg,
+ std::string& outputFile);
+ bool ParseBullsEyeCovsrcLine(
+ std::string const& inputLine,
+ std::string& sourceFile,
+ int& functionsCalled,
+ int& totalFunctions,
+ int& percentFunction,
+ int& branchCovered,
+ int& totalBranches,
+ int& percentBranch);
+ bool GetNextInt(std::string const& inputLine,
+ std::string::size_type& pos,
+ int& value);
//! Handle Python coverage using Python's Trace.py
int HandleTracePyCoverage(cmCTestCoverageHandlerContainer* cont);