[Pkg-libvirt-commits] [libguestfs] 01/61: builder: allow to run website tests under valgrind

Hilko Bengen bengen at moszumanska.debian.org
Sat Mar 29 14:36:20 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch experimental
in repository libguestfs.

commit fa0fed8a2deacc29524518fbaa1e51516edce872
Author: Pino Toscano <ptoscano at redhat.com>
Date:   Thu Mar 20 16:23:43 2014 +0100

    builder: allow to run website tests under valgrind
---
 builder/website/Makefile.am | 3 +++
 builder/website/validate.sh | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/builder/website/Makefile.am b/builder/website/Makefile.am
index a5b1bcf..6b609f6 100644
--- a/builder/website/Makefile.am
+++ b/builder/website/Makefile.am
@@ -45,3 +45,6 @@ CLEANFILES = *~
 # Validates the index file.
 TESTS_ENVIRONMENT = $(top_builddir)/run --test
 TESTS = validate.sh
+
+check-valgrind:
+	$(MAKE) VG="$(top_builddir)/run @VG@" check
diff --git a/builder/website/validate.sh b/builder/website/validate.sh
index 1c535e7..bd9a4ed 100755
--- a/builder/website/validate.sh
+++ b/builder/website/validate.sh
@@ -19,6 +19,6 @@
 export LANG=C
 set -e
 
-../virt-index-validate $srcdir/index
-../virt-index-validate $srcdir/index.asc
+$VG ../virt-index-validate $srcdir/index
+$VG ../virt-index-validate $srcdir/index.asc
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list