summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/SystemZ
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/CodeGen/SystemZ
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/CodeGen/SystemZ')
-rw-r--r--llvm/test/CodeGen/SystemZ/Large/lit.local.cfg3
-rw-r--r--llvm/test/CodeGen/SystemZ/lit.local.cfg3
2 files changed, 2 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/SystemZ/Large/lit.local.cfg b/llvm/test/CodeGen/SystemZ/Large/lit.local.cfg
index 9a02f849c34..4f22a970c3a 100644
--- a/llvm/test/CodeGen/SystemZ/Large/lit.local.cfg
+++ b/llvm/test/CodeGen/SystemZ/Large/lit.local.cfg
@@ -5,6 +5,5 @@ config.suffixes = ['.py']
if config.root.host_arch not in ['SystemZ']:
config.unsupported = True
-targets = set(config.root.targets_to_build.split())
-if not 'SystemZ' in targets:
+if not 'SystemZ' in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/SystemZ/lit.local.cfg b/llvm/test/CodeGen/SystemZ/lit.local.cfg
index b12af09434b..5c02dd3614a 100644
--- a/llvm/test/CodeGen/SystemZ/lit.local.cfg
+++ b/llvm/test/CodeGen/SystemZ/lit.local.cfg
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'SystemZ' in targets:
+if not 'SystemZ' in config.root.targets:
config.unsupported = True
OpenPOWER on IntegriCloud