Commit 17619508 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

ENH: Update to the new coverage code. It may not be perfect yet, but it is a start

parent 9cbfe0e0
This diff is collapsed.
......@@ -47,18 +47,22 @@ public:
private:
bool m_Verbose;
cmCTest *m_CTest;
bool ShouldIDoCoverage(const char* file, const char* srcDir,
const char* binDir, bool verbose);
bool StartLogFile(std::ofstream& ostr, int logFileCount);
void StopLogFile(std::ofstream& ostr, int logFileCount);
struct cmCTestCoverage
{
{
cmCTestCoverage()
{
m_AbsolutePath = "";
m_FullPath = "";
m_Covered = false;
m_Tested = 0;
m_UnTested = 0;
m_Lines.clear();
m_Show = false;
m_AbsolutePath = "";
m_FullPath = "";
m_Covered = false;
m_Tested = 0;
m_UnTested = 0;
m_Lines.clear();
m_Show = false;
}
std::string m_AbsolutePath;
std::string m_FullPath;
......@@ -67,7 +71,7 @@ private:
int m_UnTested;
std::vector<int> m_Lines;
bool m_Show;
};
};
typedef std::map<std::string, cmCTestCoverage> tm_CoverageMap;
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment