Andreas Tille pushed to branch master at Debian Med / bali-phy
Commits: ff28db02 by Andreas Tille at 2018-03-11T07:46:27+01:00 Move single test scripts into single script and fix the new location of examples - - - - - eb4c937c by Andreas Tille at 2018-03-11T07:47:43+01:00 Install autopkgtest script into usr/share/doc to enable users reproducing the tests on their local machine - - - - - b0663953 by Andreas Tille at 2018-03-11T07:51:29+01:00 Users are not permitted to write to /usr/share/doc - move examples to temporary dir to let the script work under all circumstances - - - - - c7ca5c91 by Andreas Tille at 2018-03-11T08:15:33+01:00 Upload to unstable - - - - - 11 changed files: - + debian/README.test - debian/changelog - + debian/docs - debian/tests/control - − debian/tests/help - + debian/tests/run-unit-test - − debian/tests/small-A - − debian/tests/small-analysis - − debian/tests/small-no-A - − debian/tests/small-test - − debian/tests/version Changes: ===================================== debian/README.test ===================================== --- /dev/null +++ b/debian/README.test @@ -0,0 +1,8 @@ +Notes on how this package can be tested. +──────────────────────────────────────── + +This package can be tested by executing + + sh run-unit-test + +in order to confirm its integrity. ===================================== debian/changelog ===================================== --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,5 @@ -bali-phy (3.0.2+dfsg-1) UNRELEASED; urgency=medium +bali-phy (3.0.2+dfsg-1) unstable; urgency=medium * Initial release (Closes: #891971). - -- Benjamin Redelings <[email protected]> Tue, 06 Mar 2018 22:01:35 -0500 + -- Benjamin Redelings <[email protected]> Sun, 11 Mar 2018 07:28:17 +0100 ===================================== debian/docs ===================================== --- /dev/null +++ b/debian/docs @@ -0,0 +1,2 @@ +debian/README.test +debian/tests/run-unit-test ===================================== debian/tests/control ===================================== --- a/debian/tests/control +++ b/debian/tests/control @@ -1 +1,3 @@ -Tests: version, help, small-test, small-A, small-no-A, small-analysis +Tests: run-unit-test +Depends: @ +Restrictions: allow-stderr ===================================== debian/tests/help deleted ===================================== --- a/debian/tests/help +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -bali-phy --help - ===================================== debian/tests/run-unit-test ===================================== --- /dev/null +++ b/debian/tests/run-unit-test @@ -0,0 +1,23 @@ +#!/bin/sh + +set -e + +pkg=bali-phy + +if [ "$AUTOPKGTEST_TMP" = "" ] ; then + AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX` + trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM +fi + +cp -a /usr/share/doc/${pkg}/examples/* $AUTOPKGTEST_TMP + +cd $AUTOPKGTEST_TMP + +bali-phy --version +bali-phy --help + +bali-phy sequences/5S-rRNA/5d.fasta --test --seed=0 +bali-phy sequences/5S-rRNA/5d.fasta --iter=50 --seed=0 +bali-phy sequences/5S-rRNA/5d.fasta --iter=200 -Inone --seed=0 +bali-phy sequences/5S-rRNA/5d.fasta --iter=100 +bp-analyze 5d-1 ===================================== debian/tests/small-A deleted ===================================== --- a/debian/tests/small-A +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -bali-phy /usr/share/bali-phy/examples/sequences/5S-rRNA/5d.fasta --iter=50 --seed=0 \ No newline at end of file ===================================== debian/tests/small-analysis deleted ===================================== --- a/debian/tests/small-analysis +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -bali-phy /usr/share/bali-phy/examples/sequences/5S-rRNA/5d.fasta --iter=100 -bp-analyze 5d-1 ===================================== debian/tests/small-no-A deleted ===================================== --- a/debian/tests/small-no-A +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -bali-phy /usr/share/bali-phy/examples/sequences/5S-rRNA/5d.fasta --iter=200 -Inone --seed=0 \ No newline at end of file ===================================== debian/tests/small-test deleted ===================================== --- a/debian/tests/small-test +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -bali-phy /usr/share/bali-phy/examples/sequences/5S-rRNA/5d.fasta --test --seed=0 \ No newline at end of file ===================================== debian/tests/version deleted ===================================== --- a/debian/tests/version +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -bali-phy --version View it on GitLab: https://salsa.debian.org/med-team/bali-phy/compare/c0638bd4f901995849294281af91e79eaad964cc...c7ca5c91ecb55344e15ebece3a8fba806be6f23f --- View it on GitLab: https://salsa.debian.org/med-team/bali-phy/compare/c0638bd4f901995849294281af91e79eaad964cc...c7ca5c91ecb55344e15ebece3a8fba806be6f23f You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
