summaryrefslogtreecommitdiffstats
path: root/ocaml/run-bindtests
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-01-27 22:11:53 +0000
committerRichard W.M. Jones <rjones@redhat.com>2012-01-29 11:15:50 +0000
commit64529a62acd81bf1a5c2d5b25f54b1e596e07e1c (patch)
tree5c1906be7ae45c95bedf153f2c4674e1299fd6d9 /ocaml/run-bindtests
parent9b8b9a4b56d2ce221fb52b7d205dd4eb864c9ea2 (diff)
downloadlibguestfs-64529a62acd81bf1a5c2d5b25f54b1e596e07e1c.tar.gz
libguestfs-64529a62acd81bf1a5c2d5b25f54b1e596e07e1c.tar.xz
libguestfs-64529a62acd81bf1a5c2d5b25f54b1e596e07e1c.zip
ocaml: Test bytecode and native code bindings.
Compile each test twice, as bytecode and native code, and test both. (cherry picked from commit eb68a314133c88260cdf4547d7d338446488e698)
Diffstat (limited to 'ocaml/run-bindtests')
-rwxr-xr-xocaml/run-bindtests5
1 files changed, 4 insertions, 1 deletions
diff --git a/ocaml/run-bindtests b/ocaml/run-bindtests
index da10231d..3b73e8d3 100755
--- a/ocaml/run-bindtests
+++ b/ocaml/run-bindtests
@@ -18,5 +18,8 @@
set -e
-./bindtests > bindtests.tmp
+./bindtests.bc > bindtests.tmp
+diff -u $srcdir/../bindtests bindtests.tmp
+
+./bindtests.opt > bindtests.tmp
diff -u $srcdir/../bindtests bindtests.tmp