From: Richard W.M. Jones Date: Tue, 29 Nov 2011 13:13:44 +0000 (+0000) Subject: extra tests: Run C API tests under valgrind. X-Git-Tag: 1.14.5~13 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=a5680971a941d143dda26bd7ead672de1c3dec41;p=libguestfs.git extra tests: Run C API tests under valgrind. (cherry picked from commit e1f395defc6db5bbc82537af6e517d94216b7d4b) --- diff --git a/extratests/Makefile.am b/extratests/Makefile.am index 9b4e27c..6cd4d0b 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. @@ -105,6 +106,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