Merge topic 'no_gcov_error_msg'
0a6f0280
CTest: notify user if gcov cannot be found
This commit is contained in:
commit
47896189aa
|
@ -871,6 +871,12 @@ int cmCTestCoverageHandler::HandleGCovCoverage(
|
|||
{
|
||||
std::string gcovCommand
|
||||
= this->CTest->GetCTestConfiguration("CoverageCommand");
|
||||
if (gcovCommand.empty())
|
||||
{
|
||||
cmCTestLog(this->CTest, ERROR_MESSAGE,
|
||||
"Could not find gcov." << std::endl);
|
||||
return 0;
|
||||
}
|
||||
std::string gcovExtraFlags
|
||||
= this->CTest->GetCTestConfiguration("CoverageExtraFlags");
|
||||
|
||||
|
|
Loading…
Reference in New Issue