-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
+++ /dev/null
-#!/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
-
+++ /dev/null
-#!/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
-