Skip to content

Commit

Permalink
lit: Rename the valgrind leaks feature to match what is currently used
Browse files Browse the repository at this point in the history
(vg_leak).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166306 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
ddunbar committed Oct 19, 2012
1 parent f793fbc commit 6b283ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/CommandGuide/lit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.


Expand Down
2 changes: 1 addition & 1 deletion utils/lit/lit/TestingConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def frompath(path, parent, litConfig, mustExist, config = None):
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>',
Expand Down

0 comments on commit 6b283ea

Please sign in to comment.