[PATCH] D44708: [test] Adding config initialization to lit tests in clang-tools-extra
Julie Hockett via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 20 14:57:41 PDT 2018
juliehockett created this revision.
juliehockett added reviewers: alexfh, mgorny.
juliehockett added a project: clang-tools-extra.
Adding the config initialization (the footer) to clang-tools-extra so that tests that use REQUIRES, UNSUPPORTED, and XFAIL based on platform or target triple work properly.
https://reviews.llvm.org/D44708
Files:
test/lit.site.cfg.in
Index: test/lit.site.cfg.in
===================================================================
--- test/lit.site.cfg.in
+++ test/lit.site.cfg.in
@@ -23,5 +23,7 @@
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")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44708.139201.patch
Type: text/x-patch
Size: 416 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180320/1fd3a5f9/attachment.bin>
More information about the cfe-commits
mailing list