[Pkg-libvirt-commits] [libvirt] 04/05: More verbose test output

Guido Guenther agx at moszumanska.debian.org
Sat May 3 14:46:01 UTC 2014


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

agx pushed a commit to annotated tag debian/1.2.4_rc2-1
in repository libvirt.

commit 7f310c84ac7e708ff738a3e763107e140a7ed106
Author: Guido Günther <agx at sigxcpu.org>
Date:   Sat May 3 12:07:48 2014 +0200

    More verbose test output
---
 debian/rules | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index d475c8c..f2af567 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,5 @@
 #!/usr/bin/make -f
 
-export VIR_TEST_DEBUG=1
-
 ifneq (,$(findstring $(DEB_HOST_ARCH_OS), linux))
   ifneq (,$(findstring $(DEB_HOST_ARCH), i386 amd64))
     WITH_XEN = --with-xen
@@ -132,8 +130,13 @@ override_dh_auto_install:
 
 override_dh_auto_test:
 	export LD_PRELOAD="";     \
-	[ -z "$(MAKE_CHECK)" ] || \
-	  dh_auto_test -O--builddirectory=$(DEB_BUILDDIR)
+	export VIR_TEST_DEBUG=1;  \
+	[ -n "$(MAKE_CHECK)" ] || exit 0; \
+	if ! dh_auto_test -O--builddirectory=$(DEB_BUILDDIR); then \
+	    cat ./debian/build/gnulib/tests/test-suite.log \
+	        ./debian/build/tests/test-suite.log; \
+	    exit 1; \
+	fi
 
 override_dh_install:
 	dh_install

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



More information about the Pkg-libvirt-commits mailing list