[med-svn] [macsyfinder] 01/01: Autopkgtest added
Canberk Koç
cbk-guest at moszumanska.debian.org
Mon Dec 12 22:37:56 UTC 2016
This is an automated email from the git hooks/post-receive script.
cbk-guest pushed a commit to branch master
in repository macsyfinder.
commit 285b55f4118df72c09e9b97c3e9bcac0bb625a5e
Author: Canberk Koç <canberkkoc at gmail.com>
Date: Tue Dec 13 01:37:46 2016 +0300
Autopkgtest added
---
debian/changelog | 8 ++++++--
debian/macsyfinder.examples | 1 +
debian/tests/control | 4 ++++
debian/tests/run-unit-test | 17 +++++++++++++++++
4 files changed, 28 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index e11c48e..134d8a9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,11 +1,15 @@
-macsyfinder (1.0.2-3) UNRELEASED; urgency=medium
+macsyfinder (1.0.2-3.1) UNRELEASED; urgency=medium
+ [ Andreas Tille ]
* Team upload
* Move packaging from SVN to Git
* Add missing X-Python-Version
* Hack around results of broken setup.py
- -- Andreas Tille <tille at debian.org> Thu, 27 Oct 2016 10:11:22 +0200
+ [ Canberk Koç ]
+ * Autopkgtest added
+
+ -- Canberk Koç <canberkkoc at gmail.com> Tue, 13 Dec 2016 01:36:37 +0300
macsyfinder (1.0.2-2) unstable; urgency=medium
diff --git a/debian/macsyfinder.examples b/debian/macsyfinder.examples
new file mode 100644
index 0000000..7e54ad7
--- /dev/null
+++ b/debian/macsyfinder.examples
@@ -0,0 +1 @@
+test/datatest/base/*
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..699a10f
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,4 @@
+Tests: run-unit-test
+Depends: @
+Restrictions:
+
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
new file mode 100644
index 0000000..78fcf8f
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,17 @@
+#!/bin/bash
+set -e
+pkg="macsyfinder"
+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
+find . -name "*.gz" -exec gunzip \{\} \;
+
+echo "TEST START"
+
+/usr/bin/macsyfinder --db-type unordered --sequence-db test_base.fa all
+
+/usr/bin/macsyfinder --db-type ordered-replicon --sequence-db ordered_replicon_base all
+
+echo "PASS"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/macsyfinder.git
More information about the debian-med-commit
mailing list