summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestCoverageHandler.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2012-05-08 18:47:13 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2012-05-08 18:47:13 (GMT)
commit761d93129fb72d0418facb785776533b33d24a01 (patch)
treeafe30d83313389cd1d73d50fe402bbd3e0d43bd0 /Source/CTest/cmCTestCoverageHandler.cxx
parent5b69ce49d4d80207d8fc90fe970875b4e545c13a (diff)
downloadCMake-761d93129fb72d0418facb785776533b33d24a01.zip
CMake-761d93129fb72d0418facb785776533b33d24a01.tar.gz
CMake-761d93129fb72d0418facb785776533b33d24a01.tar.bz2
Do not try to run bullseye coverage if COVFILE env is empty.
Diffstat (limited to 'Source/CTest/cmCTestCoverageHandler.cxx')
-rw-r--r--Source/CTest/cmCTestCoverageHandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestCoverageHandler.cxx b/Source/CTest/cmCTestCoverageHandler.cxx
index 48bea64..593512e 100644
--- a/Source/CTest/cmCTestCoverageHandler.cxx
+++ b/Source/CTest/cmCTestCoverageHandler.cxx
@@ -1825,7 +1825,7 @@ int cmCTestCoverageHandler::HandleBullseyeCoverage(
cmCTestCoverageHandlerContainer* cont)
{
const char* covfile = cmSystemTools::GetEnv("COVFILE");
- if(!covfile)
+ if(!covfile || strlen(covfile) == 0)
{
cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT,
" COVFILE environment variable not found, not running "