[SCM] Source extractor for astronomical images branch, debian, updated. 9fbffc310d6be3d19d3f738ed6f93c477afde880

Ole Streicher debian at liska.ath.cx
Wed Jan 25 08:59:35 UTC 2012


The following commit has been merged in the debian branch:
commit 956dded5e05904f51fb32e0b9d8561cc0417c19b
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Wed Jan 25 09:53:48 2012 +0100

    Dont run dh_auto_test on mips or mipsel due to timeout problem there
    (The build system has no FPU what results in a extraordinary long
    computation time)

diff --git a/debian/rules b/debian/rules
index 1ba7a80..095658a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,7 @@
 # from having to guess our platform (since we know it already)
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 
 %:
 	dh  $@ --with autoreconf
@@ -18,6 +19,12 @@ override_dh_auto_configure:
                              --with-atlas=/usr/lib/ \
                              --disable-threads
 
+# Testing fails with a timeout on the MIPS Debian build system -- probably due
+# to the missing FPU.: the tests make extensive use of floating point ops.
+override_dh_auto_test:
+	if [ $(DEB_BUILD_ARCH) != "mipsel" -a $(DEB_BUILD_ARCH) != "mipsel" ] ; \
+	    then dh_auto_test ; fi
+
 override_dh_installchangelogs:
 	dh_installchangelogs ChangeLog
 

-- 
Source extractor for astronomical images



More information about the debian-science-commits mailing list