ENH: Handle passing in coverage command

This commit is contained in:
Andy Cedilnik 2005-06-15 10:53:09 -04:00
parent feb271089e
commit 9755dd4f22
1 changed files with 3 additions and 0 deletions

View File

@ -71,6 +71,9 @@ bool cmCTestCoverageCommand::InitialPass(
m_CTest->SetCTestConfiguration("BuildDirectory", build_dir); m_CTest->SetCTestConfiguration("BuildDirectory", build_dir);
} }
m_CTest->SetCTestConfigurationFromCMakeVariable(m_Makefile,
"CoverageCommand", "CTEST_COVERAGE_COMMAND");
cmCTestGenericHandler* handler = m_CTest->GetHandler("coverage"); cmCTestGenericHandler* handler = m_CTest->GetHandler("coverage");
if ( !handler ) if ( !handler )
{ {