Update test to use llvm-readobj. NFC.
[oota-llvm.git] / test / MC / MachO / lit.local.cfg
index 1f53769b7b9c6816363934179238f124cfcc8f72..e71f3cc4c41e708fa77255cb5ac82eb42037e31c 100644 (file)
@@ -1,13 +1,3 @@
-config.suffixes = ['.s']
-
-def getRoot(config):
-    if not config.parent:
-        return config
-    return getRoot(config.parent)
-
-root = getRoot(config)
-
-targets = set(root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
     config.unsupported = True