[med-svn] [Git][med-team/hisat2][master] 2 commits: Add autopkgtests template

Saira Hussain gitlab at salsa.debian.org
Fri Aug 2 15:18:50 BST 2019



Saira Hussain pushed to branch master at Debian Med / hisat2


Commits:
74e387ee by Saira Hussain at 2019-08-02T14:17:42Z
Add autopkgtests template

- - - - -
58054b96 by Saira Hussain at 2019-08-02T14:18:40Z
Bump changelog

- - - - -


4 changed files:

- debian/changelog
- + debian/example
- + debian/tests/control
- + debian/tests/run-unit-tests


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+hisat2 (2.1.0-4) UNRELEASED; urgency=medium
+
+  * Team upload.
+
+  [Saira Hussain]
+  * Add autopkgtest
+
+ -- Saira Hussain <saira.h0213 at zoho.com>  Fri, 02 Aug 2019 15:18:09 +0100
+
 hisat2 (2.1.0-3) UNRELEASED; urgency=medium
 
   * Install hisat2_extract_splice_sites.py


=====================================
debian/example
=====================================
@@ -0,0 +1 @@
+example/*


=====================================
debian/tests/control
=====================================
@@ -0,0 +1,3 @@
+Tests: run-unit-tests
+Depends: @
+Restrictions: allow-stderr


=====================================
debian/tests/run-unit-tests
=====================================
@@ -0,0 +1,22 @@
+#!/bin/bash
+set -e
+
+pkg=hisat2
+
+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}"
+
+# Just for debugging
+set -x
+
+# Run the reproducible suite
+



View it on GitLab: https://salsa.debian.org/med-team/hisat2/compare/8c33f70533310cf602c9028e42994a262987a36a...58054b964da0e3eaa538934537760fab4bc5e305

-- 
View it on GitLab: https://salsa.debian.org/med-team/hisat2/compare/8c33f70533310cf602c9028e42994a262987a36a...58054b964da0e3eaa538934537760fab4bc5e305
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/20190802/cf1f00b4/attachment-0001.html>


More information about the debian-med-commit mailing list