This is an automated email from the git hooks/post-receive script. latticetower-guest pushed a commit to branch master in repository tm-align.
commit d182a5ce7420700bd4d785184347036f72fc1ab9 Author: latticetower-guest <[email protected]> Date: Fri Jun 10 23:14:38 2016 +0000 add testsuite --- debian/changelog | 1 + debian/tests/control | 2 ++ debian/tests/installation-test | 27 +++++++++++++++++++++++++++ 3 files changed, 30 insertions(+) diff --git a/debian/changelog b/debian/changelog index 8e57eca..e6770f2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,7 @@ tm-align (20160521+dfsg-2) UNRELEASED; urgency=medium * Team upload. * fix typo in package's description in d/control * add example gzipped protein structures+mention them in d/source/binaries + * add testsuite -- Tatiana Malygina <[email protected]> Fri, 10 Jun 2016 22:12:31 +0000 diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..ca2cd88 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,2 @@ +Tests: installation-test +Depends: @ diff --git a/debian/tests/installation-test b/debian/tests/installation-test new file mode 100644 index 0000000..4495dde --- /dev/null +++ b/debian/tests/installation-test @@ -0,0 +1,27 @@ +#!/bin/sh +# autopkgtest check: build and run with default test data +# Author: Tatiana Malygina <[email protected]> + +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 +fi + +cd $ADTTMP + +cp -a /usr/share/doc/${pkg}/examples/* . +find . -type f -name "*.gz" -exec gunzip \{\} \; +for lnk in `find . -type l -name "*.gz"` ; do + ln -s `basename $(readlink $lnk) .gz` `echo $lnk | sed 's/\.gz$//'` + rm $lnk +done + +echo "Run TMalign..." +TMalign 1ni7.pdb 5eep.pdb + +echo "Run TMscore..." +TMscore 1ni7.pdb 5eep.pdb -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/tm-align.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
