mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-25 13:35:10 +00:00
[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
This commit is contained in:
parent
6c749c5fbc
commit
38649827c3
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user