From: Charles Plessy Date: Wed, 10 Dec 2014 12:27:53 +0000 (+0900) Subject: Moved back the autopkgtests in debian/tests X-Git-Tag: archive/raspbian/0.22.0+ds-1+rpi1~1^2^2~341 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6208c5de8584f472f0154b260c8121ad828ad97d;p=python-pysam.git Moved back the autopkgtests in debian/tests --- diff --git a/debian/python-tests/.#run-unit-test b/debian/python-tests/.#run-unit-test deleted file mode 120000 index 3e0a2ee..0000000 --- a/debian/python-tests/.#run-unit-test +++ /dev/null @@ -1 +0,0 @@ -vagrant@debian.31577:1417164804 \ No newline at end of file diff --git a/debian/python-tests/control b/debian/python-tests/control deleted file mode 100644 index faf5cfc..0000000 --- a/debian/python-tests/control +++ /dev/null @@ -1,3 +0,0 @@ -Tests: run-nose-tests -Depends: @, python-nose, python-pysam-tests, samtools, make -Restrictions: allow-stderr diff --git a/debian/python-tests/run-nose-tests b/debian/python-tests/run-nose-tests deleted file mode 100644 index 94fece9..0000000 --- a/debian/python-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/python3-tests/control b/debian/python3-tests/control deleted file mode 100644 index 58d8e4f..0000000 --- a/debian/python3-tests/control +++ /dev/null @@ -1,3 +0,0 @@ -Tests: run-nose3-tests -Depends: @, python3-nose, python3-pysam-tests, samtools, make -Restrictions: allow-stderr diff --git a/debian/python3-tests/run-nose3-tests b/debian/python3-tests/run-nose3-tests deleted file mode 100755 index 4943914..0000000 --- a/debian/python3-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/python3-pysam/tests/* $ADTTMP -nosetests3 --nocapture -cd -rm -rf $ADTTMP - diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..5fe69b8 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,7 @@ +Tests: run-nose-tests +Depends: @, python-nose, python-pysam-tests, samtools, make +Restrictions: allow-stderr + +Tests: run-nose3-tests +Depends: @, python3-nose, python-pysam-tests, samtools, make +Restrictions: allow-stderr diff --git a/debian/tests/run-nose-tests b/debian/tests/run-nose-tests new file mode 100755 index 0000000..94fece9 --- /dev/null +++ b/debian/tests/run-nose-tests @@ -0,0 +1,11 @@ +#!/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 new file mode 100755 index 0000000..299a33a --- /dev/null +++ b/debian/tests/run-nose3-tests @@ -0,0 +1,11 @@ +#!/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 +