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 | 25953bfb0763047df28c01057183493490667531 (patch) | |
tree | 8367f19c52510f425d7f9ef51f251bafa404092a | |
parent | 5c3739927900af1bf5f5cdcbb3ebead2d89cd943 (diff) | |
download | llvm-25953bfb0763047df28c01057183493490667531.tar.gz llvm-25953bfb0763047df28c01057183493490667531.tar.bz2 llvm-25953bfb0763047df28c01057183493490667531.tar.xz |
Make this Lit config file a bit slimmer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170083 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/MC/X86/lit.local.cfg | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/test/MC/X86/lit.local.cfg b/test/MC/X86/lit.local.cfg index eee568e8fd..ad280c7cf7 100644 --- a/test/MC/X86/lit.local.cfg +++ b/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 |