summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-13 01:41:47 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-13 01:41:47 +0000
commit9fffa154716abb9993bfdce3e78071997fce3c3e (patch)
treeb121d2ba73eaa4443b903649c9cc3b70ef3c513d /llvm/test
parentabc5153371a6874a6b93ee5623627ea59fb433a4 (diff)
downloadbcm5719-llvm-9fffa154716abb9993bfdce3e78071997fce3c3e.tar.gz
bcm5719-llvm-9fffa154716abb9993bfdce3e78071997fce3c3e.zip
Switch Ocaml to use llvm_supports_binding.
llvm-svn: 81665
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/Bindings/Ocaml/dg.exp5
-rw-r--r--llvm/test/Bindings/Ocaml/ocaml.exp3
-rw-r--r--llvm/test/Makefile2
3 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/Bindings/Ocaml/dg.exp b/llvm/test/Bindings/Ocaml/dg.exp
new file mode 100644
index 00000000000..fb4bd078e37
--- /dev/null
+++ b/llvm/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/llvm/test/Bindings/Ocaml/ocaml.exp b/llvm/test/Bindings/Ocaml/ocaml.exp
deleted file mode 100644
index 59e5f99a995..00000000000
--- a/llvm/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/llvm/test/Makefile b/llvm/test/Makefile
index 1b3c866f96b..9db85c53939 100644
--- a/llvm/test/Makefile
+++ b/llvm/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
OpenPOWER on IntegriCloud