X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=extratests%2FMakefile.am;fp=extratests%2FMakefile.am;h=6cc9cb035a396abce1924dcec7eb1badd3369eca;hb=eb77965e00365e8c5652264ad569653c82b0de23;hp=e330e5cbea0d84be133de6c052db7ad2c1e67911;hpb=3808715867690cd137b7afdbfd32f2c2827d1dd4;p=libguestfs.git diff --git a/extratests/Makefile.am b/extratests/Makefile.am index e330e5c..6cc9cb0 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