summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-10-17 22:49:42 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-10-17 22:49:42 (GMT)
commit4ee2f266c6ba1c90c4789a0aa066c0b92c313e76 (patch)
tree43fdbc95632a802ecef7a3cb40a20269c2c9184d /Source/cmCTest.cxx
parentbf326092a85b4ea4aa52825cbde66729ae1baf6e (diff)
downloadCMake-4ee2f266c6ba1c90c4789a0aa066c0b92c313e76.zip
CMake-4ee2f266c6ba1c90c4789a0aa066c0b92c313e76.tar.gz
CMake-4ee2f266c6ba1c90c4789a0aa066c0b92c313e76.tar.bz2
ENH: Handle coverage errors
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 8c5dc97..5cea554 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -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] )
{