X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=extratests%2FMakefile.am;h=a73a18762a8afbb3aaf6c96a2752e36596b0d27e;hb=52f361895b9367f08b6f381e7f6a9d5e30646a20;hp=9aba6db1fbd65cc8b45fd437fe27884eeb11877d;hpb=f396c93351e34d47e49796c72e25056da47ed96f;p=libguestfs.git diff --git a/extratests/Makefile.am b/extratests/Makefile.am index 9aba6db..a73a187 100644 --- a/extratests/Makefile.am +++ b/extratests/Makefile.am @@ -42,7 +42,13 @@ 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-resize \ + test-capitests \ + test-ocaml # Null invocations of the basic tools shouldn't leak memory. test-tools-null: @@ -91,13 +97,23 @@ test-tools-real: if [ $$r -ne 0 ]; then exit $$r; fi; \ done +# Run virt-resize tests under valgrind. +test-resize: + $(MAKE) -C ../resize VG="$(VG)" check # XXX Not tested: # ../clone/virt-sysprep # ../edit/virt-edit # ../edit/virt-edit -e # ../fuse/guestmount -# ../resize/virt-resize (OCaml) # ../sparsify/virt-sparsify (OCaml) # ../tools/virt-win-reg (Perl) # ../tools/virt-make-fs (Perl) + +# Run capitests under valgrind. +test-capitests: + $(MAKE) -C ../capitests VG="$(RUN_VG)" check + +# Test OCaml bindings under valgrind. +test-ocaml: + $(MAKE) -C ../ocaml VG="$(VG)" check