summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bindings/llvm-c
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-06-09 22:42:55 +0000
committerAlp Toker <alp@nuanti.com>2014-06-09 22:42:55 +0000
commitd3d017cf00714c7d376a3cf87d2a17002e12cac7 (patch)
treeb8403ec0231bf6ccb16b84428152b17d67193094 /llvm/test/Bindings/llvm-c
parent669fc86ed0a421b8931e0bde5d41ece76e29a740 (diff)
downloadbcm5719-llvm-d3d017cf00714c7d376a3cf87d2a17002e12cac7.tar.gz
bcm5719-llvm-d3d017cf00714c7d376a3cf87d2a17002e12cac7.zip
Reduce verbiage of lit.local.cfg files
We can just split targets_to_build in one place and make it immutable. llvm-svn: 210496
Diffstat (limited to 'llvm/test/Bindings/llvm-c')
-rw-r--r--llvm/test/Bindings/llvm-c/lit.local.cfg5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/test/Bindings/llvm-c/lit.local.cfg b/llvm/test/Bindings/llvm-c/lit.local.cfg
index d83ebeed8e1..75b22c06fb2 100644
--- a/llvm/test/Bindings/llvm-c/lit.local.cfg
+++ b/llvm/test/Bindings/llvm-c/lit.local.cfg
@@ -1,5 +1,4 @@
-targets = set(config.root.targets_to_build.split())
-if not "X86" in targets:
+if not "X86" in config.root.targets:
config.unsupported = True
-if not "ARM" in targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
OpenPOWER on IntegriCloud