diff options
author | Daniel Dunbar <daniel@zuster.org> | 2013-08-09 00:37:05 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2013-08-09 00:37:05 +0000 |
commit | 38649827c38a4fcb93219eb29e104c91b0228e56 (patch) | |
tree | 8acf649bd6daa369d7c37d68262694525509acd2 /utils/lit | |
parent | 6c749c5fbc94a9f133ed05e389aab4309f187684 (diff) | |
download | external_llvm-38649827c38a4fcb93219eb29e104c91b0228e56.zip external_llvm-38649827c38a4fcb93219eb29e104c91b0228e56.tar.gz external_llvm-38649827c38a4fcb93219eb29e104c91b0228e56.tar.bz2 |
[lit] Inject the lit specific config object as 'lit_config' when loading config files.
- Injecting it as 'lit' is gross, since that name should be used to refer to
the actual package. For now both are available so it is possibly to cleanup
test config files incrementally.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188039 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/lit')
-rw-r--r-- | utils/lit/lit/TestingConfig.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/lit/lit/TestingConfig.py b/utils/lit/lit/TestingConfig.py index a122b78..d1492af 100644 --- a/utils/lit/lit/TestingConfig.py +++ b/utils/lit/lit/TestingConfig.py @@ -75,6 +75,7 @@ class TestingConfig: cfg_globals = dict(globals()) cfg_globals['config'] = self cfg_globals['lit'] = litConfig + cfg_globals['lit_config'] = litConfig cfg_globals['__file__'] = path try: if PY2: |