diff options
author | Alp Toker <alp@nuanti.com> | 2014-06-09 22:42:55 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-06-09 22:42:55 +0000 |
commit | d3d017cf00714c7d376a3cf87d2a17002e12cac7 (patch) | |
tree | b8403ec0231bf6ccb16b84428152b17d67193094 /llvm/test/CodeGen/SystemZ | |
parent | 669fc86ed0a421b8931e0bde5d41ece76e29a740 (diff) | |
download | bcm5719-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.cfg | 3 | ||||
-rw-r--r-- | llvm/test/CodeGen/SystemZ/lit.local.cfg | 3 |
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 |