[med-svn] [python-pysam] 03/06: Fix autopkgtests

Afif Elghraoui afif-guest at moszumanska.debian.org
Sat Jul 11 23:40:15 UTC 2015


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

afif-guest pushed a commit to branch master
in repository python-pysam.

commit d9adfd86bbe73d4469781b728734579c2d09a7d4
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Sat Jul 11 15:17:02 2015 -0700

    Fix autopkgtests
---
 debian/tests/control         | 14 ++++++--------
 debian/tests/run-nose-tests  | 11 -----------
 debian/tests/run-nose3-tests | 11 -----------
 3 files changed, 6 insertions(+), 30 deletions(-)

diff --git a/debian/tests/control b/debian/tests/control
index 1046737..105c539 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,9 +1,7 @@
-Tests: run-nose-tests
-Depends: @, python-nose, python-pysam-tests, samtools, make,
-	 cython
-Restrictions: allow-stderr
+Test-Command: cd tests && make -C pysam_data && nosetests --nocapture -v
+Depends: @, python-nose, samtools, make, cython
+Restrictions: allow-stderr, rw-build-tree
 
-Tests: run-nose3-tests
-Depends: @, python3-nose, python-pysam-tests, samtools, make,
-	 cython3
-Restrictions: allow-stderr
+Test-Command: cd tests && make -C pysam_data && nosetests3 --nocapture -v
+Depends: @, python3-nose, samtools, make, cython3
+Restrictions: allow-stderr, rw-build-tree
diff --git a/debian/tests/run-nose-tests b/debian/tests/run-nose-tests
deleted file mode 100755
index 94fece9..0000000
--- a/debian/tests/run-nose-tests
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh -e
-
-if [ "$ADTTMP" = "" ] ; then
-  ADTTMP=`mktemp -d /tmp/python-pysam-test.XXXXXX`
-fi
-cd $ADTTMP
-cp -ra /usr/share/doc/python-pysam/tests/* $ADTTMP
-nosetests --nocapture
-cd
-rm -rf $ADTTMP
-
diff --git a/debian/tests/run-nose3-tests b/debian/tests/run-nose3-tests
deleted file mode 100755
index 299a33a..0000000
--- a/debian/tests/run-nose3-tests
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh -e
-
-if [ "$ADTTMP" = "" ] ; then
-  ADTTMP=`mktemp -d /tmp/python3-pysam-test.XXXXXX`
-fi
-cd $ADTTMP
-cp -ra /usr/share/doc/python-pysam/tests/* $ADTTMP
-nosetests3 --nocapture
-cd
-rm -rf $ADTTMP
-

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



More information about the debian-med-commit mailing list