[Pkg-libvirt-commits] [libguestfs] 73/156: Don't attempt to run make quickcheck on all architectures. (Closes: #754615)
Hilko Bengen
bengen at moszumanska.debian.org
Sat Aug 30 08:26:00 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch master
in repository libguestfs.
commit bdfe7f4cd0ded71d6a947f405f97952ea6dede04
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..9a92d3d 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
+NOTEST_ARCHITECTURES := mips
+
DEFAULT_CONFIG_FLAGS = \
--disable-gnulib-tests \
--with-readline \
@@ -94,7 +98,9 @@ override_dh_auto_build:
done
override_dh_auto_test:
+ifneq "" "$(filter-out $(DEB_HOST_ARCH),$(NOTEST_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