[med-svn] [Git][med-team/gramalign][master] 3 commits: Add autopkgtests

Shruti Sridhar (@shruti_sridhar) gitlab at salsa.debian.org
Tue Jun 8 14:05:46 BST 2021



Shruti Sridhar pushed to branch master at Debian Med / gramalign


Commits:
c6e99a17 by Shruti Sridhar at 2021-06-08T18:12:44+05:30
Add autopkgtests

- - - - -
f44d41d6 by Shruti Sridhar at 2021-06-08T18:12:54+05:30
Install docs

- - - - -
f32e306f by Shruti Sridhar at 2021-06-08T18:30:49+05:30
Update changelog

- - - - -


5 changed files:

- + debian/README.test
- debian/changelog
- + debian/docs
- + debian/tests/control
- + debian/tests/run-unit-test


Changes:

=====================================
debian/README.test
=====================================
@@ -0,0 +1,10 @@
+Notes on how this package can be tested.
+────────────────────────────────────────
+
+This package can be tested by running the provided test:
+
+    sh run-unit-test
+
+in order to confirm its integrity.
+
+


=====================================
debian/changelog
=====================================
@@ -1,5 +1,6 @@
 gramalign (3.0-1) UNRELEASED; urgency=medium
 
+  [ Steffen Moeller ]
   * Initial release (Closes: #911721)
 
   * The packaging work is done.
@@ -8,4 +9,9 @@ gramalign (3.0-1) UNRELEASED; urgency=medium
     I was however a bit reluctant in my interpretation of their license.
     An eMail to the site's contact address bounced, have not tried again..
 
- -- Steffen Moeller <moeller at debian.org>  Tue, 23 Oct 2018 22:43:06 +0200
+  [ Shruti Sridhar ]
+  * Team Upload.
+  * Add autopkgtests
+  * Install docs
+
+ -- Shruti Sridhar <shruti.sridhar99 at gmail.com>  Tue, 08 Jun 2021 18:14:57 +0530


=====================================
debian/docs
=====================================
@@ -0,0 +1,3 @@
+README
+debian/README*
+debian/tests/run-unit-test


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


=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,17 @@
+#!/bin/bash
+set -e
+
+pkg=gramalign 
+PACKAGE=muscle
+
+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 /usr/share/doc/${PACKAGE}/examples/example.fa -a  "${AUTOPKGTEST_TMP}"
+cd "${AUTOPKGTEST_TMP}"
+mv -f example.fa data.fa
+
+GramAlign -i data.fa -o output 
+[ -s "output" ] && echo "PASS Test"



View it on GitLab: https://salsa.debian.org/med-team/gramalign/-/compare/96ae4e81e1a754745120cb6b2e918bccb29c9327...f32e306f770957c2d7ee4a7ddf63e9554df32987

-- 
View it on GitLab: https://salsa.debian.org/med-team/gramalign/-/compare/96ae4e81e1a754745120cb6b2e918bccb29c9327...f32e306f770957c2d7ee4a7ddf63e9554df32987
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/20210608/0941b4fa/attachment-0001.htm>


More information about the debian-med-commit mailing list