Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
17619508
Commit
17619508
authored
Oct 17, 2004
by
Andy Cedilnik
Browse files
ENH: Update to the new coverage code. It may not be perfect yet, but it is a start
parent
9cbfe0e0
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Source/CTest/cmCTestCoverageHandler.cxx
View file @
17619508
This diff is collapsed.
Click to expand it.
Source/CTest/cmCTestCoverageHandler.h
View file @
17619508
...
...
@@ -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
;
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment