[med-svn] [Git][med-team/kissplice][master] 2 commits: Add autopkgtests
Saira Hussain
gitlab at salsa.debian.org
Mon Aug 12 12:22:02 BST 2019
Saira Hussain pushed to branch master at Debian Med / kissplice
Commits:
b0e216fa by Saira Hussain at 2019-08-12T11:21:32Z
Add autopkgtests
- - - - -
a2cbd36a by Saira Hussain at 2019-08-12T11:21:50Z
Delete unused file
- - - - -
4 changed files:
- debian/changelog
- + debian/sample_example
- + debian/tests/control
- + debian/tests/run-unit-tests
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+kissplice (2.4.0-p1-5) UNRELEASED; urgency=medium
+
+ * Team upload.
+
+ [ Saira Hussain ]
+ * Add autopkgtest
+
+ -- Saira Hussain <saira.h0213 at zoho.com> Mon, 12 Aug 2019 12:07:18 +0100
+
kissplice (2.4.0-p1-4) unstable; urgency=medium
[ Jelmer Vernooij ]
=====================================
debian/sample_example
=====================================
@@ -0,0 +1 @@
+sample_example/*
=====================================
debian/tests/control
=====================================
@@ -0,0 +1,3 @@
+Tests: run-unit-tests
+Depends: @
+Restrictions: allow-stderr
=====================================
debian/tests/run-unit-tests
=====================================
@@ -0,0 +1,23 @@
+#!/bin/bash
+set -e
+
+pkg=kissplice
+
+if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
+ AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
+ # Double quote below to expand the temporary directory variable now versus
+ # later is on purpose.
+ # shellcheck disable=SC2064
+# trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
+fi
+
+cp /usr/share/doc/${pkg}/examples/* -a "${AUTOPKGTEST_TMP}"
+
+cd "${AUTOPKGTEST_TMP}"
+gunzip -r *
+
+# Just for debugging
+set -x
+
+# Run basic functionality
+${pkg} -s 1 -k 41 -r sample_example/reads1.fq -r sample_example/reads2.fq -r sample_example/readsN.fq
View it on GitLab: https://salsa.debian.org/med-team/kissplice/compare/ed75a417e5b55b4f54fff38a5902632b9cbc5d9b...a2cbd36aff809b826957be8564c1dc0e8f87fb37
--
View it on GitLab: https://salsa.debian.org/med-team/kissplice/compare/ed75a417e5b55b4f54fff38a5902632b9cbc5d9b...a2cbd36aff809b826957be8564c1dc0e8f87fb37
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20190812/97105d3d/attachment-0001.html>
More information about the debian-med-commit
mailing list