[llvm-commits] [llvm] r166306 - in /llvm/trunk: docs/CommandGuide/lit.rst utils/lit/lit/TestingConfig.py

Daniel Dunbar daniel at zuster.org
Fri Oct 19 13:29:31 PDT 2012


Author: ddunbar
Date: Fri Oct 19 15:29:30 2012
New Revision: 166306

URL: http://llvm.org/viewvc/llvm-project?rev=166306&view=rev
Log:
lit: Rename the valgrind leaks feature to match what is currently used
(vg_leak).

Modified:
    llvm/trunk/docs/CommandGuide/lit.rst
    llvm/trunk/utils/lit/lit/TestingConfig.py

Modified: llvm/trunk/docs/CommandGuide/lit.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CommandGuide/lit.rst?rev=166306&r1=166305&r2=166306&view=diff
==============================================================================
--- llvm/trunk/docs/CommandGuide/lit.rst (original)
+++ llvm/trunk/docs/CommandGuide/lit.rst Fri Oct 19 15:29:30 2012
@@ -140,7 +140,7 @@
 **--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
+ **lit** will also automatically provide a "vg_leak" feature that can be
  used to conditionally disable (or expect failure in) certain tests.
 
 

Modified: llvm/trunk/utils/lit/lit/TestingConfig.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/TestingConfig.py?rev=166306&r1=166305&r2=166306&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/TestingConfig.py (original)
+++ llvm/trunk/utils/lit/lit/TestingConfig.py Fri Oct 19 15:29:30 2012
@@ -34,7 +34,7 @@
             if litConfig.useValgrind:
                 available_features.append('valgrind')
                 if litConfig.valgrindLeakCheck:
-                    available_features.append('valgrind-leaks')
+                    available_features.append('vg_leak')
 
             config = TestingConfig(parent,
                                    name = '<unnamed>',





More information about the llvm-commits mailing list