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

Canberk Koç cbk-guest at moszumanska.debian.org
Fri Jul 22 01:08:09 UTC 2016


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

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

commit 9897345849efb62571d44ee28b5c5a1ae20a10a9
Author: cbk-guest <cbk-guests at scm.alioth.debian.org>
Date:   Fri Jul 22 04:07:58 2016 +0300

    Autopkgtest added
---
 debian/changelog           |  8 +++++++-
 debian/tests/control       |  3 +++
 debian/tests/run-unit-test | 16 ++++++++++++++++
 3 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 25edaf0..5568ddc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,11 +1,17 @@
 clustalw (2.1+lgpl-4) unstable; urgency=medium
 
+  * Team upload
+
+  [ Andreas Tille ]
   * use dh_autotools-dev to update config.{sub,guess} (Thanks for the patch
     to Adam Conrad <adconrad at debian.org>)
     Closes: #729789
   * Standards-Version: 3.9.5 (no changes needed)
 
- -- Andreas Tille <tille at debian.org>  Fri, 13 Dec 2013 09:18:40 +0100
+  [ Canberk Koç ]
+  * autopkgtest added
+
+ -- Canberk Koç <canberkkoc at gmail.com>  Fri, 22 Jul 2016 04:04:40 +0300
 
 clustalw (2.1+lgpl-3) unstable; urgency=low
 
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..fd7bc26
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,16 @@
+#!/bin/bash
+set -e
+
+pkg="clustalw"
+
+if [ "$AUTOPKGTEST_TMP" = "" ] ; then
+  AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+fi
+
+cp -a /usr/share/doc/${pkg}/examples/* $AUTOPKGTEST_TMP
+
+cd $AUTOPKGTEST_TMP/tests.clustalw
+
+make test
+
+echo "PASS"

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



More information about the debian-med-commit mailing list