From a5680971a941d143dda26bd7ead672de1c3dec41 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 29 Nov 2011 13:13:44 +0000 Subject: [PATCH] extra tests: Run C API tests under valgrind. (cherry picked from commit e1f395defc6db5bbc82537af6e517d94216b7d4b) --- extratests/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 1.8.3.1