X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=extratests%2FMakefile.am;h=9b4e27c7c4a3cd8e68a31290e0f565f1813313ad;hb=17383b655401deefeaed0e67694720184e4f7a35;hp=9aba6db1fbd65cc8b45fd437fe27884eeb11877d;hpb=f396c93351e34d47e49796c72e25056da47ed96f;p=libguestfs.git diff --git a/extratests/Makefile.am b/extratests/Makefile.am index 9aba6db..9b4e27c 100644 --- a/extratests/Makefile.am +++ b/extratests/Makefile.am @@ -42,7 +42,11 @@ GUESTS = $(shell virsh -c $(LIBVIRT_DEFAULT_URI) list --all | \ tail -n +3 | \ awk '{print $$2}') -extra-tests: test-tools-null test-tools-internal test-tools-real +extra-tests: \ + test-tools-null \ + test-tools-internal \ + test-tools-real \ + test-ocaml # Null invocations of the basic tools shouldn't leak memory. test-tools-null: @@ -91,7 +95,6 @@ test-tools-real: if [ $$r -ne 0 ]; then exit $$r; fi; \ done - # XXX Not tested: # ../clone/virt-sysprep # ../edit/virt-edit @@ -101,3 +104,7 @@ test-tools-real: # ../sparsify/virt-sparsify (OCaml) # ../tools/virt-win-reg (Perl) # ../tools/virt-make-fs (Perl) + +# Test OCaml bindings under valgrind. +test-ocaml: + $(MAKE) -C ../ocaml VG="$(VG)" check