ctest_memcheck.rst 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. [EXCLUDE_FIXTURE <regex>]
  14. [EXCLUDE_FIXTURE_SETUP <regex>]
  15. [EXCLUDE_FIXTURE_CLEANUP <regex>]
  16. [PARALLEL_LEVEL <level>]
  17. [TEST_LOAD <threshold>]
  18. [SCHEDULE_RANDOM <ON|OFF>]
  19. [STOP_TIME <time-of-day>]
  20. [RETURN_VALUE <result-var>]
  21. [DEFECT_COUNT <defect-count-var>]
  22. [QUIET]
  23. )
  24. Run tests with a dynamic analysis tool and store results in
  25. ``MemCheck.xml`` for submission with the :command:`ctest_submit`
  26. command.
  27. Most options are the same as those for the :command:`ctest_test` command.
  28. The options unique to this command are:
  29. ``DEFECT_COUNT <defect-count-var>``
  30. Store in the ``<defect-count-var>`` the number of defects found.