[med-svn] [Git][med-team/logol][master] 3 commits: Add autopkgtests
Shruti Sridhar (@shruti_sridhar)
gitlab at salsa.debian.org
Wed Jul 21 07:40:06 BST 2021
Shruti Sridhar pushed to branch master at Debian Med / logol
Commits:
59f088b1 by Shruti Sridhar at 2021-07-21T11:56:22+05:30
Add autopkgtests
- - - - -
1c6e5054 by Shruti Sridhar at 2021-07-21T11:57:21+05:30
Install docs
- - - - -
50b93810 by Shruti Sridhar at 2021-07-21T12:04:40+05:30
Update changelog
- - - - -
6 changed files:
- + debian/README.test
- debian/changelog
- debian/docs
- + debian/examples
- + debian/tests/control
- + debian/tests/run-unit-test
Changes:
=====================================
debian/README.test
=====================================
@@ -0,0 +1,15 @@
+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.
+
+Notes on the files used for testing
+────────────────────────────────────────
+Files: debian/tests/data/*
+
+The files present under the test folder in the package were used for the autopkgtest.
+
=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+logol (1.7.9-4) UNRELEASED; urgency=medium
+
+ * Team Upload.
+ * Add autopkgtests
+ * Install docs
+
+ -- Shruti Sridhar <shruti.sridhar99 at gmail.com> Wed, 21 Jul 2021 12:02:43 +0530
+
logol (1.7.9-3) unstable; urgency=medium
* Remove broken symlink (not needed) Closes: 988650
=====================================
debian/docs
=====================================
@@ -4,6 +4,8 @@ prolog/SWI-README
Doc/LogolGrammar.txt
Doc/tutorial.pdf
Doc/logol-usage.pdf
+debian/README*
+debian/tests/run-unit-test
# logol.tex does not build any more:
# ...
# (/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg))
=====================================
debian/examples
=====================================
@@ -0,0 +1 @@
+test/1799.*
\ No newline at end of file
=====================================
debian/tests/control
=====================================
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @
+Restrictions: allow-stderr
=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,18 @@
+#!/bin/bash
+set -e
+
+pkg=logol
+CUR_DIR=`pwd`
+
+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}"
+
+bash -ex ${CUR_DIR}/LogolExec.sh -g 1799.logol -s 1799.fasta -dna
+bash -ex ${CUR_DIR}/LogolMultiExec.sh -g 1799.logol -s 1799.fasta -dna
View it on GitLab: https://salsa.debian.org/med-team/logol/-/compare/c8734cf90898116e10019438ece35e5747fb6560...50b93810db22234bcfcc41fc42e0e2e2938c0974
--
View it on GitLab: https://salsa.debian.org/med-team/logol/-/compare/c8734cf90898116e10019438ece35e5747fb6560...50b93810db22234bcfcc41fc42e0e2e2938c0974
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/20210721/2ed28bfd/attachment-0001.htm>
More information about the debian-med-commit
mailing list