lit: Rename the valgrind leaks feature to match what is currently used
authorDaniel Dunbar <daniel@zuster.org>
Fri, 19 Oct 2012 20:29:30 +0000 (20:29 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 19 Oct 2012 20:29:30 +0000 (20:29 +0000)
(vg_leak).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166306 91177308-0d34-0410-b5e6-96231b3b80d8

docs/CommandGuide/lit.rst
utils/lit/lit/TestingConfig.py

index 841bd20d17d40f76cfeb5ab1aaef4e0bc21825cb..9e96cd2a4bfd15e0d41d615697ac7d6f8a380c86 100644 (file)
@@ -140,7 +140,7 @@ 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
+ **lit** will also automatically provide a "vg_leak" feature that can be
  used to conditionally disable (or expect failure in) certain tests.
 
 
index 192e140538f5241a416f9a915d020cb22163313b..a1f79a3bfc4e27f6bce3fd0f1bcc5db4db1ec210 100644 (file)
@@ -34,7 +34,7 @@ class TestingConfig:
             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>',