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

Nilesh Patra gitlab at salsa.debian.org
Tue Jun 9 18:43:27 BST 2020



Nilesh Patra pushed to branch master at Debian Med / seqtools


Commits:
62cc1978 by Nilesh Patra at 2020-06-09T22:54:53+05:30
Add autopkgtests

- - - - -
4b3c4125 by Nilesh Patra at 2020-06-09T22:55:08+05:30
Install relevant examples

- - - - -
561b5dd9 by Nilesh Patra at 2020-06-09T17:26:12+00:00
Fix with cme

- - - - -
4b6ebfc2 by Nilesh Patra at 2020-06-09T17:35:29+00:00
s/http/https

- - - - -
1962af10 by Nilesh Patra at 2020-06-09T23:10:00+05:30
compat version:12

- - - - -


6 changed files:

- − debian/compat
- debian/control
- + debian/libgbtools-dev.examples
- + debian/tests/control
- + debian/tests/run-unit-test
- debian/upstream/metadata


Changes:

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


=====================================
debian/control
=====================================
@@ -3,16 +3,17 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.
 Uploaders: Andreas Tille <tille at debian.org>
 Section: science
 Priority: optional
-Build-Depends: debhelper (>= 11~),
+Build-Depends: debhelper-compat (= 12),
                libgtk2.0-dev,
                libsqlite3-dev,
                libcurl4-openssl-dev | libcurl4-dev,
                libjsoncpp-dev,
                d-shlibs
-Standards-Version: 4.3.0
+Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/med-team/seqtools
 Vcs-Git: https://salsa.debian.org/med-team/seqtools.git
-Homepage: http://www.sanger.ac.uk/science/tools/seqtools
+Homepage: https://www.sanger.ac.uk/science/tools/seqtools
+Rules-Requires-Root: no
 
 Package: libgbtools0
 Architecture: any
@@ -31,7 +32,7 @@ Architecture: any
 Multi-Arch: same
 Section: libdevel
 Depends: libgbtools0 (= ${binary:Version}),
-	 ${devlibs:Depends},
+         ${devlibs:Depends},
          ${misc:Depends}
 Description: library for visualising sequence alignments (devel)
  The SeqTools package contains three tools for visualising sequence


=====================================
debian/libgbtools-dev.examples
=====================================
@@ -0,0 +1 @@
+examples/*


=====================================
debian/tests/control
=====================================
@@ -0,0 +1,4 @@
+Test-Command: xvfb-run -s "-screen 0 1024x768x24 -ac +extension GLX +render -noreset" sh debian/tests/run-unit-test
+Depends: @, xvfb, xauth
+Restrictions: allow-stderr
+


=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,39 @@
+#!/bin/bash
+set -e
+
+pkg=libgbtools-dev
+
+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'
+timeout 10s blixem -t N chr4_ref_seq.fasta chr4_dna_align.gff || true
+echo 'PASS'
+echo '=============================================================='
+
+echo 'Test 2'
+timeout 10s blixem -t P chr4_ref_seq.fasta chr4_protein_align.gff || true
+echo 'PASS'
+echo '=============================================================='
+
+echo 'Test 3'
+dotter chr4_ref_seq_short.fasta DA730641.fasta -e test3 -w
+echo 'PASS'
+echo '=============================================================='
+
+echo 'Test 4'
+dotter chr4_ref_seq_short.fasta Q9H8G1.fasta -e test4 -r
+echo 'PASS'
+echo '=============================================================='
+
+echo 'Test 5'
+belvu PF02171_seed.stock -o msf
+echo 'PASS'
+echo '=============================================================='


=====================================
debian/upstream/metadata
=====================================
@@ -33,7 +33,7 @@ Reference:
    Pages: GC1-10
    DOI: 10.1016/0378-1119(95)00714-8
    PMID: 8566757
-   URL: http://www.sciencedirect.com/science/article/pii/0378111995007148
+   URL: https://www.sciencedirect.com/science/article/pii/0378111995007148
    Debian-Package: dotter
  - Author: Erik LL Sonnhammer and Richard Durbin
    Title: "A workbench for large-scale sequence homology analysis"



View it on GitLab: https://salsa.debian.org/med-team/seqtools/-/compare/fb39885db554555294792376968afd6446154eeb...1962af105d0223e3c0aedcbbfbb6746bac1b0b48

-- 
View it on GitLab: https://salsa.debian.org/med-team/seqtools/-/compare/fb39885db554555294792376968afd6446154eeb...1962af105d0223e3c0aedcbbfbb6746bac1b0b48
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/20200609/c0f6a00e/attachment-0001.html>


More information about the debian-med-commit mailing list