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