summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/CommandGuide/lit.rst2
-rw-r--r--utils/lit/lit/TestingConfig.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/CommandGuide/lit.rst b/docs/CommandGuide/lit.rst
index 841bd20d17..9e96cd2a4b 100644
--- a/docs/CommandGuide/lit.rst
+++ b/docs/CommandGuide/lit.rst
@@ -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.
diff --git a/utils/lit/lit/TestingConfig.py b/utils/lit/lit/TestingConfig.py
index 192e140538..a1f79a3bfc 100644
--- a/utils/lit/lit/TestingConfig.py
+++ b/utils/lit/lit/TestingConfig.py
@@ -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>',