From bc607e9252b7c79a50a18f1366402ee3fdbd9435 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Thu, 30 Aug 2018 22:11:16 +0000 Subject: [PATCH] Remove LIT_SITE_CFG_IN_FOOTER, clang It's always replaced with the same (short) static string, so just put that there directly. No intended behavior change. https://reviews.llvm.org/D51357 llvm-svn: 341132 --- clang/test/lit.site.cfg.py.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clang/test/lit.site.cfg.py.in b/clang/test/lit.site.cfg.py.in index d76f8aa..405367e 100644 --- a/clang/test/lit.site.cfg.py.in +++ b/clang/test/lit.site.cfg.py.in @@ -40,7 +40,8 @@ except KeyError: key, = e.args lit_config.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key)) -@LIT_SITE_CFG_IN_FOOTER@ +import lit +lit.llvm.initialize(lit_config, config) # Let the main config do the real work. lit_config.load_config(config, "@CLANG_SOURCE_DIR@/test/lit.cfg.py") -- 2.7.4