[med-svn] [python-htseq] 01/01: Tweak expected test result to build on i386
Andreas Tille
tille at debian.org
Tue Dec 8 10:35:01 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 31ad56438a4b9c2482d4d4ee0e7a87ed5f9c0a4c
Author: Andreas Tille <tille at debian.org>
Date: Tue Dec 8 11:07:06 2015 +0100
Tweak expected test result to build on i386
---
debian/changelog | 2 ++
debian/rules | 6 ++++++
2 files changed, 8 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index ad6b477..2367318 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ htseq (0.6.1p1-2) UNRELEASED; urgency=medium
[ Andreas Tille ]
* Add citation data
+ * Tweak expected test result to build on i386
+ Closes: #797793
[ Afif Elghraoui ]
* Add patch to allow compatibility with pysam 0.8.4
diff --git a/debian/rules b/debian/rules
index 7c28925..02a9908 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,8 +16,14 @@ export http_proxy=http://127.0.9.1:9
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
test-python%:
+ifeq ($(BUILDARCH),i386)
+ 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
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