[med-svn] [python-htseq] 01/01: Really tweak the test result on architectures where the test is failing due to a wrong expected result
Andreas Tille
tille at debian.org
Tue Dec 8 14:15:03 UTC 2015
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository python-htseq.
commit 25eb43fa23bfd4b251cd932ad8adf0be8aafb6ef
Author: Andreas Tille <tille at debian.org>
Date: Tue Dec 8 15:05:24 2015 +0100
Really tweak the test result on architectures where the test is failing due to a wrong expected result
---
debian/changelog | 8 ++++++++
debian/rules | 8 ++++----
2 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index e2539e4..260ce45 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+htseq (0.6.1p1-3) unstable; urgency=medium
+
+ * Really tweak the test result on architectures where the test
+ is failing due to a wrong expected result
+ Closes: #797793
+
+ -- Andreas Tille <tille at debian.org> Tue, 08 Dec 2015 15:04:19 +0100
+
htseq (0.6.1p1-2) unstable; urgency=medium
[ Andreas Tille ]
diff --git a/debian/rules b/debian/rules
index 02a9908..38bd8d7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,14 +16,14 @@ export http_proxy=http://127.0.9.1:9
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
test-python%:
-ifeq ($(BUILDARCH),i386)
+ echo "testing on architecture $(DEB_HOST_ARCH_CPU)"
+ifneq (,$(filter $(DEB_HOST_ARCH_CPU), i386 kfreebsd-i386 mips))
+ echo "tweaking test result for architecture $(DEB_HOST_ARCH_CPU)"
sed -i.bak 's/\(array(\[0, 0, 0, ..., 0, 0, 0\]\), dtype=int32/\1/' doc/tss.rst
endif
python$* test/test.py
python$* test/tss_test.py
-ifeq ($(BUILDARCH),i386)
- mv doc/tss.rst.bak doc/tss.rst
-endif
+ if [ -e doc/tss.rst.bak ] ; then mv doc/tss.rst.bak doc/tss.rst; fi
override_dh_auto_test: $(PYTHON2:%=test-python%)
endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-htseq.git
More information about the debian-med-commit
mailing list