summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-15 14:53:09 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-15 14:53:09 (GMT)
commit9755dd4f22bbcdeca8a44a0d8794c1bc4943ecfe (patch)
treef4da1471e87a35dacc7d4d986153e13711e65d93 /Source/CTest
parentfeb271089eb46657006311632739c80f94762e59 (diff)
downloadCMake-9755dd4f22bbcdeca8a44a0d8794c1bc4943ecfe.zip
CMake-9755dd4f22bbcdeca8a44a0d8794c1bc4943ecfe.tar.gz
CMake-9755dd4f22bbcdeca8a44a0d8794c1bc4943ecfe.tar.bz2
ENH: Handle passing in coverage command
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestCoverageCommand.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestCoverageCommand.cxx b/Source/CTest/cmCTestCoverageCommand.cxx
index 72e42ff..5a36e6b 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 )
{