Switch Ocaml to use llvm_supports_binding.
authorDaniel Dunbar <daniel@zuster.org>
Sun, 13 Sep 2009 01:41:47 +0000 (01:41 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sun, 13 Sep 2009 01:41:47 +0000 (01:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81665 91177308-0d34-0410-b5e6-96231b3b80d8

test/Bindings/Ocaml/dg.exp [new file with mode: 0644]
test/Bindings/Ocaml/ocaml.exp [deleted file]
test/Makefile

diff --git a/test/Bindings/Ocaml/dg.exp b/test/Bindings/Ocaml/dg.exp
new file mode 100644 (file)
index 0000000..fb4bd07
--- /dev/null
@@ -0,0 +1,5 @@
+load_lib llvm.exp
+
+if [ llvm_supports_binding ocaml ] then {
+  RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp,ml}]]
+}
diff --git a/test/Bindings/Ocaml/ocaml.exp b/test/Bindings/Ocaml/ocaml.exp
deleted file mode 100644 (file)
index 59e5f99..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-load_lib llvm.exp
-
-RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp,ml}]]
index 1b3c866f96b57d899f0464be2d46069bb2fdb090..9db85c53939715b231f92666ea1e0eb6486e2e59 100644 (file)
@@ -52,8 +52,6 @@ ifndef RUNLLVM2CPP
 IGNORE_TESTS += llvm2cpp.exp
 endif
 
-IGNORE_TESTS += $(filter-out $(BINDINGS_TO_BUILD:=.exp),$(ALL_BINDINGS:=.exp))
-
 ifdef IGNORE_TESTS
 RUNTESTFLAGS += --ignore "$(strip $(IGNORE_TESTS))"
 endif