Fix check for supported targets in llvm-c lit.local.cfg
authorAnders Waldenborg <anders@0x63.nu>
Wed, 23 Oct 2013 08:47:52 +0000 (08:47 +0000)
committerAnders Waldenborg <anders@0x63.nu>
Wed, 23 Oct 2013 08:47:52 +0000 (08:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193235 91177308-0d34-0410-b5e6-96231b3b80d8

test/Bindings/llvm-c/lit.local.cfg

index 270a7f2365acadeb8ea724598bac389e4e18b5f9..d83ebeed8e1cadc97cb2de697f5dd90cdfb3c4a5 100644 (file)
@@ -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