ctest_memcheck.rst 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. ctest_memcheck
  2. --------------
  3. Perform the :ref:`CTest MemCheck Step` as a :ref:`Dashboard Client`.
  4. ::
  5. ctest_memcheck([BUILD <build-dir>] [APPEND]
  6. [START <start-number>]
  7. [END <end-number>]
  8. [STRIDE <stride-number>]
  9. [EXCLUDE <exclude-regex>]
  10. [INCLUDE <include-regex>]
  11. [EXCLUDE_LABEL <label-exclude-regex>]
  12. [INCLUDE_LABEL <label-include-regex>]
  13. [PARALLEL_LEVEL <level>]
  14. [TEST_LOAD <threshold>]
  15. [SCHEDULE_RANDOM <ON|OFF>]
  16. [STOP_TIME <time-of-day>]
  17. [RETURN_VALUE <result-var>]
  18. [DEFECT_COUNT <defect-count-var>]
  19. [QUIET]
  20. )
  21. Run tests with a dynamic analysis tool and store results in
  22. ``MemCheck.xml`` for submission with the :command:`ctest_submit`
  23. command.
  24. Most options are the same as those for the :command:`ctest_test` command.
  25. The options unique to this command are:
  26. ``DEFECT_COUNT <defect-count-var>``
  27. Store in the ``<defect-count-var>`` the number of defects found.