diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-11-05 16:27:33 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-11-05 16:27:33 +0000 |
commit | f626167e69d08f500805d209ff80720240adde3f (patch) | |
tree | 85fbf33b9d9be89ee4bfefc2de938bf35a7c34d2 /utils/lit/LitConfig.py | |
parent | bcaa2157ddc22cb1098289943e8dd147a854698b (diff) | |
download | external_llvm-f626167e69d08f500805d209ff80720240adde3f.zip external_llvm-f626167e69d08f500805d209ff80720240adde3f.tar.gz external_llvm-f626167e69d08f500805d209ff80720240adde3f.tar.bz2 |
lit: Add --param NAME=VALUE option, for test suite specific use (to communicate
arbitrary command line arguments to the test suite).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86137 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/lit/LitConfig.py')
-rw-r--r-- | utils/lit/LitConfig.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/lit/LitConfig.py b/utils/lit/LitConfig.py index c334109..0e0a493 100644 --- a/utils/lit/LitConfig.py +++ b/utils/lit/LitConfig.py @@ -17,7 +17,8 @@ class LitConfig: def __init__(self, progname, path, quiet, useValgrind, valgrindArgs, useTclAsSh, - noExecute, debug, isWindows): + noExecute, debug, isWindows, + params): # The name of the test runner. self.progname = progname # The items to add to the PATH environment variable. @@ -29,6 +30,7 @@ class LitConfig: self.noExecute = noExecute self.debug = debug self.isWindows = bool(isWindows) + self.params = dict(params) self.bashPath = None self.numErrors = 0 |