[med-svn] [Git][med-team/roary][master] Fix autopkgtest
Andreas Tille (@tille)
gitlab at salsa.debian.org
Wed Nov 16 08:24:05 GMT 2022
Andreas Tille pushed to branch master at Debian Med / roary
Commits:
4c2b5616 by Andreas Tille at 2022-11-16T09:23:41+01:00
Fix autopkgtest
- - - - -
2 changed files:
- + debian/examples
- debian/tests/run-unit-test
Changes:
=====================================
debian/examples
=====================================
@@ -0,0 +1 @@
+t/data/genbank_gbff/*
=====================================
debian/tests/run-unit-test
=====================================
@@ -3,8 +3,7 @@
# Author: Sascha Steinbiss <satta at debian.org>
set -e
-ORIGDIR=$(pwd)
-DATADIR=$ORIGDIR/t/data/genbank_gbff
+pkg=roary
export LC_ALL=C.UTF-8
if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
@@ -14,7 +13,8 @@ fi
cd $AUTOPKGTEST_TMP
-cp $DATADIR/*.gff .
+cp -a /usr/share/doc/${pkg}/examples/* .
+cp -a /usr/share/doc/${pkg}/expected_files.out .
# DEBUG: roary issues "Cannot find the mcxdeblast executable, please ensure its in your PATH" thus checking ...
which mcxdeblast
@@ -23,4 +23,4 @@ roary -f out *.gff
[ -d out ]
-find out | LC_ALL=C sort | diff - $ORIGDIR/debian/tests/expected_files.out
+find out | LC_ALL=C sort | diff - expected_files.out
View it on GitLab: https://salsa.debian.org/med-team/roary/-/commit/4c2b5616bab9d4f7732878ba3928a34b12c79ab4
--
View it on GitLab: https://salsa.debian.org/med-team/roary/-/commit/4c2b5616bab9d4f7732878ba3928a34b12c79ab4
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20221116/70593c02/attachment-0001.htm>
More information about the debian-med-commit
mailing list