[med-svn] r15645 - trunk/packages/seqan/trunk/debian

Andreas Tille tille at moszumanska.debian.org
Sat Dec 28 17:01:07 UTC 2013


Author: tille
Date: 2013-12-28 17:01:06 +0000 (Sat, 28 Dec 2013)
New Revision: 15645

Modified:
   trunk/packages/seqan/trunk/debian/changelog
   trunk/packages/seqan/trunk/debian/rules
Log:
Run test suite only on powerfull architectures (amd64) at build time


Modified: trunk/packages/seqan/trunk/debian/changelog
===================================================================
--- trunk/packages/seqan/trunk/debian/changelog	2013-12-28 16:15:02 UTC (rev 15644)
+++ trunk/packages/seqan/trunk/debian/changelog	2013-12-28 17:01:06 UTC (rev 15645)
@@ -1,3 +1,11 @@
+seqan (1.4.1-3) UNRELEASED; urgency=medium
+
+  * debian/rules: Run test suite only on powerfull architectures (amd64)
+    at build time
+    Closes: #733248
+
+ -- Andreas Tille <tille at debian.org>  Sat, 28 Dec 2013 17:56:25 +0100
+
 seqan (1.4.1-2) unstable; urgency=low
 
   * debian/seqan-apps.links: s/mason/seqan_mason

Modified: trunk/packages/seqan/trunk/debian/rules
===================================================================
--- trunk/packages/seqan/trunk/debian/rules	2013-12-28 16:15:02 UTC (rev 15644)
+++ trunk/packages/seqan/trunk/debian/rules	2013-12-28 17:01:06 UTC (rev 15645)
@@ -6,6 +6,8 @@
 # Droping -fstack-protector flag helps **drastically** reducing memory consumption when building the package!!!!
 export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS | sed 's/-fstack-protector *//')
 
+DEB_HOST_ARCH       ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
 %:
 	dh $@
 
@@ -58,6 +60,14 @@
         # since dh_link is executed after dh_installmanpages this is done here
 	$(CURDIR)/debian/generate_manpages
 
+override_dh_auto_test:
+# Run test suite only on powerfull architectures (amd64) at build time
+ifneq (,$(filter $(DEB_HOST_ARCH),amd64 kfreebsd-amd64))
+	dh_auto_test
+else
+	echo "Do not run test suite when building on architecture $(DEB_HOST_ARCH)"
+endif
+
 get-orig-source:
 	uscan --verbose --force-download
 




More information about the debian-med-commit mailing list