Forgot to add testcase for r198590
[oota-llvm.git] / test / CodeGen / SPARC / lit.local.cfg
index ba81a16057c56fb5c7986f13d179007e16b9c1a7..4d344fa91a9ea75d17bcc0e55beecfc9915fe29a 100644 (file)
@@ -1,13 +1,4 @@
-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