aboutsummaryrefslogtreecommitdiffstats
path: root/test/Bindings
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
commit0b88ed9dece0e73380d7ec58f24f8ff0c7eeb478 (patch)
tree3a7f136c7ec4a19d8a35453f14db723cd835490e /test/Bindings
parent840a718105b5792d442af5f9acd08501c1ae469f (diff)
downloadexternal_llvm-0b88ed9dece0e73380d7ec58f24f8ff0c7eeb478.zip
external_llvm-0b88ed9dece0e73380d7ec58f24f8ff0c7eeb478.tar.gz
external_llvm-0b88ed9dece0e73380d7ec58f24f8ff0c7eeb478.tar.bz2
Switch Ocaml to use llvm_supports_binding.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81665 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Bindings')
-rw-r--r--test/Bindings/Ocaml/dg.exp5
-rw-r--r--test/Bindings/Ocaml/ocaml.exp3
2 files changed, 5 insertions, 3 deletions
diff --git a/test/Bindings/Ocaml/dg.exp b/test/Bindings/Ocaml/dg.exp
new file mode 100644
index 0000000..fb4bd07
--- /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 59e5f99..0000000
--- 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}]]