summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestMemCheckCommand.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-10-03 17:45:07 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2014-10-03 17:45:07 (GMT)
commitca9cc25ce8c6f74998fd9f30d36449814c170ea5 (patch)
treea2b4ced445d53478efb84cab043b9325e25d7bc6 /Source/CTest/cmCTestMemCheckCommand.cxx
parent0b9ffffcd437c3538ff5aa1858d743a289b06129 (diff)
downloadCMake-ca9cc25ce8c6f74998fd9f30d36449814c170ea5.zip
CMake-ca9cc25ce8c6f74998fd9f30d36449814c170ea5.tar.gz
CMake-ca9cc25ce8c6f74998fd9f30d36449814c170ea5.tar.bz2
ctest: add support for additional sanitizer options
Sanitizers receive options through their environment variable; support user-specified options here.
Diffstat (limited to 'Source/CTest/cmCTestMemCheckCommand.cxx')
-rw-r--r--Source/CTest/cmCTestMemCheckCommand.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestMemCheckCommand.cxx b/Source/CTest/cmCTestMemCheckCommand.cxx
index 939b4dc..f144066 100644
--- a/Source/CTest/cmCTestMemCheckCommand.cxx
+++ b/Source/CTest/cmCTestMemCheckCommand.cxx
@@ -23,6 +23,8 @@ cmCTestGenericHandler* cmCTestMemCheckCommand::InitializeActualHandler()
this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile,
"MemoryCheckType", "CTEST_MEMORYCHECK_TYPE");
this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile,
+ "MemoryCheckSanitizerOptions", "CTEST_MEMORYCHECK_SANITIZER_OPTIONS");
+ this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile,
"MemoryCheckCommand", "CTEST_MEMORYCHECK_COMMAND");
this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile,
"MemoryCheckCommandOptions", "CTEST_MEMORYCHECK_COMMAND_OPTIONS");