[med-svn] [Git][med-team/unc-fish][master] 3 commits: Add autopkgtest

Shruti Sridhar (@shruti_sridhar) gitlab at salsa.debian.org
Thu Jul 29 16:19:02 BST 2021



Shruti Sridhar pushed to branch master at Debian Med / unc-fish


Commits:
3d88092c by Shruti Sridhar at 2021-07-29T20:23:05+05:30
Add autopkgtest

- - - - -
3b2caf2b by Shruti Sridhar at 2021-07-29T20:23:17+05:30
Install docs

- - - - -
a0f7e42e by Shruti Sridhar at 2021-07-29T20:47:17+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,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/run-unit-test
+
+The files present under sample_input in the package were used for testing. 
+


=====================================
debian/changelog
=====================================
@@ -1,9 +1,19 @@
-unc-fish (1.0+dfsg-1) UNRELEASED; urgency=low
+unc-fish (1.0+dfsg-1) UNRELEASED; urgency=medium
 
+  [ Andreas Tille ]
   * Initial release (Closes: #<bug>)
   TODO: Find reason for failure:
      $ /usr/lib/unc-fish/fish -b blocks.txt -B simpleblocks.txt -g grids.txt -C contigs.txt
      Segmentation fault
   * Moved packaging from SVN to Git
+  * cme; debhelper 10
 
- -- Andreas Tille <tille at debian.org>  Fri, 14 Feb 2014 09:23:04 +0100
+  [ Steffen Möller ]
+  * Updated RRID in d/u/metadata
+
+  [ Shruti Sridhar ]
+  * Team Upload.
+  * Add autopkgtest
+  * Install docs
+
+ -- Shruti Sridhar <shruti.sridhar99 at gmail.com>  Thu, 29 Jul 2021 20:25:27 +0530


=====================================
debian/docs
=====================================
@@ -0,0 +1,3 @@
+README.txt
+debian/README*
+debian/tests/run-unit-test
\ 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,17 @@
+#!/bin/bash
+set -e
+
+pkg=unc-fish
+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 ${CUR_DIR}/sample_input/* "${AUTOPKGTEST_TMP}"
+
+cd "${AUTOPKGTEST_TMP}"
+unc-fish -f control.txt > fish_out.txt 
+[ -s "fish_out.txt" ] && echo "PASS Test"



View it on GitLab: https://salsa.debian.org/med-team/unc-fish/-/compare/b26b00688cf181662e3dbf73324484eb785f1661...a0f7e42e3a59b7a8eeae2f485ab686a70d80011d

-- 
View it on GitLab: https://salsa.debian.org/med-team/unc-fish/-/compare/b26b00688cf181662e3dbf73324484eb785f1661...a0f7e42e3a59b7a8eeae2f485ab686a70d80011d
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/20210729/ed7c1e3c/attachment-0001.htm>


More information about the debian-med-commit mailing list