forked from OSchip/llvm-project
[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. llvm-svn: 188039
This commit is contained in:
parent
e97b673cf5
commit
f511d30d8b
|
@ -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