diff --git a/llvm/test/Bindings/llvm-c/lit.local.cfg b/llvm/test/Bindings/llvm-c/lit.local.cfg index 270a7f2365acadeb8ea724598bac389e4e18b5f9..d83ebeed8e1cadc97cb2de697f5dd90cdfb3c4a5 100644 --- a/llvm/test/Bindings/llvm-c/lit.local.cfg +++ b/llvm/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