[med-svn] [emboss] 01/01: Autopkgtest added

Canberk Koç cbk-guest at moszumanska.debian.org
Tue Aug 9 04:32:35 UTC 2016


This is an automated email from the git hooks/post-receive script.

cbk-guest pushed a commit to branch master
in repository emboss.

commit 2028f9ebf5bb0b714cd38a7b6e8bf4a94707a17a
Author: cbk-guest <cbk-guests at scm.alioth.debian.org>
Date:   Tue Aug 9 07:29:24 2016 +0300

    Autopkgtest added
---
 debian/changelog           |  7 +++++++
 debian/tests/control       |  3 +++
 debian/tests/run-unit-test | 20 ++++++++++++++++++++
 3 files changed, 30 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index fe5b9b9..01bf3d7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+emboss (6.6.0+dfsg-4) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Autopkgtest added
+
+ -- Canberk Koç <canberkkoc at gmail.com>  Tue, 09 Aug 2016 07:27:29 +0300
+
 emboss (6.6.0+dfsg-3) unstable; urgency=medium
 
   * Make sure we will not delete documentation files from new upstream
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..321e304
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,20 @@
+#!/bin/bash
+set -e
+
+pkg="emboss"
+
+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 /usr/share/EMBOSS/test/testdb/testdb.fasta $AUTOPKGTEST_TMP
+
+cd $AUTOPKGTEST_TMP
+
+seqret testdb.fasta -sformat fasta -auto
+cat testdb.fasta | seqret -filter
+seqret testdb.fasta out.seq -sformat fasta -osformat gcg
+seqret -sbeg 25 testdb.fasta -sf fasta -auto
+
+echo "PASS"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/emboss.git



More information about the debian-med-commit mailing list