ctest_memcheck -------------- Perform the :ref:`CTest MemCheck Step` as a :ref:`Dashboard Client`. :: ctest_memcheck([BUILD ] [APPEND] [START ] [END ] [STRIDE ] [EXCLUDE ] [INCLUDE ] [EXCLUDE_LABEL ] [INCLUDE_LABEL ] [EXCLUDE_FIXTURE ] [EXCLUDE_FIXTURE_SETUP ] [EXCLUDE_FIXTURE_CLEANUP ] [PARALLEL_LEVEL ] [TEST_LOAD ] [SCHEDULE_RANDOM ] [STOP_TIME ] [RETURN_VALUE ] [DEFECT_COUNT ] [QUIET] ) Run tests with a dynamic analysis tool and store results in ``MemCheck.xml`` for submission with the :command:`ctest_submit` command. Most options are the same as those for the :command:`ctest_test` command. The options unique to this command are: ``DEFECT_COUNT `` .. versionadded:: 3.8 Store in the ```` the number of defects found.