summaryrefslogtreecommitdiff
path: root/Help/command/ctest_memcheck.rst
diff options
context:
space:
mode:
authorBetsy McPhail <betsy.mcphail@kitware.com>2016-11-04 16:51:42 -0400
committerBrad King <brad.king@kitware.com>2016-11-09 15:34:07 -0500
commit3a523eec7814dfbed2361da298849a5b5964318a (patch)
tree2ed1c49fd6a61b4d11961a0c333a31390c06a57c /Help/command/ctest_memcheck.rst
parent60d80bca4afcfb3a38b588a5a2060cc275b4afbc (diff)
downloadcmake-3a523eec7814dfbed2361da298849a5b5964318a.tar.gz
ctest_memcheck: Add DEFECT_COUNT option to capture defect count
Diffstat (limited to 'Help/command/ctest_memcheck.rst')
-rw-r--r--Help/command/ctest_memcheck.rst8
1 files changed, 7 insertions, 1 deletions
diff --git a/Help/command/ctest_memcheck.rst b/Help/command/ctest_memcheck.rst
index 29bdf7d0e7..a983d68230 100644
--- a/Help/command/ctest_memcheck.rst
+++ b/Help/command/ctest_memcheck.rst
@@ -18,6 +18,7 @@ Perform the :ref:`CTest MemCheck Step` as a :ref:`Dashboard Client`.
[SCHEDULE_RANDOM <ON|OFF>]
[STOP_TIME <time-of-day>]
[RETURN_VALUE <result-var>]
+ [DEFECT_COUNT <defect-count-var>]
[QUIET]
)
@@ -26,4 +27,9 @@ Run tests with a dynamic analysis tool and store results in
``MemCheck.xml`` for submission with the :command:`ctest_submit`
command.
-The options are the same as those for the :command:`ctest_test` command.
+Most options are the same as those for the :command:`ctest_test` command.
+
+The options unique to this command are:
+
+``DEFECT_COUNT <defect-count-var>``
+ Store in the ``<defect-count-var>`` the number of defects found.