Skip to content

Commit

Permalink
[lit] Adding config initialization to lit tests in clang-tools-extra
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Julie Hockett committed Mar 20, 2018
1 parent e0742c4 commit bb059de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clang-tools-extra/test/lit.site.cfg.in
Expand Up @@ -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")

0 comments on commit bb059de

Please sign in to comment.