summaryrefslogtreecommitdiff
path: root/test/Bindings
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
commit8aeca44558234ae3703c565854c31d38034e56cb (patch)
tree1f9dcd85b2007f4e2fbe8efc3db08d8e340a219c /test/Bindings
parent78b4fd3a4b55d7f8b95fb56b5b4f76c83e369ae1 (diff)
downloadllvm-8aeca44558234ae3703c565854c31d38034e56cb.tar.gz
llvm-8aeca44558234ae3703c565854c31d38034e56cb.tar.bz2
llvm-8aeca44558234ae3703c565854c31d38034e56cb.tar.xz
Reduce verbiage of lit.local.cfg files
We can just split targets_to_build in one place and make it immutable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210496 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Bindings')
-rw-r--r--test/Bindings/llvm-c/lit.local.cfg5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/Bindings/llvm-c/lit.local.cfg b/test/Bindings/llvm-c/lit.local.cfg
index d83ebeed8e..75b22c06fb 100644
--- a/test/Bindings/llvm-c/lit.local.cfg
+++ b/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