diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2012-05-08 18:47:13 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2012-05-08 18:47:13 (GMT) |
commit | 761d93129fb72d0418facb785776533b33d24a01 (patch) | |
tree | afe30d83313389cd1d73d50fe402bbd3e0d43bd0 /Source/CTest/cmCTestCoverageHandler.cxx | |
parent | 5b69ce49d4d80207d8fc90fe970875b4e545c13a (diff) | |
download | CMake-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.cxx | 2 |
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 " |