mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-02 12:19:54 -05:00
Do not try to run bullseye coverage if COVFILE env is empty.
This commit is contained in:
@@ -1825,7 +1825,7 @@ int cmCTestCoverageHandler::HandleBullseyeCoverage(
|
|||||||
cmCTestCoverageHandlerContainer* cont)
|
cmCTestCoverageHandlerContainer* cont)
|
||||||
{
|
{
|
||||||
const char* covfile = cmSystemTools::GetEnv("COVFILE");
|
const char* covfile = cmSystemTools::GetEnv("COVFILE");
|
||||||
if(!covfile)
|
if(!covfile || strlen(covfile) == 0)
|
||||||
{
|
{
|
||||||
cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT,
|
cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT,
|
||||||
" COVFILE environment variable not found, not running "
|
" COVFILE environment variable not found, not running "
|
||||||
|
|||||||
Reference in New Issue
Block a user