[med-svn] r9466 - trunk/packages/plastimatch/trunk/debian

Dominique Belhachemi domibel at alioth.debian.org
Sat Jan 28 03:35:05 UTC 2012


Author: domibel
Date: 2012-01-28 03:35:03 +0000 (Sat, 28 Jan 2012)
New Revision: 9466

Modified:
   trunk/packages/plastimatch/trunk/debian/changelog
   trunk/packages/plastimatch/trunk/debian/rules
Log:
Make the test suite fatal on supported arches

Modified: trunk/packages/plastimatch/trunk/debian/changelog
===================================================================
--- trunk/packages/plastimatch/trunk/debian/changelog	2012-01-28 02:47:00 UTC (rev 9465)
+++ trunk/packages/plastimatch/trunk/debian/changelog	2012-01-28 03:35:03 UTC (rev 9466)
@@ -4,6 +4,12 @@
 
  -- Gregory C. Sharp <gregsharp.geo at yahoo.com>  Wed, 25 Jan 2012 22:44:17 -0500
 
+plastimatch (1.5.5+dfsg0-2) unstable; urgency=low
+
+  * Make the test suite fatal on supported arches
+
+ -- Dominique Belhachemi <domibel at debian.org>  Wed, 09 Nov 2011 23:10:50 -0500
+
 plastimatch (1.5.5+dfsg0-1) unstable; urgency=low
 
   * new upstream release

Modified: trunk/packages/plastimatch/trunk/debian/rules
===================================================================
--- trunk/packages/plastimatch/trunk/debian/rules	2012-01-28 02:47:00 UTC (rev 9465)
+++ trunk/packages/plastimatch/trunk/debian/rules	2012-01-28 03:35:03 UTC (rev 9466)
@@ -1,5 +1,9 @@
 #!/usr/bin/make -f
 
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_ARCH       ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
@@ -15,5 +19,14 @@
 override_dh_auto_configure:
 	dh_auto_configure -- $(DEB_CMAKE_EXTRA_FLAGS)
 
+override_dh_auto_test:
+#Make the test suit fatal on supported arches
+ifneq (,$(filter $(DEB_HOST_ARCH),amd64 i386 kfreebsd-amd64 kfreebsd-amd64))
+	dh_auto_test
+else
+	dh_auto_test || true
+endif
+
+
 get-orig-source:
 	. debian/get-orig-source




More information about the debian-med-commit mailing list