Continue cleanup of LIT, getting rid of the remaining artifacts from dejagnu
[oota-llvm.git] / test / CodeGen / Thumb / lit.local.cfg
index dd6c50d4fe48928d5391064b41a108c0a981536b..cb77b09ef4adbcf6481e27d0577855a7e17a8c36 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 'ARM' in targets:
     config.unsupported = True