[clang-tools-extra] r328060 - [lit] Adding config initialization to lit tests in clang-tools-extra

Julie Hockett via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 20 16:22:50 PDT 2018


Author: juliehockett
Date: Tue Mar 20 16:22:50 2018
New Revision: 328060

URL: http://llvm.org/viewvc/llvm-project?rev=328060&view=rev
Log:
[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

Modified:
    clang-tools-extra/trunk/test/lit.site.cfg.in

Modified: clang-tools-extra/trunk/test/lit.site.cfg.in
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/lit.site.cfg.in?rev=328060&r1=328059&r2=328060&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/lit.site.cfg.in (original)
+++ clang-tools-extra/trunk/test/lit.site.cfg.in Tue Mar 20 16:22:50 2018
@@ -23,5 +23,7 @@ except KeyError:
     key, = e.args
     lit_config.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
 
+ at 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")




More information about the cfe-commits mailing list