summaryrefslogtreecommitdiff
path: root/Source/CTest/cmCTestMemCheckCommand.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-15 10:53:49 -0400
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-15 10:53:49 -0400
commitd6f77bddc46d0eacc59671b769a7eefc5e374c31 (patch)
tree53cf0f8467eea236a94c0eaa962f61a1fa60365f /Source/CTest/cmCTestMemCheckCommand.cxx
parent9755dd4f22bbcdeca8a44a0d8794c1bc4943ecfe (diff)
downloadcmake-d6f77bddc46d0eacc59671b769a7eefc5e374c31.tar.gz
ENH: Pass in memcheck command options and suppresions, and change skin to tool
Diffstat (limited to 'Source/CTest/cmCTestMemCheckCommand.cxx')
-rw-r--r--Source/CTest/cmCTestMemCheckCommand.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestMemCheckCommand.cxx b/Source/CTest/cmCTestMemCheckCommand.cxx
index 0f055784a8..f8ca9a0636 100644
--- a/Source/CTest/cmCTestMemCheckCommand.cxx
+++ b/Source/CTest/cmCTestMemCheckCommand.cxx
@@ -71,6 +71,13 @@ bool cmCTestMemCheckCommand::InitialPass(
m_CTest->SetCTestConfiguration("BuildDirectory", build_dir);
}
+ m_CTest->SetCTestConfigurationFromCMakeVariable(m_Makefile,
+ "MemoryCheckCommand", "CTEST_MEMORYCHECK_COMMAND");
+ m_CTest->SetCTestConfigurationFromCMakeVariable(m_Makefile,
+ "MemoryCheckCommandOptions", "CTEST_MEMORYCHECK_COMMAND_OPTIONS");
+ m_CTest->SetCTestConfigurationFromCMakeVariable(m_Makefile,
+ "MemoryCheckSuppressionFile", "CTEST_MEMORYCHECK_SUPPRESSIONS_FILE");
+
cmCTestGenericHandler* handler = m_CTest->GetHandler("memcheck");
if ( !handler )
{