diff options
author | Anders Waldenborg <anders@0x63.nu> | 2013-10-23 08:47:52 +0000 |
---|---|---|
committer | Anders Waldenborg <anders@0x63.nu> | 2013-10-23 08:47:52 +0000 |
commit | 2c6e1cf1dd4d0789118f9761e23885dda94296e1 (patch) | |
tree | 35c0b183389b0089060fe51f13108a7d1e856758 | |
parent | 2bef1a6b25d938210547cd0f5ba4a08abdad2583 (diff) | |
download | external_llvm-2c6e1cf1dd4d0789118f9761e23885dda94296e1.zip external_llvm-2c6e1cf1dd4d0789118f9761e23885dda94296e1.tar.gz external_llvm-2c6e1cf1dd4d0789118f9761e23885dda94296e1.tar.bz2 |
Fix check for supported targets in llvm-c lit.local.cfg
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193235 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Bindings/llvm-c/lit.local.cfg | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Bindings/llvm-c/lit.local.cfg b/test/Bindings/llvm-c/lit.local.cfg index 270a7f2..d83ebee 100644 --- a/test/Bindings/llvm-c/lit.local.cfg +++ b/test/Bindings/llvm-c/lit.local.cfg @@ -1,3 +1,5 @@ targets = set(config.root.targets_to_build.split()) -if not (targets & set(["X86", "ARM"])): +if not "X86" in targets: + config.unsupported = True +if not "ARM" in targets: config.unsupported = True |