Skip to content
Commits on Source (4)
......@@ -3,12 +3,12 @@ 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.
Package contains 2 executable files - TMalign and TMscore.
Both are called in `installation-test` script.
Both are called in `run-unit-test` script.
To test manually, cd to some dir, where you have write permissions and do
......
tm-align (20190822+dfsg-2) unstable; urgency=medium
[ Chris Lamb ]
* make the build reproducible
Closes: #943954
[ Andreas Tille ]
* Rename autopkgtest script to run-unit-test as in other Debian Med
packages
* autopkgtest: s/ADTTMP/AUTOPKGTEST_TMP/g
-- Andreas Tille <tille@debian.org> Tue, 24 Dec 2019 08:07:50 +0100
tm-align (20190822+dfsg-1) unstable; urgency=medium
* New upstream version
......
debian/tests/installation-test
debian/tests/run-unit-test
debian/README.test
......@@ -7,7 +7,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
override_dh_auto_build:
for src in `ls *.f` ; do \
gfortran -O3 -g -ffast-math $(CPPFLAGS) $(LDFLAGS) -lm -o `basename $${src} .f` $${src} ; \
gfortran -ffast-math $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -lm -o `basename $${src} .f` $${src} ; \
done
override_dh_auto_clean:
......
Tests: installation-test
Tests: run-unit-test
Depends: @
......@@ -6,12 +6,12 @@ set -e
pkg=tm-align
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 \{\} \;
......