[med-svn] [Git][med-team/prodigal][master] 2 commits: Autopkgtest added

Liubov Chuprikova gitlab at salsa.debian.org
Fri Mar 16 13:14:14 UTC 2018


Liubov Chuprikova pushed to branch master at Debian Med / prodigal


Commits:
10458cc5 by Liubov Chuprikova at 2018-03-16T13:06:47+00:00
Autopkgtest added

- - - - -
78d60aad by Liubov Chuprikova at 2018-03-16T13:11:53+00:00
debhelper 11; Standards-Version: 4.1.3

- - - - -


7 changed files:

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


Changes:

=====================================
debian/README.test
=====================================
--- /dev/null
+++ b/debian/README.test
@@ -0,0 +1,8 @@
+Notes on how this package can be tested.
+_______________________________________
+
+This package can be tested by execution
+
+	sh run-unit-test
+
+in order to confirm it's integrity.


=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+prodigal (1:2.6.3-2) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Fix "Please provide autopkgtest" Autopkgtest added
+    (Closes: #890783)
+  * Standards-Version: 4.1.3
+  * debhelper 11
+
+ -- Liubov Chuprikova <chuprikovalv at gmail.com>  Thu, 15 Mar 2018 23:36:47 +0000
+
 prodigal (1:2.6.3-1) unstable; urgency=medium
 
   * New upstream version


=====================================
debian/control
=====================================
--- a/debian/control
+++ b/debian/control
@@ -4,8 +4,8 @@ Uploaders: Olivier Sallou <osallou at debian.org>,
            Andreas Tille <tille at debian.org>
 Section: science
 Priority: optional
-Build-Depends: debhelper (>= 9)
-Standards-Version: 3.9.7
+Build-Depends: debhelper (>= 11~)
+Standards-Version: 4.1.3
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/prodigal.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/prodigal.git
 Homepage: http://prodigal.ornl.gov/


=====================================
debian/docs
=====================================
--- a/debian/docs
+++ b/debian/docs
@@ -1 +1,4 @@
 README*
+debian/tests/run-unit-test
+debian/tests/test-data
+debian/README.test


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


=====================================
debian/tests/run-unit-test
=====================================
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,16 @@
+#!/bin/bash
+set -e
+
+pkg="prodigal"
+
+if [ "$AUTOPKGTEST_TMP" = "" ] ; then
+    AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
+    trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM
+fi
+
+cd $AUTOPKGTEST_TMP
+
+cp -a /usr/share/doc/${pkg}/test-data/ .
+gunzip -r *
+
+/usr/bin/prodigal -i test-data/genome.fna -o gene.coord.gbk -a protein.translations.faa -t testgenome.trn


=====================================
debian/tests/test-data/genome.fna
=====================================
The diff for this file was not included because it is too large.


View it on GitLab: https://salsa.debian.org/med-team/prodigal/compare/c9164446291fc318eadb9550e38e5f53d0aafcf6...78d60aad462d79bae27399efc047355907471d4e

---
View it on GitLab: https://salsa.debian.org/med-team/prodigal/compare/c9164446291fc318eadb9550e38e5f53d0aafcf6...78d60aad462d79bae27399efc047355907471d4e
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-med-commit/attachments/20180316/ccbdfafb/attachment-0001.html>


More information about the debian-med-commit mailing list