Commit 4ee2f266 authored by Andy Cedilnik's avatar Andy Cedilnik

ENH: Handle coverage errors

parent bf326092
......@@ -745,7 +745,10 @@ int cmCTest::ProcessTests()
if ( m_Tests[COVERAGE_TEST] || m_Tests[ALL_TEST] )
{
this->UpdateCTestConfiguration();
this->CoverageHandler->CoverageDirectory(this);
if (this->CoverageHandler->CoverageDirectory(this))
{
res |= cmCTest::COVERAGE_ERRORS;
}
}
if ( m_Tests[MEMCHECK_TEST] || m_Tests[ALL_TEST] )
{
......
......@@ -133,7 +133,8 @@ public:
CONFIGURE_ERRORS = 0x02,
BUILD_ERRORS = 0x04,
TEST_ERRORS = 0x08,
MEMORY_ERRORS = 0x10
MEMORY_ERRORS = 0x10,
COVERAGE_ERRORS = 0x20
};
int GenerateNotesFile(const char* files);
......
Markdown is supported
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