[med-svn] [khmer] 03/04: Try skeleton for autopkgtest - unfortunately all tests are failing with ImportError: No module named _khmer

Andreas Tille tille at debian.org
Tue Feb 3 10:35:43 UTC 2015


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

tille pushed a commit to branch master
in repository khmer.

commit 7bd3c9aafd460dc2bf0dd4e36a22fbf18938ab64
Author: Andreas Tille <tille at debian.org>
Date:   Tue Feb 3 11:36:05 2015 +0100

    Try skeleton for autopkgtest - unfortunately all tests are failing with
      ImportError: No module named _khmer
---
 debian/tests/control       | 3 +++
 debian/tests/run-unit-test | 8 ++++++++
 2 files changed, 11 insertions(+)

diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..1160776
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, python-drmaa
+Restrictions: allow-stderr
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
new file mode 100644
index 0000000..865402e
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,8 @@
+#!/bin/sh -e
+
+pkg=khmer
+if [ "$ADTTMP" = "" ] ; then
+  ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+fi
+cd /usr/lib/python2.7/dist-packages/khmer/tests
+python2.7 -m unittest discover -v

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



More information about the debian-med-commit mailing list