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

Canberk Koç cbk-guest at moszumanska.debian.org
Thu Jul 28 00:16:28 UTC 2016


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

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

commit 6545390268135d8e0eb3c2e1b196ab63a6aae4e5
Author: cbk-guest <cbk-guests at scm.alioth.debian.org>
Date:   Thu Jul 28 03:15:48 2016 +0300

    Autopkgtest added
---
 debian/changelog               |  8 +++++++-
 debian/kalign.examples         |  1 +
 debian/tests.kalign/example.fa | 42 ++++++++++++++++++++++++++++++++++++++++++
 debian/tests/control           |  3 +++
 debian/tests/run-unit-test     | 22 ++++++++++++++++++++++
 5 files changed, 75 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 76e7f8a..a873e92 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,12 +1,18 @@
 kalign (1:2.03+20110620-3) UNRELEASED; urgency=low
 
+  * Team upload
+
+  [ Andreas Tille ]
   * debian/upstream: Added some information from debian/reference
   * debian/reference: Removed in favour of debian/upstream
   * Moved packaging from SVN to Git
   * cme fix dpkg-control
   * add hardening options
 
- -- Andreas Tille <tille at debian.org>  Wed, 25 Apr 2012 16:08:43 +0200
+  [ Canberk Koç ]
+  * Autopkgtest added
+
+ -- Canberk Koç <canberkkoc at gmail.com>  Thu, 28 Jul 2016 03:06:04 +0300
 
 kalign (1:2.03+20110620-2) unstable; urgency=low
 
diff --git a/debian/kalign.examples b/debian/kalign.examples
new file mode 100644
index 0000000..eadc5f2
--- /dev/null
+++ b/debian/kalign.examples
@@ -0,0 +1 @@
+debian/tests.kalign/*
diff --git a/debian/tests.kalign/example.fa b/debian/tests.kalign/example.fa
new file mode 100644
index 0000000..ff8aa63
--- /dev/null
+++ b/debian/tests.kalign/example.fa
@@ -0,0 +1,42 @@
+>CALM_HUMAN
+MADQLTEEQIAEFKEAFSLFDKDGDGTITTKELGTVMRSLGQNPTEAELQDMINEVDAD
+GNGTIDFPEFLTMMARKMKDT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TNDSSSTSNDDYACNIPDLSELQQ
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..554f348
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,22 @@
+#!/bin/bash
+set -e
+
+pkg="kalign"
+
+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
+
+echo "---test1---"
+/usr/bin/kalign < example.fa > output1
+cat output1
+echo "---test2---"
+/usr/bin/kalign -gpo 60 -gpe 9 -tgpe 0 -bonus 0 < example.fa  > output2
+cat output2
+
+echo "PASS"

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



More information about the debian-med-commit mailing list