diff options
| author | Eli Bendersky <eliben@google.com> | 2012-12-13 02:03:46 +0000 |
|---|---|---|
| committer | Eli Bendersky <eliben@google.com> | 2012-12-13 02:03:46 +0000 |
| commit | f9be4c8b4754af7fdd35dd6a0a819c86e60f4e5c (patch) | |
| tree | 2a700deb16a7a79d986909f53ee2e2f328dacb30 | |
| parent | 0f47b2a63174514fb7124af6c2b0537027941543 (diff) | |
| download | bcm5719-llvm-f9be4c8b4754af7fdd35dd6a0a819c86e60f4e5c.tar.gz bcm5719-llvm-f9be4c8b4754af7fdd35dd6a0a819c86e60f4e5c.zip | |
Make this Lit config file a bit slimmer
llvm-svn: 170083
| -rw-r--r-- | llvm/test/MC/X86/lit.local.cfg | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/llvm/test/MC/X86/lit.local.cfg b/llvm/test/MC/X86/lit.local.cfg index eee568e8fdc..ad280c7cf7d 100644 --- a/llvm/test/MC/X86/lit.local.cfg +++ b/llvm/test/MC/X86/lit.local.cfg @@ -1,12 +1,5 @@ config.suffixes = ['.ll', '.c', '.cpp', '.s'] -def getRoot(config): - if not config.parent: - return config - return getRoot(config.parent) - -root = getRoot(config) - -targets = set(root.targets_to_build.split()) +targets = set(config.root.targets_to_build.split()) if not 'X86' in targets: config.unsupported = True |

