extra tests: Run C API tests under valgrind.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 29 Nov 2011 13:13:44 +0000 (13:13 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 2 Dec 2011 08:33:52 +0000 (08:33 +0000)
(cherry picked from commit e1f395defc6db5bbc82537af6e517d94216b7d4b)

extratests/Makefile.am

index 9b4e27c..6cd4d0b 100644 (file)
@@ -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