[med-svn] [axe-demultiplexer] 01/02: Add basic autopkgtests

Kevin Murray daube-guest at moszumanska.debian.org
Fri Feb 5 19:33:08 UTC 2016


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

daube-guest pushed a commit to branch master
in repository axe-demultiplexer.

commit 7cfe532f83cd42b49c3d0038a443f1bad527ed21
Author: Kevin Murray <spam at kdmurray.id.au>
Date:   Fri Feb 5 20:20:08 2016 +0100

    Add basic autopkgtests
---
 debian/changelog     |  6 ++++++
 debian/tests/control |  2 ++
 debian/tests/gbs     | 14 ++++++++++++++
 3 files changed, 22 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 37a29ae..eaea824 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+axe-demultiplexer (0.3.1-2) unstable; urgency=medium
+
+  * Add autopkgtest
+
+ -- Kevin Murray <spam at kdmurray.id.au>  Fri, 05 Feb 2016 20:27:46 +0100
+
 axe-demultiplexer (0.3.1-1) unstable; urgency=medium
 
   * Imported Upstream version 0.3.1 (Closes: #808570)
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..a52fcaa
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: gbs
+Requirements: allow-stderr
diff --git a/debian/tests/gbs b/debian/tests/gbs
new file mode 100755
index 0000000..7b02693
--- /dev/null
+++ b/debian/tests/gbs
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+WORKDIR=$(mktemp -d)
+trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
+
+axe-demux \
+	-t ${WORKDIR}/gbs.tab \
+	-c \
+	-b tests/data/gbs.barcodes \
+	-f tests/data/gbs_R1.fastq.gz \
+	-r tests/data/gbs_R2.fastq.gz \
+	-I ${WORKDIR}/gbs-demux
+
+test -f ${WORKDIR}/gbs.tab

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



More information about the debian-med-commit mailing list