Continue cleanup of LIT, getting rid of the remaining artifacts from dejagnu
[oota-llvm.git] / test / MC / COFF / lit.local.cfg
index ec8d4d33d262a7f7651d9acf95fe068a2de77a76..41a8434f99939c4a7ebf9421796d2b1c25f40cab 100644 (file)
@@ -1,13 +1,6 @@
 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