summaryrefslogtreecommitdiff
path: root/test/lit.site.cfg.py.in
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit.site.cfg.py.in')
-rw-r--r--test/lit.site.cfg.py.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lit.site.cfg.py.in b/test/lit.site.cfg.py.in
index 764ab83fbcf2a..7475ac7eaa7f8 100644
--- a/test/lit.site.cfg.py.in
+++ b/test/lit.site.cfg.py.in
@@ -25,7 +25,8 @@ except KeyError as e:
key, = e.args
lit_config.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
-@LIT_SITE_CFG_IN_FOOTER@
+import lit.llvm
+lit.llvm.initialize(lit_config, config)
# Let the main config do the real work.
lit_config.load_config(config, "@LLD_SOURCE_DIR@/test/lit.cfg.py")