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
This commit is contained in:
Anders Waldenborg 2013-10-23 08:47:52 +00:00
parent 2bef1a6b25
commit 2c6e1cf1dd

View 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