X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=extratests%2FMakefile.am;fp=extratests%2FMakefile.am;h=739f1c2a0b918ec166a8ab40e3da2246c7c2dd82;hp=a3b9a2f0d19fd78de087f7056ce963b7d9b84524;hb=aa4eb4cd109dda0dc7dfdd66a5163a18b0be2277;hpb=6ccae55ddcf0c08cd1b1cdbc07afeed043ad410d diff --git a/extratests/Makefile.am b/extratests/Makefile.am index a3b9a2f..739f1c2 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: @@ -92,7 +96,6 @@ test-tools-real: if [ $$r -ne 0 ]; then exit $$r; fi; \ done - # XXX Not tested: # ../clone/virt-sysprep # ../edit/virt-edit @@ -102,3 +105,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