X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=extratests%2FMakefile.am;h=32dcbf2b5a39e66304345d323c6e71d729e2dc73;hp=bf6b3f9848ff0fedfa10d36f2c14aa5cdcea4043;hb=b7addee24d211014086c44bcef6a0c799e4fb987;hpb=efef3e3c1205e5476044f41fb88385e3ba07468d diff --git a/extratests/Makefile.am b/extratests/Makefile.am index bf6b3f9..32dcbf2 100644 --- a/extratests/Makefile.am +++ b/extratests/Makefile.am @@ -22,6 +22,7 @@ # - the disks of these guests are accessible by the current user # (tip: add yourself to the 'disk' group) # - valgrind +# - libtool # # These tests may fail for reasons which aren't necessarily real problems. # @@ -68,6 +69,7 @@ GUESTS = $(shell virsh -c $(LIBVIRT_DEFAULT_URI) list --all | \ awk '{print $$2}') extra-tests: \ + test-prerequisites \ test-capitests \ test-tools-null \ test-tools-internal \ @@ -78,6 +80,16 @@ extra-tests: \ test-resize \ test-sparsify +test-prerequisites: + @libtool --help >/dev/null 2>&1 || { \ + echo "extra-tests: libtool is not installed"; \ + exit 1; \ + } + @valgrind --help >/dev/null 2>&1 || { \ + echo "extra-tests: valgrind is not installed"; \ + exit 1; \ + } + # Null invocations of the basic tools shouldn't leak memory. test-tools-null: $(RUN_VG) ../fish/guestfish -N part exit