summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-11-11 15:44:13 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-11-11 15:44:13 (GMT)
commit6338652a87c3985188ba94d7eedc84a05563750d (patch)
tree3d65aa98c9bdeb925e87202ea3760e92aca2d128 /Help
parent8715157c73b243d2e4f7a0dc83a3a91d780a7a0b (diff)
parent3a523eec7814dfbed2361da298849a5b5964318a (diff)
downloadCMake-6338652a87c3985188ba94d7eedc84a05563750d.zip
CMake-6338652a87c3985188ba94d7eedc84a05563750d.tar.gz
CMake-6338652a87c3985188ba94d7eedc84a05563750d.tar.bz2
Merge topic 'ctest_memcheck_defect_count'
3a523eec ctest_memcheck: Add DEFECT_COUNT option to capture defect count
Diffstat (limited to 'Help')
-rw-r--r--Help/command/ctest_memcheck.rst8
-rw-r--r--Help/release/dev/ctest_memcheck_defect_count.rst5
2 files changed, 12 insertions, 1 deletions
diff --git a/Help/command/ctest_memcheck.rst b/Help/command/ctest_memcheck.rst
index 29bdf7d..a983d68 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.
diff --git a/Help/release/dev/ctest_memcheck_defect_count.rst b/Help/release/dev/ctest_memcheck_defect_count.rst
new file mode 100644
index 0000000..70061c1
--- /dev/null
+++ b/Help/release/dev/ctest_memcheck_defect_count.rst
@@ -0,0 +1,5 @@
+ctest_memcheck_defect_count
+---------------------------
+
+* The :command:`ctest_memcheck` command gained a ``DEFECT_COUNT <var>``
+ option to capture the number of memory defects detected.