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 | 638ac70a92435f333373785ca3b1f4f7dbfa2128 (patch) | |
tree | 4504c466a07fdccae7f5f6c6698650bee9f87e36 /clang/test/Rewriter | |
parent | ac93aa7022a96a6339cc519fd2da9086c99654f5 (diff) | |
download | llvm-638ac70a92435f333373785ca3b1f4f7dbfa2128.zip llvm-638ac70a92435f333373785ca3b1f4f7dbfa2128.tar.gz llvm-638ac70a92435f333373785ca3b1f4f7dbfa2128.tar.bz2 |
[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
llvm-svn: 293052
Diffstat (limited to 'clang/test/Rewriter')
-rw-r--r-- | clang/test/Rewriter/lit.local.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Rewriter/lit.local.cfg b/clang/test/Rewriter/lit.local.cfg index 69b733b..f5e1d03 100644 --- a/clang/test/Rewriter/lit.local.cfg +++ b/clang/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 |