From 9755dd4f22bbcdeca8a44a0d8794c1bc4943ecfe Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Wed, 15 Jun 2005 10:53:09 -0400 Subject: [PATCH] ENH: Handle passing in coverage command --- Source/CTest/cmCTestCoverageCommand.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/CTest/cmCTestCoverageCommand.cxx b/Source/CTest/cmCTestCoverageCommand.cxx index 72e42ff26..5a36e6b3d 100644 --- a/Source/CTest/cmCTestCoverageCommand.cxx +++ b/Source/CTest/cmCTestCoverageCommand.cxx @@ -71,6 +71,9 @@ bool cmCTestCoverageCommand::InitialPass( m_CTest->SetCTestConfiguration("BuildDirectory", build_dir); } + m_CTest->SetCTestConfigurationFromCMakeVariable(m_Makefile, + "CoverageCommand", "CTEST_COVERAGE_COMMAND"); + cmCTestGenericHandler* handler = m_CTest->GetHandler("coverage"); if ( !handler ) {