Continue cleanup of LIT, getting rid of the remaining artifacts from dejagnu
[oota-llvm.git] / test / CodeGen / SPARC / lit.local.cfg
index ba81a16057c56fb5c7986f13d179007e16b9c1a7..786fee9e6610b179bd3600780e9bd160ee3f58ff 100644 (file)
@@ -1,13 +1,6 @@
 config.suffixes = ['.ll', '.c', '.cpp']
 
-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 'Sparc' in targets:
     config.unsupported = True