ENH: Initial attempt to do python coverage. Hopefully will not break coverage on GCov

This commit is contained in:
Andy Cedilnik 2007-04-26 23:20:12 -04:00
parent 1d4613a63b
commit 64e0459f93
2 changed files with 607 additions and 399 deletions

File diff suppressed because it is too large Load Diff

View File

@ -25,6 +25,7 @@
#include <cmsys/RegularExpression.hxx>
class cmGeneratedFileStream;
class cmCTestCoverageHandlerContainer;
/** \class cmCTestCoverageHandler
* \brief A class that handles coverage computaiton for ctest
@ -55,6 +56,12 @@ private:
bool StartCoverageLogFile(cmGeneratedFileStream& ostr, int logFileCount);
void EndCoverageLogFile(cmGeneratedFileStream& ostr, int logFileCount);
int HandleGCovCoverage(cmCTestCoverageHandlerContainer* cont);
int HandleTracePyCoverage(cmCTestCoverageHandlerContainer* cont);
std::string FindFile(cmCTestCoverageHandlerContainer* cont,
std::string fileName);
struct cmCTestCoverage
{
cmCTestCoverage()