summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-11-29 13:13:44 +0000
committerRichard W.M. Jones <rjones@redhat.com>2011-11-29 13:13:44 +0000
commite1f395defc6db5bbc82537af6e517d94216b7d4b (patch)
tree4956ecf7ec2672f64f2820e1ce510b44d2bd6e3e
parentd81c0829ea4a99aadb98df37be9543a973269041 (diff)
downloadlibguestfs-e1f395defc6db5bbc82537af6e517d94216b7d4b.tar.gz
libguestfs-e1f395defc6db5bbc82537af6e517d94216b7d4b.tar.xz
libguestfs-e1f395defc6db5bbc82537af6e517d94216b7d4b.zip
extra tests: Run C API tests under valgrind.
-rw-r--r--extratests/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/extratests/Makefile.am b/extratests/Makefile.am
index 739f1c2a..3449ca75 100644
--- a/extratests/Makefile.am
+++ b/extratests/Makefile.am
@@ -46,6 +46,7 @@ extra-tests: \
test-tools-null \
test-tools-internal \
test-tools-real \
+ test-capitests \
test-ocaml
# Null invocations of the basic tools shouldn't leak memory.
@@ -106,6 +107,10 @@ test-tools-real:
# ../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