git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
extra tests: Test virt-resize.
[libguestfs.git]
/
extratests
/
Makefile.am
diff --git
a/extratests/Makefile.am
b/extratests/Makefile.am
index
a3b9a2f
..
3b46ae8
100644
(file)
--- 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}')
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:
# Null invocations of the basic tools shouldn't leak memory.
test-tools-null:
@@
-92,13
+98,23
@@
test-tools-real:
if [ $$r -ne 0 ]; then exit $$r; fi; \
done
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
# 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)
# ../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