This is an automated email from the git hooks/post-receive script. tille pushed a commit to branch master in repository figtree.
commit 357559335c941c684acad16c965c2db9a4b7d59b Author: Kalou <[email protected]> Date: Wed Nov 29 20:04:22 2017 +0200 run-unit-test --- debian/tests/control | 5 +++++ debian/tests/run-unit-test | 18 ++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..5e354aa --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,5 @@ +Tests: run-unit-test +Depends: @ +Restrictions: allow-stderr + + diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test new file mode 100644 index 0000000..fd1d1ea --- /dev/null +++ b/debian/tests/run-unit-test @@ -0,0 +1,18 @@ +#!/bin/sh -e + +pkg=figtree + +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/* . +gunzip -r * + +figtree HA_continuous_MCC.tre HA_discrete_MCC.tre +figtree -graphic PDF test.tree test.pdf +figtree -graphic GIF -width 320 -height 320 test.tree test.gif + -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/figtree.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
