diff --git a/docs/CommandGuide/lit.rst b/docs/CommandGuide/lit.rst index 841bd20d17d4..9e96cd2a4bfd 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 192e140538f5..a1f79a3bfc4e 100644 --- a/utils/lit/lit/TestingConfig.py +++ b/utils/lit/lit/TestingConfig.py @@ -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 = '',