checking test case for r164811. was an omission to not check this in. this was alrea...
[oota-llvm.git] / test / CodeGen / Hexagon / lit.local.cfg
index ea12f68870e73ef1e563ce7ef4ad2590519d305f..24324b2792e386aefa7fc7622592575c97e08138 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 'Hexagon' in targets:
     config.unsupported = True