llvm.org GIT mirror llvm / 3864982
[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 Daniel Dunbar 6 years ago
1 changed file(s) with 1 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
7474 cfg_globals = dict(globals())
7575 cfg_globals['config'] = self
7676 cfg_globals['lit'] = litConfig
77 cfg_globals['lit_config'] = litConfig
7778 cfg_globals['__file__'] = path
7879 try:
7980 if PY2: