[mips] Make unalignedload.ll test stricter and easier to modify for MIPS32r6/MIPS64r6
[oota-llvm.git] / test / CodeGen / Mips / lit.local.cfg
index e1cd73a3786a623a4f340e8792971c2e055b138d..1fa54b428cd97710d4ce5254475e5e5fefc01f61 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 'Mips' in targets:
     config.unsupported = True