diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-12-02 15:03:19 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-12-02 15:03:19 +0000 |
commit | b7addee24d211014086c44bcef6a0c799e4fb987 (patch) | |
tree | 6e25d13e005099b431ba7b903a4e06c852f451f6 | |
parent | e72c200e4c16dce72654a57ef6e9a0ad1ca686e1 (diff) | |
download | libguestfs-b7addee24d211014086c44bcef6a0c799e4fb987.tar.gz libguestfs-b7addee24d211014086c44bcef6a0c799e4fb987.tar.xz libguestfs-b7addee24d211014086c44bcef6a0c799e4fb987.zip |
extra tests: Test that valgrind and libtool are installed.
-rw-r--r-- | extratests/Makefile.am | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/extratests/Makefile.am b/extratests/Makefile.am index bf6b3f98..32dcbf2b 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 |