[SystemZ] Add testcase missing from r186073
[oota-llvm.git] / test / Bindings / Ocaml / lit.local.cfg
index 127c3d56305387b3900667b1e6d163581cb33067..640c58d2f3d6e8938be6799bcfa15f5d3daf9777 100644 (file)
@@ -1,13 +1,6 @@
 config.suffixes = ['.ll', '.c', '.cpp', '.ml']
 
-def getRoot(config):
-    if not config.parent:
-        return config
-    return getRoot(config.parent)
-
-root = getRoot(config)
-
-bindings = set([s.strip() for s in root.llvm_bindings.split(',')])
+bindings = set([s.strip() for s in config.root.llvm_bindings.split(',')])
 if not 'ocaml' in bindings:
     config.unsupported = True