[med-svn] [Git][med-team/seq-gen][master] 5 commits: Add autopkgtests

Nilesh Patra gitlab at salsa.debian.org
Thu Jun 25 16:05:35 BST 2020



Nilesh Patra pushed to branch master at Debian Med / seq-gen


Commits:
6b593e40 by Nilesh Patra at 2020-06-25T20:27:35+05:30
Add autopkgtests

- - - - -
d5d3d7f3 by Nilesh Patra at 2020-06-25T20:28:35+05:30
Drop compat, switch to debhelper-compat 13

- - - - -
60fb5437 by Nilesh Patra at 2020-06-25T20:29:22+05:30
Add "Rules-Requires-Root:no"

- - - - -
c891ff6d by Nilesh Patra at 2020-06-25T20:31:25+05:30
Update metdata

- - - - -
e7b976cf by Nilesh Patra at 2020-06-25T20:33:30+05:30
Bump standards version to 4.5.0

- - - - -


5 changed files:

- − debian/compat
- debian/control
- + debian/tests/control
- + debian/tests/run-unit-test
- debian/upstream/metadata


Changes:

=====================================
debian/compat deleted
=====================================
@@ -1 +0,0 @@
-11


=====================================
debian/control
=====================================
@@ -5,11 +5,12 @@ Uploaders: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>,
 Section: non-free/science
 XS-Autobuild: yes
 Priority: optional
-Build-Depends: debhelper (>= 11~)
-Standards-Version: 4.2.1
+Build-Depends: debhelper-compat (= 13)
+Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/med-team/seq-gen
 Vcs-Git: https://salsa.debian.org/med-team/seq-gen.git
 Homepage: http://tree.bio.ed.ac.uk/software/seqgen/
+Rules-Requires-Root: no
 
 Package: seq-gen
 Architecture: any


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


=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,27 @@
+#!/bin/bash
+set -e
+
+pkg=seq-gen
+
+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/${pkg}/examples/* -a "${AUTOPKGTEST_TMP}"
+
+cd "${AUTOPKGTEST_TMP}"
+gunzip -r *
+
+echo 'Test 1'
+seq-gen -mHKY -t3.0 -f0.3,0.2,0.2,0.3 -l40 -n3 < example.tree > test1.dat
+
+echo 'Test 2'
+seq-gen -mHKY -p5 -n5 -d0.3 < heterogeneity.tree > test2.dat
+
+echo 'Test 3'
+seq-gen -mHKY -g3 -a0.1 < recombinant.tree > test3.dat
+
+echo 'Test 4'
+seq-gen -mHKY -l3 -n5 -z190000 -d0.4 < seqs+trees.phy > test4.dat
+


=====================================
debian/upstream/metadata
=====================================
@@ -21,3 +21,10 @@ Registry:
    Entry: SCR_014934
  - Name: conda:bioconda
    Entry: seq-gen
+---
+Archive: GitHub
+Bug-Database: https://github.com/rambaut/Seq-Gen/issues
+Bug-Submit: https://github.com/rambaut/Seq-Gen/issues/new
+Changelog: https://github.com/rambaut/Seq-Gen/tags
+Repository: https://github.com/rambaut/Seq-Gen.git
+Repository-Browse: https://github.com/rambaut/Seq-Gen



View it on GitLab: https://salsa.debian.org/med-team/seq-gen/-/compare/f21f6f127d23c599ce7a6ed12d10db1c7d6f6358...e7b976cfdb8c800becbc2c4547b453cf4b7c74cd

-- 
View it on GitLab: https://salsa.debian.org/med-team/seq-gen/-/compare/f21f6f127d23c599ce7a6ed12d10db1c7d6f6358...e7b976cfdb8c800becbc2c4547b453cf4b7c74cd
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/20200625/39e3c24c/attachment-0001.html>


More information about the debian-med-commit mailing list