From: Daniel Dunbar Date: Sun, 13 Sep 2009 01:41:47 +0000 (+0000) Subject: Switch Ocaml to use llvm_supports_binding. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=0b88ed9dece0e73380d7ec58f24f8ff0c7eeb478;p=oota-llvm.git Switch Ocaml to use llvm_supports_binding. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81665 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Bindings/Ocaml/dg.exp b/test/Bindings/Ocaml/dg.exp new file mode 100644 index 00000000000..fb4bd078e37 --- /dev/null +++ b/test/Bindings/Ocaml/dg.exp @@ -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 index 59e5f99a995..00000000000 --- a/test/Bindings/Ocaml/ocaml.exp +++ /dev/null @@ -1,3 +0,0 @@ -load_lib llvm.exp - -RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp,ml}]] diff --git a/test/Makefile b/test/Makefile index 1b3c866f96b..9db85c53939 100644 --- a/test/Makefile +++ b/test/Makefile @@ -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