summaryrefslogtreecommitdiffstats
path: root/Help/variable/CTEST_MEMORYCHECK_TYPE.rst
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2014-07-07 19:58:02 (GMT)
committerBrad King <brad.king@kitware.com>2014-07-09 13:48:35 (GMT)
commit49948f72214f6e3a4acb566f773ac3ad86e6c68c (patch)
tree7e81570edd08a6a6376a68560240000544c6db92 /Help/variable/CTEST_MEMORYCHECK_TYPE.rst
parent4e7983bc06219e24ff37699b66a1e1697d2fc171 (diff)
downloadCMake-49948f72214f6e3a4acb566f773ac3ad86e6c68c.zip
CMake-49948f72214f6e3a4acb566f773ac3ad86e6c68c.tar.gz
CMake-49948f72214f6e3a4acb566f773ac3ad86e6c68c.tar.bz2
ctest_memcheck: Add support for ThreadSanitizer
This commit adds support for ThreadSanitizer to ctest. ThreadSanitizer is part of the clang compiler and also gcc 4.8 and later. You have to compile the code with special flags. Then your code gets the the ThreadSanitizer ability built into it. To pass options to the ThreadSanitizer you use an environment variable. This commit teaches ctest to parse the output from ThreadSanitizer and send it to CDash.
Diffstat (limited to 'Help/variable/CTEST_MEMORYCHECK_TYPE.rst')
-rw-r--r--Help/variable/CTEST_MEMORYCHECK_TYPE.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/variable/CTEST_MEMORYCHECK_TYPE.rst b/Help/variable/CTEST_MEMORYCHECK_TYPE.rst
new file mode 100644
index 0000000..f7875da
--- /dev/null
+++ b/Help/variable/CTEST_MEMORYCHECK_TYPE.rst
@@ -0,0 +1,6 @@
+CTEST_MEMORYCHECK_TYPE
+-------------------------
+
+Specify the CTest ``MemoryCheckType`` setting
+in a :manual:`ctest(1)` dashboard client script.
+Valid values are Valgrind, Purify, BoundsChecker, and ThreadSanitizer.