projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix inserting new elements in a specified location.
[oota-llvm.git]
/
test
/
MC
/
MachO
/
lit.local.cfg
diff --git
a/test/MC/MachO/lit.local.cfg
b/test/MC/MachO/lit.local.cfg
index 1f53769b7b9c6816363934179238f124cfcc8f72..41a8434f99939c4a7ebf9421796d2b1c25f40cab 100644
(file)
--- a/
test/MC/MachO/lit.local.cfg
+++ b/
test/MC/MachO/lit.local.cfg
@@
-1,13
+1,6
@@
-config.suffixes = ['.s']
+config.suffixes = ['.s'
, '.ll'
]
-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
if not 'X86' in targets:
config.unsupported = True