[med-svn] [iva] 01/01: disable multithreaded test

Sascha Steinbiss satta at debian.org
Tue Sep 27 10:10:21 UTC 2016


This is an automated email from the git hooks/post-receive script.

satta pushed a commit to branch master
in repository iva.

commit 5a57b3c31d69949c5f4859e55ebd650c101a80c1
Author: Sascha Steinbiss <satta at debian.org>
Date:   Tue Sep 27 10:10:08 2016 +0000

    disable multithreaded test
---
 debian/changelog                                |  6 ++++++
 debian/patches/disable-multithreaded-test.patch | 18 ++++++++++++++++++
 debian/patches/series                           |  1 +
 3 files changed, 25 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index f21cb38..b089c3f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+iva (1.0.7+ds-2) unstable; urgency=medium
+
+  * disable multiprocessing related test case to fix potential FTBFS
+
+ -- Sascha Steinbiss <satta at debian.org>  Tue, 27 Sep 2016 10:02:51 +0000
+
 iva (1.0.7+ds-1) unstable; urgency=medium
 
   * Add Vcs-Git.
diff --git a/debian/patches/disable-multithreaded-test.patch b/debian/patches/disable-multithreaded-test.patch
new file mode 100644
index 0000000..ee379e8
--- /dev/null
+++ b/debian/patches/disable-multithreaded-test.patch
@@ -0,0 +1,18 @@
+Description: disable multithreaded test
+ One of the tests uses Python's multiprocessing, which on some machines causes
+ FTBFS due to problematic permissions on /dev/shm, resulting in:
+   PermissionError: [Errno 13] Permission denied
+ This patch disables this test to allow building at the minor expense of this
+ missing test.
+Author: Sascha Steinbiss <satta at debian.org>
+--- a/iva/tests/seed_processor_test.py
++++ b/iva/tests/seed_processor_test.py
+@@ -22,7 +22,7 @@
+ data_dir = os.path.join(modules_dir, 'tests', 'data')
+ 
+ class TestSeedProcessor(unittest.TestCase):
+-    def test_process_seeds(self):
++    def _test_process_seeds(self):
+         '''Test process_seeds'''
+         in_fasta = os.path.join(data_dir, 'seed_processor_test.ref.fa')
+         reads1 = os.path.join(data_dir, 'seed_processor_test.reads_1.fa')
diff --git a/debian/patches/series b/debian/patches/series
index ccc43b9..a01da30 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 spelling.patch
 add-shebang-line-to-getMummerStats
+disable-multithreaded-test.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/iva.git



More information about the debian-med-commit mailing list