[med-svn] [python-ruffus] 01/02: Skipping drmaa as per http://lists.alioth.debian.org/pipermail/debian-med-packaging/2015-February/031311.html
Andreas Tille
tille at debian.org
Thu Feb 5 12:46:43 UTC 2015
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository python-ruffus.
commit 13ba36249155118faa8720a32bef5ada3c8d3367
Author: Andreas Tille <tille at debian.org>
Date: Thu Feb 5 13:43:49 2015 +0100
Skipping drmaa as per http://lists.alioth.debian.org/pipermail/debian-med-packaging/2015-February/031311.html
---
debian/tests/control | 2 +-
debian/tests/run-unit-test | 9 +++++++++
debian/tests/run-unit-test_failed_tests | 16 ----------------
3 files changed, 10 insertions(+), 17 deletions(-)
diff --git a/debian/tests/control b/debian/tests/control
index 1160776..d2aa55a 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,3 +1,3 @@
Tests: run-unit-test
-Depends: @, python-drmaa
+Depends: @
Restrictions: allow-stderr
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
index 2e7fff0..23a1d05 100644
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -13,6 +13,15 @@ exportLC_ALL=C.UTF-8
for pi in $(pyversions -i) $(py3versions -i); do
${pi} test_filesre_split_and_combine.py --start_again
for tst in test*.py ; do
+ # According to
+ # http://lists.alioth.debian.org/pipermail/debian-med-packaging/2015-February/031311.html
+ # all tests using drmaa need to be excluded
+ # While test_ctrl_c_exceptions.py imports the ruffus drmaa wrapper the test
+ # seems to be OK, so only exclude this single test
+ if [ "$tst" = "test_drmaa.py" ] ; then
+ echo "---> skipping $tst since no cluster is setup automatically <---"
+ continue
+ fi
echo "------------> ${pi} $tst <-----------"
if [ "$tst" = "test_N_x_M_and_collate.py" ] ; then
${pi} test_N_x_M_and_collate.py --debug
diff --git a/debian/tests/run-unit-test_failed_tests b/debian/tests/run-unit-test_failed_tests
index bc0e0cd..d5fb48c 100644
--- a/debian/tests/run-unit-test_failed_tests
+++ b/debian/tests/run-unit-test_failed_tests
@@ -1,13 +1,3 @@
-------------> python2.7 test_drmaa.py <-----------
-Traceback (most recent call last):
- File "test_drmaa.py", line 3, in <module>
- import drmaa
- File "/usr/lib/python2.7/dist-packages/drmaa/__init__.py", line 41, in <module>
- import drmaa.wrappers as _w
- File "/usr/lib/python2.7/dist-packages/drmaa/wrappers.py", line 43, in <module>
- raise RuntimeError(errmsg)
-RuntimeError: could not find drmaa library. Please specify its full path using the environment variable DRMAA_LIBRARY_PATH
-
------------> python2.7 test_file_name_parameters.py <-----------
................FF......
======================================================================
@@ -107,12 +97,6 @@ Ran 6 tests in 0.025s
FAILED (failures=1)
-------------> python3.4 test_drmaa.py <-----------
-Traceback (most recent call last):
- File "test_drmaa.py", line 3, in <module>
- import drmaa
-ImportError: No module named 'drmaa'
-
------------> python3.4 test_file_name_parameters.py <-----------
................FF......
======================================================================
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-ruffus.git
More information about the debian-med-commit
mailing list