From: Daniel Dunbar Date: Fri, 19 Oct 2012 20:29:30 +0000 (+0000) Subject: lit: Rename the valgrind leaks feature to match what is currently used X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6b283ea9457bf69f26c097ca66fe6c41d10a29d2;p=oota-llvm.git lit: Rename the valgrind leaks feature to match what is currently used (vg_leak). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166306 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/CommandGuide/lit.rst b/docs/CommandGuide/lit.rst index 841bd20d17d..9e96cd2a4bf 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 192e140538f..a1f79a3bfc4 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 = '',