This is an automated email from the git hooks/post-receive script. sascha-guest pushed a commit to branch master in repository roary.
commit 8a19d08123bcde4b78479d297af2f8621a248b91 Author: Sascha Steinbiss <[email protected]> Date: Fri Mar 11 11:45:49 2016 +0000 add autopkgtest --- debian/changelog | 6 ++++++ debian/control | 1 + debian/tests/control | 2 ++ debian/tests/expected_files.out | 18 ++++++++++++++++++ debian/tests/test-installed | 18 ++++++++++++++++++ 5 files changed, 45 insertions(+) diff --git a/debian/changelog b/debian/changelog index 5e70b78..24c4101 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +roary (3.6.0+dfsg-2) unstable; urgency=medium + + * Add autopkgtest. + + -- Sascha Steinbiss <[email protected]> Fri, 11 Mar 2016 11:43:37 +0000 + roary (3.6.0+dfsg-1) unstable; urgency=medium * New upstream release. diff --git a/debian/control b/debian/control index 435e118..106a027 100644 --- a/debian/control +++ b/debian/control @@ -36,6 +36,7 @@ Build-Depends: debhelper (>= 9), fasttree Build-Depends-Indep: perl Standards-Version: 3.9.7 +Testsuite: autopkgtest Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/roary.git Vcs-Git: https://anonscm.debian.org/git/debian-med/roary.git Homepage: http://sanger-pathogens.github.io/Roary/ diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..636b906 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,2 @@ +Tests: test-installed +Depends: @ diff --git a/debian/tests/expected_files.out b/debian/tests/expected_files.out new file mode 100644 index 0000000..8ecff77 --- /dev/null +++ b/debian/tests/expected_files.out @@ -0,0 +1,18 @@ +out +out/gene_presence_absence.csv +out/core_accessory.tab +out/clustered_proteins +out/number_of_new_genes.Rtab +out/core_accessory_graph.dot +out/summary_statistics.txt +out/accessory.header.embl +out/accessory.tab +out/number_of_unique_genes.Rtab +out/number_of_genes_in_pan_genome.Rtab +out/core_accessory.header.embl +out/gene_presence_absence.Rtab +out/number_of_conserved_genes.Rtab +out/accessory_graph.dot +out/blast_identity_frequency.Rtab +out/accessory_binary_genes.fa.newick +out/accessory_binary_genes.fa diff --git a/debian/tests/test-installed b/debian/tests/test-installed new file mode 100755 index 0000000..b374bb0 --- /dev/null +++ b/debian/tests/test-installed @@ -0,0 +1,18 @@ +#!/bin/sh +# autopkgtest check: Run simple test data through Roary +# Author: Sascha Steinbiss <[email protected]> +set -e + +ORIGDIR=$(pwd) +DATADIR=$ORIGDIR/t/data/genbank_gbff +WORKDIR=$(mktemp -d) + +trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM +cd $WORKDIR + +cp $DATADIR/*.gff . +roary -f out *.gff + +[ -d out ] + +find out | diff - $ORIGDIR/debian/tests/expected_files.out -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/roary.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
