[Pkg-libvirt-commits] [libguestfs] 257/266: Don't attempt to run make quickcheck on all architectures. (Closes: #754615)

Hilko Bengen bengen at moszumanska.debian.org
Fri Oct 3 14:42:58 UTC 2014


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

bengen pushed a commit to annotated tag debian/1%1.27.35-1
in repository libguestfs.

commit 0fe53a32cdaffaa03968c0012bf9f49d25182ecc
Author: Hilko Bengen <bengen at debian.org>
Date:   Tue Jul 15 21:34:02 2014 +0200

    Don't attempt to run make quickcheck on all architectures. (Closes: #754615)
    
    It just takes too long on mips.
---
 debian/rules | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 8a10e6c..505881a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 # export DH_VERBOSE=1
+include /usr/share/dpkg/architecture.mk
 
 PYTHONS        := $(filter-out python2.5, $(shell pyversions --installed; py3versions --installed))
 PYTHON_DEFAULT := $(shell pyversions --default)
@@ -14,9 +15,12 @@ BUILDS         := $(filter-out $(PYTHON_DEFAULT), $(PYTHONS)) \
 		  $(filter-out $(LUA_DEFAULT), $(LUAS)) \
 		  default
 
-QEMU_CPU := $(shell dpkg-architecture -qDEB_HOST_GNU_CPU \
+QEMU_CPU := $(shell echo $(DEB_HOST_GNU_CPU) \
 		    | sed -e 's,i[456]86,i386,;s,sparc,sparc64,;s,powerpc,ppc64,;s,arm.*,arm,')
 
+# Do not run "make quickcheck on these architectures
+QUICKCHECK_ARCHITECTURES := i386 amd64
+
 DEFAULT_CONFIG_FLAGS = \
 	--disable-gnulib-tests     \
 	--with-readline	           \
@@ -94,7 +98,9 @@ override_dh_auto_build:
 	done
 
 override_dh_auto_test:
+ifneq "" "$(findstring $(DEB_HOST_ARCH),$(QUICKCHECK_ARCHITECTURES))"
 	make -C $(CURDIR)/debian/build-default quickcheck
+endif
 
 override_dh_auto_install:
 # All build trees contain the library plus guestfish and C virt tools.

-- 
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