This is an automated email from the git hooks/post-receive script. rovenskasa-guest pushed a commit to branch master in repository minia.
commit 88e7b9c1c91e6e66f76b6fcbfb7aa29958995630 Author: Nadiya Sitdykova <rovensk...@gmail.com> Date: Fri Aug 11 18:58:55 2017 -0400 add autopkgtest test-suite --- debian/README.test | 8 ++++++++ debian/changelog | 10 ++++++---- debian/docs | 4 ++++ debian/tests/control | 3 +++ debian/tests/run-unit-test | 17 +++++++++++++++++ 5 files changed, 38 insertions(+), 4 deletions(-) diff --git a/debian/README.test b/debian/README.test new file mode 100644 index 0000000..39fbde9 --- /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. diff --git a/debian/changelog b/debian/changelog index 02af94e..26f58f5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,9 +1,11 @@ -minia (1.6906-1.1) UNRELEASED; urgency=medium +minia (1.6906-2) UNRELEASED; urgency=medium - * Team upload - * Moved packaging from SVN to Git + * Team upload. - -- Andreas Tille <ti...@debian.org> Fri, 11 Aug 2017 21:52:18 +0200 + [Nadiya Sitdykova] + * add autopkgtest test-suite + + -- Nadiya Sitdykova <rovensk...@gmail.com> Fri, 11 Aug 2017 18:40:04 -0400 minia (1.6906-1) unstable; urgency=medium diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..3b6dfde --- /dev/null +++ b/debian/docs @@ -0,0 +1,4 @@ +debian/README.test +debian/tests/run-unit-test +test/read50x_ref10K_e001.fasta + diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..d2aa55a --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,3 @@ +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..1e2af16 --- /dev/null +++ b/debian/tests/run-unit-test @@ -0,0 +1,17 @@ +#!/bin/sh -e + +pkg=minia + +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 $AUTOPKGTEST_TMP + +cp -a /usr/share/doc/${pkg}/read50x_ref10K_e001.fasta* . +gunzip -r * + +minia read50x_ref10K_e001.fasta 31 3 10000 minia_assembly_k31_m3 + +minia read50x_ref10K_e001.fasta 29 4 10000 minia_assembly_k33_m4 -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/minia.git _______________________________________________ debian-med-commit mailing list debian-med-commit@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit