diff options
author | Wanlong Gao <gaowanlong@cn.fujitsu.com> | 2011-12-23 11:46:21 +0800 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-12-23 08:32:10 +0000 |
commit | 87e03fd48ebc9d0fd3a6ba1ed2481f840ffa6db4 (patch) | |
tree | 944d807788acc03fa13eaca7cd6d36d43ef10652 | |
parent | b5f90793026832889cae3d4997810cb34777cf9a (diff) | |
download | libguestfs-87e03fd48ebc9d0fd3a6ba1ed2481f840ffa6db4.tar.gz libguestfs-87e03fd48ebc9d0fd3a6ba1ed2481f840ffa6db4.tar.xz libguestfs-87e03fd48ebc9d0fd3a6ba1ed2481f840ffa6db4.zip |
extra-tests: add test-guests to prevent test error
extra-tests is depending on tests-guests.
We need guests/*.img when doing extra-tests.
/work/git/libguestfs/run valgrind --log-file=/work/git/libguestfs/tests/extra/valgrind.log --leak-check=full --error-exitcode=119 --suppressions=/work/git/libguestfs/tests/extra/suppressions ../../cat/virt-cat -a ../guests/fedora.img /etc/fstab >/dev/null
../guests/fedora.img: No such file or directory
make[1]: *** [test-tools-internal] Error 1
make[1]: Leaving directory `/work/git/libguestfs/tests/extra'
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
-rw-r--r-- | tests/extra/Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/extra/Makefile.am b/tests/extra/Makefile.am index 582fa555..d129b6dc 100644 --- a/tests/extra/Makefile.am +++ b/tests/extra/Makefile.am @@ -69,6 +69,7 @@ GUESTS = $(shell virsh -c $(LIBVIRT_DEFAULT_URI) list --all | \ awk '{print $$2}') extra-tests: \ + test-guests \ test-prerequisites \ test-c-api \ test-tools-null \ @@ -80,6 +81,9 @@ extra-tests: \ test-resize \ test-sparsify +test-guests: + $(MAKE) -C ../guests check + test-prerequisites: @libtool --help >/dev/null 2>&1 || { \ echo "extra-tests: libtool is not installed"; \ |