[llvm] r193235 - Fix check for supported targets in llvm-c lit.local.cfg

Anders Waldenborg anders at 0x63.nu
Wed Oct 23 01:47:52 PDT 2013


Author: andersg
Date: Wed Oct 23 03:47:52 2013
New Revision: 193235

URL: http://llvm.org/viewvc/llvm-project?rev=193235&view=rev
Log:
Fix check for supported targets in llvm-c lit.local.cfg


Modified:
    llvm/trunk/test/Bindings/llvm-c/lit.local.cfg

Modified: llvm/trunk/test/Bindings/llvm-c/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Bindings/llvm-c/lit.local.cfg?rev=193235&r1=193234&r2=193235&view=diff
==============================================================================
--- llvm/trunk/test/Bindings/llvm-c/lit.local.cfg (original)
+++ llvm/trunk/test/Bindings/llvm-c/lit.local.cfg Wed Oct 23 03:47:52 2013
@@ -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





More information about the llvm-commits mailing list