summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorAnders Waldenborg <anders@0x63.nu>2013-10-23 08:47:52 +0000
committerAnders Waldenborg <anders@0x63.nu>2013-10-23 08:47:52 +0000
commit49416cf126469e0f7b131e182f591a72642dbf8a (patch)
tree092df783c378394959e2eb5c2758a69deb83ff17 /llvm/test
parent2346c7a51162356aafec9647f57ed3bda5221556 (diff)
downloadbcm5719-llvm-49416cf126469e0f7b131e182f591a72642dbf8a.tar.gz
bcm5719-llvm-49416cf126469e0f7b131e182f591a72642dbf8a.zip
Fix check for supported targets in llvm-c lit.local.cfg
llvm-svn: 193235
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/Bindings/llvm-c/lit.local.cfg4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/Bindings/llvm-c/lit.local.cfg b/llvm/test/Bindings/llvm-c/lit.local.cfg
index 270a7f2365a..d83ebeed8e1 100644
--- a/llvm/test/Bindings/llvm-c/lit.local.cfg
+++ b/llvm/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
OpenPOWER on IntegriCloud