From: Anders Waldenborg Date: Wed, 23 Oct 2013 08:47:52 +0000 (+0000) Subject: Fix check for supported targets in llvm-c lit.local.cfg X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2c6e1cf1dd4d0789118f9761e23885dda94296e1;p=oota-llvm.git 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 --- diff --git a/test/Bindings/llvm-c/lit.local.cfg b/test/Bindings/llvm-c/lit.local.cfg index 270a7f2365a..d83ebeed8e1 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