summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorJamie Snape <jamie.snape@kitware.com>2017-01-09 18:43:19 (GMT)
committerJamie Snape <jamie.snape@kitware.com>2017-01-09 18:43:19 (GMT)
commite537bd91129fc1616f787b64024f1b08d0f7ae45 (patch)
treeedee1fad63afc44c5dbba78ee09cc3d7923d21ff /Source/CTest
parent0a2e588585a951b1f26cfa9094e0709f1d026b1e (diff)
downloadCMake-e537bd91129fc1616f787b64024f1b08d0f7ae45.zip
CMake-e537bd91129fc1616f787b64024f1b08d0f7ae45.tar.gz
CMake-e537bd91129fc1616f787b64024f1b08d0f7ae45.tar.bz2
ctest_memcheck: do not add detect_leaks=1 to ASAN_OPTIONS
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestMemCheckHandler.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestMemCheckHandler.cxx b/Source/CTest/cmCTestMemCheckHandler.cxx
index fc07249..4d23e45 100644
--- a/Source/CTest/cmCTestMemCheckHandler.cxx
+++ b/Source/CTest/cmCTestMemCheckHandler.cxx
@@ -618,7 +618,6 @@ bool cmCTestMemCheckHandler::InitializeMemoryChecking()
if (this->MemoryTesterStyle ==
cmCTestMemCheckHandler::ADDRESS_SANITIZER) {
envVar = "ASAN_OPTIONS";
- extraOptions += ":detect_leaks=1";
} else if (this->MemoryTesterStyle ==
cmCTestMemCheckHandler::LEAK_SANITIZER) {
envVar = "LSAN_OPTIONS";