summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorDietmar Scheidl <dietmar.scheidl@dynatrace.com>2019-11-19 10:44:16 (GMT)
committerBrad King <brad.king@kitware.com>2019-12-10 19:42:30 (GMT)
commit676befdf524a6eaa234103c670b9c7017726b8ac (patch)
tree15223a46ba9ca78ad8939809990285f405a45840 /Modules
parent2db0a65f56f66454d36a35a74fde27c0833c956f (diff)
downloadCMake-676befdf524a6eaa234103c670b9c7017726b8ac.zip
CMake-676befdf524a6eaa234103c670b9c7017726b8ac.tar.gz
CMake-676befdf524a6eaa234103c670b9c7017726b8ac.tar.bz2
ctest: add support for memcheck using Dr. Memory
Fixes: #19788
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CTest.cmake2
-rw-r--r--Modules/DartConfiguration.tcl.in2
2 files changed, 3 insertions, 1 deletions
diff --git a/Modules/CTest.cmake b/Modules/CTest.cmake
index 3a111ca..1a51bc8 100644
--- a/Modules/CTest.cmake
+++ b/Modules/CTest.cmake
@@ -174,7 +174,7 @@ if(BUILD_TESTING)
"How many times to retry timed-out CTest submissions.")
find_program(MEMORYCHECK_COMMAND
- NAMES purify valgrind boundscheck
+ NAMES purify valgrind boundscheck drmemory
PATHS
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Rational Software\\Purify\\Setup;InstallFolder]"
DOC "Path to the memory checking command, used for memory error detection."
diff --git a/Modules/DartConfiguration.tcl.in b/Modules/DartConfiguration.tcl.in
index e4513b3..086ba07 100644
--- a/Modules/DartConfiguration.tcl.in
+++ b/Modules/DartConfiguration.tcl.in
@@ -69,6 +69,8 @@ CompilerVersion: @CMAKE_CXX_COMPILER_VERSION@
PurifyCommand: @PURIFYCOMMAND@
ValgrindCommand: @VALGRIND_COMMAND@
ValgrindCommandOptions: @VALGRIND_COMMAND_OPTIONS@
+DrMemoryCommand: @DRMEMORY_COMMAND@
+DrMemoryCommandOptions: @DRMEMORY_COMMAND_OPTIONS@
MemoryCheckType: @MEMORYCHECK_TYPE@
MemoryCheckSanitizerOptions: @MEMORYCHECK_SANITIZER_OPTIONS@
MemoryCheckCommand: @MEMORYCHECK_COMMAND@