[med-svn] [python-biopython] 07/07: Enhance autopkgtest (not fully functional)

Andreas Tille tille at debian.org
Sun Jan 15 13:55:05 UTC 2017


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

tille pushed a commit to branch master
in repository python-biopython.

commit b655a240a48d968576f000f47da1c8b6ea54fc50
Author: Andreas Tille <tille at debian.org>
Date:   Sun Jan 15 14:54:38 2017 +0100

    Enhance autopkgtest (not fully functional)
---
 debian/tests/run-unit-test | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
index a695bba..2095122 100644
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -2,15 +2,18 @@
 
 if [ "$ADTTMP" = "" ] ; then
   ADTTMP=`mktemp -d /tmp/python-biopython-test.XXXXXX`
+  trap "rm -rf $ADTTMP" 0 INT QUIT ABRT PIPE TERM
 fi
 cd $ADTTMP
 cp -a /usr/share/doc/python-biopython-doc/Tests $ADTTMP
-mkdir -p Doc
+mkdir -p Doc/examples/nmr
 cp -a /usr/share/doc/python-biopython-doc/Doc/Tutorial.tex* Doc
+cp -a /usr/share/doc/python-biopython-doc/Doc/examples/nmr/noed.xpk* Doc/examples/nmr
 find . -name "*.gz" -exec gunzip \{\} \;
 cd Tests
-# we really need this gzipped duplicate of the example.fastq file to pass the BGZF compression test
+# we really need this gzipped duplicate of the example.fastq and E3MFGYR02_random_10_reads.sff files to pass the BGZF compression test
 gzip --keep Quality/example.fastq
+gzip --keep Roche/E3MFGYR02_random_10_reads.sff
 
 # bwa is only available on amd64
 BUILDARCH=

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



More information about the debian-med-commit mailing list