From: Julie Hockett Date: Tue, 20 Mar 2018 23:22:50 +0000 (+0000) Subject: [lit] Adding config initialization to lit tests in clang-tools-extra X-Git-Tag: llvmorg-7.0.0-rc1~10087 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bb059deacb8d538cf3ff14edc37e892c4301f558;p=platform%2Fupstream%2Fllvm.git [lit] Adding config initialization to lit tests in clang-tools-extra Adding the config initialization to clang-tools-extra so that tests that use REQUIRES, UNSUPPORTED, and XFAIL based on platform or target triple work properly. Differential Revision: https://reviews.llvm.org/D44708 llvm-svn: 328060 --- diff --git a/clang-tools-extra/test/lit.site.cfg.in b/clang-tools-extra/test/lit.site.cfg.in index 86e9617..948e469 100644 --- a/clang-tools-extra/test/lit.site.cfg.in +++ b/clang-tools-extra/test/lit.site.cfg.in @@ -23,5 +23,7 @@ except KeyError: key, = e.args lit_config.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key)) +@LIT_SITE_CFG_IN_FOOTER@ + # Let the main config do the real work. lit_config.load_config(config, "@CLANG_TOOLS_SOURCE_DIR@/test/lit.cfg")