[llvm-commits] [llvm] r81665 - in /llvm/trunk/test: Bindings/Ocaml/dg.exp Bindings/Ocaml/ocaml.exp Makefile

Daniel Dunbar daniel at zuster.org
Sat Sep 12 18:41:48 PDT 2009


Author: ddunbar
Date: Sat Sep 12 20:41:47 2009
New Revision: 81665

URL: http://llvm.org/viewvc/llvm-project?rev=81665&view=rev
Log:
Switch Ocaml to use llvm_supports_binding.

Added:
    llvm/trunk/test/Bindings/Ocaml/dg.exp
Removed:
    llvm/trunk/test/Bindings/Ocaml/ocaml.exp
Modified:
    llvm/trunk/test/Makefile

Added: llvm/trunk/test/Bindings/Ocaml/dg.exp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Bindings/Ocaml/dg.exp?rev=81665&view=auto

==============================================================================
--- llvm/trunk/test/Bindings/Ocaml/dg.exp (added)
+++ llvm/trunk/test/Bindings/Ocaml/dg.exp Sat Sep 12 20:41:47 2009
@@ -0,0 +1,5 @@
+load_lib llvm.exp
+
+if [ llvm_supports_binding ocaml ] then {
+  RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp,ml}]]
+}

Removed: llvm/trunk/test/Bindings/Ocaml/ocaml.exp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Bindings/Ocaml/ocaml.exp?rev=81664&view=auto

==============================================================================
--- llvm/trunk/test/Bindings/Ocaml/ocaml.exp (original)
+++ llvm/trunk/test/Bindings/Ocaml/ocaml.exp (removed)
@@ -1,3 +0,0 @@
-load_lib llvm.exp
-
-RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp,ml}]]

Modified: llvm/trunk/test/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Makefile?rev=81665&r1=81664&r2=81665&view=diff

==============================================================================
--- llvm/trunk/test/Makefile (original)
+++ llvm/trunk/test/Makefile Sat Sep 12 20:41:47 2009
@@ -52,8 +52,6 @@
 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





More information about the llvm-commits mailing list