diff options
author | Daniel Dunbar <daniel@zuster.org> | 2012-10-19 20:12:00 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2012-10-19 20:12:00 +0000 |
commit | f854597fc1a183a9d13827a6eeb9f53a69819497 (patch) | |
tree | bda7983b4f9246fdd8a2b8e52b35548e1e51b2da /docs/CommandGuide | |
parent | 9f4acd0aabe7891cf6316ee14e38f2fca2fc468e (diff) |
lit: Add 'valgrind' and 'valgrind-leaks' features when valgrind is used.
- These can be used with the XFAIL options.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166303 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CommandGuide')
-rw-r--r-- | docs/CommandGuide/lit.rst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/CommandGuide/lit.rst b/docs/CommandGuide/lit.rst index 3eb0be91f1..841bd20d17 100644 --- a/docs/CommandGuide/lit.rst +++ b/docs/CommandGuide/lit.rst @@ -125,6 +125,10 @@ EXECUTION OPTIONS *--error-exitcode* argument for valgrind is used so that valgrind failures will cause the program to exit with a non-zero status. + When this option is enabled, **lit** will also automatically provide a + "valgrind" feature that can be used to conditionally disable (or expect failure + in) certain tests. + **--vg-arg**\ =\ *ARG* @@ -133,6 +137,15 @@ EXECUTION OPTIONS +**--vg-leak** + + When *--vg* is used, enable memory leak checks. When this option is enabled, + **lit** will also automatically provide a "valgrind-leaks" feature that can be + used to conditionally disable (or expect failure in) certain tests. + + + + **--time-tests** Track the wall time individual tests take to execute and includes the results in |