From 38649827c38a4fcb93219eb29e104c91b0228e56 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Fri, 9 Aug 2013 00:37:05 +0000 Subject: [PATCH] [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 --- utils/lit/lit/TestingConfig.py | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/lit/lit/TestingConfig.py b/utils/lit/lit/TestingConfig.py index a122b78e2ee..d1492aff567 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: