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 | 1891a167a13e424c5046b457f0ea68f88d890a7e (patch) | |
tree | 29593d6cfcbe458fd2b73eddff3012b3a767592c /llvm/utils/lit/LitConfig.py | |
parent | 2dfdb820ca550f75769f6850bc27f825f1dce4f7 (diff) | |
download | bcm5719-llvm-1891a167a13e424c5046b457f0ea68f88d890a7e.tar.gz bcm5719-llvm-1891a167a13e424c5046b457f0ea68f88d890a7e.zip |
lit: Add --param NAME=VALUE option, for test suite specific use (to communicate
arbitrary command line arguments to the test suite).
llvm-svn: 86137
Diffstat (limited to 'llvm/utils/lit/LitConfig.py')
-rw-r--r-- | llvm/utils/lit/LitConfig.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/utils/lit/LitConfig.py b/llvm/utils/lit/LitConfig.py index c334109e1de..0e0a4931dca 100644 --- a/llvm/utils/lit/LitConfig.py +++ b/llvm/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 |