[sfcgal] 02/04: Skip tests on alpha, terminated after timeout.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Fri May 27 10:29:04 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository sfcgal.
commit 19a42d0b9259c66a00c3240d2d5b5e808a3ac2d6
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Thu May 26 22:50:33 2016 +0200
Skip tests on alpha, terminated after timeout.
---
debian/changelog | 1 +
debian/rules | 9 +++++++++
2 files changed, 10 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 905a55f..e399dcb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
sfcgal (1.3.0-2~exp2) UNRELEASED; urgency=medium
* Fix hardening flags via DEB_BUILD_MAINT_OPTIONS.
+ * Skip tests on alpha, terminated after timeout.
-- Bas Couwenberg <sebastic at debian.org> Thu, 26 May 2016 22:42:20 +0200
diff --git a/debian/rules b/debian/rules
index 7e5f196..d7dca99 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,9 @@
DH_VERBOSE = 1
UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+.*//; s/^[0-9]://')
+
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
@@ -19,6 +21,13 @@ override_dh_auto_configure:
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DSFCGAL_BUILD_TESTS=ON
+override_dh_auto_test:
+ifneq (,$(findstring $(DEB_BUILD_ARCH),"alpha"))
+ # Skip tests
+else
+ dh_auto_test
+endif
+
override_dh_install:
# removing embedded rpath in binaries
-find $(CURDIR)/debian/tmp/usr/bin -type f -not -name sfcgal-config -exec chrpath --delete {} \;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/sfcgal.git
More information about the Pkg-grass-devel
mailing list