Skip to content
Commits on Source (7)
......@@ -3,7 +3,7 @@ Notes on how this package can be tested.
This package can be tested by executing
sh installation-test
sh run-unit-test
in order to confirm its integrity.
......
metastudent (2.0.1-8) unstable; urgency=medium
* Team upload.
* Depends: ncbi-blast+-legacy
Closes: #946538
* Standards-Version: 4.4.1
* autopkgtest: s/ADTTMP/AUTOPKGTEST_TMP/g
-- Andreas Tille <tille@debian.org> Wed, 11 Dec 2019 10:43:44 +0100
metastudent (2.0.1-7) unstable; urgency=medium
[ Jelmer Vernooij ]
......
......@@ -4,12 +4,12 @@ Uploaders: Tobias Hamp <hampt@rostlab.org>,
Laszlo Kajan <lkajan@debian.org>
Section: science
Priority: optional
Build-Depends: debhelper-compat (= 12),
Build-Depends: debhelper-compat (= 12)
Build-Depends-Indep: dh-python,
python3-all,
javahelper,
default-jdk
Standards-Version: 4.4.0
Standards-Version: 4.4.1
Vcs-Browser: https://salsa.debian.org/med-team/metastudent
Vcs-Git: https://salsa.debian.org/med-team/metastudent.git
Homepage: https://rostlab.org/owiki/index.php/Metastudent
......@@ -20,7 +20,7 @@ Depends: ${misc:Depends},
${perl:Depends},
${python3:Depends},
python3,
blast2,
ncbi-blast+-legacy,
default-jre,
libgo-perl (>= 0.15-3),
libipc-run-perl,
......
debian/README.test
debian/tests/installation-test
debian/tests/run-unit-test
Tests: installation-test
Tests: run-unit-test
Depends: @, @builddeps@, metastudent-data, libgo-perl
Restrictions: allow-stderr
......@@ -6,12 +6,12 @@ set -e
pkg=metastudent
if [ "$ADTTMP" = "" ] ; then
ADTTMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
trap "rm -rf $ADTTMP" 0 INT QUIT ABRT PIPE TERM
if [ "$AUTOPKGTEST_TMP" = "" ] ; then
AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM
fi
cd $ADTTMP
cd $AUTOPKGTEST_TMP
cp -a /usr/share/doc/${pkg}/examples/* .
find . -type f -name "*.gz" -exec gunzip \{\} \;
......@@ -21,7 +21,7 @@ for lnk in `find . -type l -name "*.gz"` ; do
done
# call example from man:
metastudent -i test.fasta -o test.result.new --temp-dir=$ADTTMP
metastudent -i test.fasta -o test.result.new --temp-dir=$AUTOPKGTEST_TMP
[ -z $(cmp -s test.result.BPO.txt test.result.new.BPO.txt) ]
[ -z $(cmp -s test.result.MFO.txt test.result.new.MFO.txt) ]
[ -z $(cmp -s test.result.CCO.txt test.result.new.CCO.txt) ]