[med-svn] [bart] 01/01: turn off some tests on some architectures
Martin Uecker
uecker-guest at moszumanska.debian.org
Mon Nov 27 22:57:38 UTC 2017
This is an automated email from the git hooks/post-receive script.
uecker-guest pushed a commit to branch master
in repository bart.
commit d8c19c06fe7d4bffef14d5b54a06b76de46a117a
Author: Martin Uecker <martin.uecker at med.uni-goettingen.de>
Date: Mon Nov 27 23:22:57 2017 +0100
turn off some tests on some architectures
---
debian/changelog | 6 ++++++
debian/rules | 9 +++++++++
2 files changed, 15 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 213d467..2769059 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+bart (0.4.02-2) UNRELEASED; urgency=medium
+
+ * Turn off some unit tests on some architectures.
+
+ -- Martin Uecker <martin.uecker at med.uni-goettingen.de> Mon, 27 Nov 2017 23:21:21 +0100
+
bart (0.4.02-1) unstable; urgency=medium
* New upstream version.
diff --git a/debian/rules b/debian/rules
index a4e53c3..d899793 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,8 +2,17 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
+# Some tests fail on the following architectures probably
+# due to minor differences in floating point processing.
+# For now, just turn it off...
+NOTEST_ARCHS=i386 mips mipsel hurd-i386 kfreebsd-i386 m68k sh4
+
%:
dh $@
override_dh_auto_test:
+ifeq (,$(filter $(NOTEST_ARCHS), $(DEB_BUILD_ARCH)))
make utest
+endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/bart.git
More information about the debian-med-commit
mailing list