summaryrefslogtreecommitdiffstats
path: root/Help
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 /Help
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 'Help')
-rw-r--r--Help/manual/ctest.1.rst14
-rw-r--r--Help/release/dev/ctest-drmemory-support.rst5
-rw-r--r--Help/variable/CTEST_MEMORYCHECK_TYPE.rst2
3 files changed, 20 insertions, 1 deletions
diff --git a/Help/manual/ctest.1.rst b/Help/manual/ctest.1.rst
index 17bddb6..25cb639 100644
--- a/Help/manual/ctest.1.rst
+++ b/Help/manual/ctest.1.rst
@@ -1113,6 +1113,20 @@ Additional configuration settings include:
* `CTest Script`_ variable: none
* :module:`CTest` module variable: ``VALGRIND_COMMAND_OPTIONS``
+``DrMemoryCommand``
+ Specify a ``MemoryCheckCommand`` that is known to be a command-line
+ compatible with DrMemory.
+
+ * `CTest Script`_ variable: none
+ * :module:`CTest` module variable: ``DRMEMORY_COMMAND``
+
+``DrMemoryCommandOptions``
+ Specify command-line options to the ``DrMemoryCommand`` tool.
+ They will be placed prior to the test command line.
+
+ * `CTest Script`_ variable: none
+ * :module:`CTest` module variable: ``DRMEMORY_COMMAND_OPTIONS``
+
.. _`CTest Submit Step`:
CTest Submit Step
diff --git a/Help/release/dev/ctest-drmemory-support.rst b/Help/release/dev/ctest-drmemory-support.rst
new file mode 100644
index 0000000..b329995
--- /dev/null
+++ b/Help/release/dev/ctest-drmemory-support.rst
@@ -0,0 +1,5 @@
+ctest-drmemory-support
+----------------------
+
+* The :manual:`ctest(1)` gained support for Dr. Memory to run
+ memcheck runs.
diff --git a/Help/variable/CTEST_MEMORYCHECK_TYPE.rst b/Help/variable/CTEST_MEMORYCHECK_TYPE.rst
index b8b4c30..4e7d5c0 100644
--- a/Help/variable/CTEST_MEMORYCHECK_TYPE.rst
+++ b/Help/variable/CTEST_MEMORYCHECK_TYPE.rst
@@ -3,6 +3,6 @@ CTEST_MEMORYCHECK_TYPE
Specify the CTest ``MemoryCheckType`` setting
in a :manual:`ctest(1)` dashboard client script.
-Valid values are ``Valgrind``, ``Purify``, ``BoundsChecker``, and
+Valid values are ``Valgrind``, ``Purify``, ``BoundsChecker``, ``DrMemory`` and
``ThreadSanitizer``, ``AddressSanitizer``, ``LeakSanitizer``, ``MemorySanitizer``, and
``UndefinedBehaviorSanitizer``.