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/Rewriter | |
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/Rewriter')
-rw-r--r-- | test/Rewriter/lit.local.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Rewriter/lit.local.cfg b/test/Rewriter/lit.local.cfg index 69b733b2e4..f5e1d0349f 100644 --- a/test/Rewriter/lit.local.cfg +++ b/test/Rewriter/lit.local.cfg @@ -1,3 +1,3 @@ # The Objective-C rewriters are currently grouped with ARCMT. -if config.root.clang_arcmt == 0: +if not config.root.clang_arcmt: config.unsupported = True |