Revert part of r241149, "Fix PR23872: Integrated assembler error message when using...
[oota-llvm.git] / test / MC / ELF / lit.local.cfg
index 461c6f4f2b348fe31969af3cde1b9ab7090fdce3..e71f3cc4c41e708fa77255cb5ac82eb42037e31c 100644 (file)
@@ -1,13 +1,3 @@
-config.suffixes = ['.ll', '.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