CTest: Teach ctest_coverage() to read CTEST_COVERAGE_EXTRA_FLAGS
Use it to set the CoverageExtraFlags value just as COVERAGE_EXTRA_FLAGS does in the CTest module for creating DartConfiguration.tcl.
This commit is contained in:
parent
581abf6d31
commit
ef1c1153d3
@ -25,7 +25,8 @@ cmCTestGenericHandler* cmCTestCoverageCommand::InitializeHandler()
|
|||||||
{
|
{
|
||||||
this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile,
|
this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile,
|
||||||
"CoverageCommand", "CTEST_COVERAGE_COMMAND");
|
"CoverageCommand", "CTEST_COVERAGE_COMMAND");
|
||||||
|
this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile,
|
||||||
|
"CoverageExtraFlags", "CTEST_COVERAGE_EXTRA_FLAGS");
|
||||||
cmCTestCoverageHandler* handler = static_cast<cmCTestCoverageHandler*>(
|
cmCTestCoverageHandler* handler = static_cast<cmCTestCoverageHandler*>(
|
||||||
this->CTest->GetInitializedHandler("coverage"));
|
this->CTest->GetInitializedHandler("coverage"));
|
||||||
if ( !handler )
|
if ( !handler )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user