ctest_memcheck.rst 1.2 KB

12345678910111213141516171819202122232425262728
  1. ctest_memcheck
  2. --------------
  3. Run tests with a dynamic analysis tool.
  4. ::
  5. ctest_memcheck([BUILD build_dir] [RETURN_VALUE res] [APPEND]
  6. [START start number] [END end number]
  7. [STRIDE stride number] [EXCLUDE exclude regex ]
  8. [INCLUDE include regex]
  9. [EXCLUDE_LABEL exclude regex]
  10. [INCLUDE_LABEL label regex]
  11. [PARALLEL_LEVEL level] )
  12. Tests the given build directory and stores results in MemCheck.xml.
  13. The second argument is a variable that will hold value. Optionally,
  14. you can specify the starting test number START, the ending test number
  15. END, the number of tests to skip between each test STRIDE, a regular
  16. expression for tests to run INCLUDE, or a regular expression for tests
  17. not to run EXCLUDE. EXCLUDE_LABEL and INCLUDE_LABEL are regular
  18. expressions for tests to be included or excluded by the test property
  19. LABEL. PARALLEL_LEVEL should be set to a positive number representing
  20. the number of tests to be run in parallel.
  21. The APPEND option marks results for append to those previously
  22. submitted to a dashboard server since the last ctest_start. Append
  23. semantics are defined by the dashboard server in use.