diff options
author | Michal Gorny <mgorny@gentoo.org> | 2017-01-25 13:11:45 +0000 |
---|---|---|
committer | Michal Gorny <mgorny@gentoo.org> | 2017-01-25 13:11:45 +0000 |
commit | c59c9c76caeefa2cba8756cab2e8c5023ecd4cb2 (patch) | |
tree | 7c91dd0f45d8b76c7134aa80a78bb08756b6f623 /test/lit.site.cfg.in | |
parent | 3157fe19a3c90ea5230599c4fde830d34a5510ab (diff) |
[test] Port clang tests to canonicalized booleans
Use the new llvm_canonicalize_cmake_booleans() function to canonicalize
booleans for lit tests. Replace the duplicate ENABLE_CLANG* variables
used to hold canonicalized values with in-place canonicalization. Use
implicit logic in Python code to avoid overrelying on exact 0/1 values.
Differential Revision: https://reviews.llvm.org/D28529
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@293052 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.site.cfg.in')
-rw-r--r-- | test/lit.site.cfg.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/lit.site.cfg.in b/test/lit.site.cfg.in index 5e1471f131..ec447b6615 100644 --- a/test/lit.site.cfg.in +++ b/test/lit.site.cfg.in @@ -14,13 +14,13 @@ config.clang_tools_dir = "@CLANG_TOOLS_DIR@" config.host_triple = "@LLVM_HOST_TRIPLE@" config.target_triple = "@TARGET_TRIPLE@" config.llvm_use_sanitizer = "@LLVM_USE_SANITIZER@" -config.have_zlib = "@HAVE_LIBZ@" -config.clang_arcmt = @ENABLE_CLANG_ARCMT@ +config.have_zlib = @HAVE_LIBZ@ +config.clang_arcmt = @CLANG_ENABLE_ARCMT@ config.clang_default_cxx_stdlib = "@CLANG_DEFAULT_CXX_STDLIB@" -config.clang_staticanalyzer = @ENABLE_CLANG_STATIC_ANALYZER@ -config.clang_examples = @ENABLE_CLANG_EXAMPLES@ +config.clang_staticanalyzer = @CLANG_ENABLE_STATIC_ANALYZER@ +config.clang_examples = @CLANG_BUILD_EXAMPLES@ config.enable_shared = @ENABLE_SHARED@ -config.enable_backtrace = "@ENABLE_BACKTRACES@" +config.enable_backtrace = @ENABLE_BACKTRACES@ config.host_arch = "@HOST_ARCH@" # Support substitution of the tools and libs dirs with user parameters. This is |