[med-svn] [Git][med-team/trf][master] Try to add autopkgtest but non-zero exit value.

Andreas Tille gitlab at salsa.debian.org
Wed Jul 15 21:10:43 BST 2020



Andreas Tille pushed to branch master at Debian Med / trf


Commits:
b6c7bb87 by Andreas Tille at 2020-07-15T22:05:13+02:00
Try to add autopkgtest but non-zero exit value.

- - - - -


3 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+trf (4.09.1-3) UNRELEASED; urgency=medium
+
+  * Autopkgtest
+
+ -- Andreas Tille <tille at debian.org>  Wed, 15 Jul 2020 22:04:49 +0200
+
 trf (4.09.1-2) unstable; urgency=medium
 
   * Rules-Requires-Root: no (routine-update)


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


=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,17 @@
+#!/bin/bash
+set -e
+
+pkg=trf
+
+export LC_ALL=C.UTF-8
+if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
+  AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
+  trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
+fi
+
+cp -a /usr/share/doc/${pkg}/examples/* "${AUTOPKGTEST_TMP}"
+
+cd "${AUTOPKGTEST_TMP}"
+gunzip *.gz
+
+trf test_seqs.fasta 2 5 7 80 10 50 2000 -l 10



View it on GitLab: https://salsa.debian.org/med-team/trf/-/commit/b6c7bb87829c2a984ba75f1f47e4e09cd1125832

-- 
View it on GitLab: https://salsa.debian.org/med-team/trf/-/commit/b6c7bb87829c2a984ba75f1f47e4e09cd1125832
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/20200715/28fa5b8d/attachment-0001.html>


More information about the debian-med-commit mailing list