[med-svn] [Git][med-team/neobio][master] 8 commits: Add autopkgtests

Nilesh Patra gitlab at salsa.debian.org
Mon Nov 16 14:20:50 GMT 2020



Nilesh Patra pushed to branch master at Debian Med / neobio


Commits:
0378d4a0 by Nilesh Patra at 2020-11-16T19:47:05+05:30
Add autopkgtests

- - - - -
490f3e42 by Nilesh Patra at 2020-11-16T19:47:21+05:30
routine-update: Standards-Version: 4.5.0

- - - - -
23671933 by Nilesh Patra at 2020-11-16T19:47:21+05:30
routine-update: debhelper-compat 13

- - - - -
bde28dae by Nilesh Patra at 2020-11-16T19:47:28+05:30
routine-update: Remove trailing whitespace in debian/copyright

- - - - -
e6b2f78a by Nilesh Patra at 2020-11-16T19:47:28+05:30
routine-update: Remove trailing whitespace in debian/rules

- - - - -
43cdf9d7 by Nilesh Patra at 2020-11-16T19:47:28+05:30
routine-update: Add salsa-ci file

- - - - -
cadd5c7b by Nilesh Patra at 2020-11-16T19:47:28+05:30
routine-update: Rules-Requires-Root: no

- - - - -
5ef95e1e by Nilesh Patra at 2020-11-16T19:50:32+05:30
Upload to unstable

- - - - -


8 changed files:

- debian/changelog
- − debian/compat
- debian/control
- debian/copyright
- debian/rules
- + debian/salsa-ci.yml
- + debian/tests/control
- + debian/tests/run-unit-test


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,23 @@
+neobio (0.0.20030929-5) unstable; urgency=medium
+
+  * Team Upload.
+  [ Hervé Ménager ]
+  * fix bio.tools ref
+
+  [ Steffen Moeller ]
+  * d/u/metadata: yamllint
+
+  [ Nilesh Patra ]
+  * Add autopkgtests
+  * Standards-Version: 4.5.0 (routine-update)
+  * debhelper-compat 13 (routine-update)
+  * Remove trailing whitespace in debian/copyright (routine-update)
+  * Remove trailing whitespace in debian/rules (routine-update)
+  * Add salsa-ci file (routine-update)
+  * Rules-Requires-Root: no (routine-update)
+
+ -- Nilesh Patra <npatra974 at gmail.com>  Mon, 16 Nov 2020 19:47:39 +0530
+
 neobio (0.0.20030929-4) unstable; urgency=medium
 
   * debhelper 11


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


=====================================
debian/control
=====================================
@@ -4,13 +4,14 @@ Uploaders: Christoph Gille <christophgil at googlemail.com>,
            Andreas Tille <tille at debian.org>
 Section: science
 Priority: optional
-Build-Depends: debhelper (>= 11~),
+Build-Depends: debhelper-compat (= 13),
                default-jdk,
                javahelper
-Standards-Version: 4.2.1
+Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/med-team/neobio
 Vcs-Git: https://salsa.debian.org/med-team/neobio.git
 Homepage: http://neobio.sourceforge.net/
+Rules-Requires-Root: no
 
 Package: neobio
 Architecture: all


=====================================
debian/copyright
=====================================
@@ -39,6 +39,6 @@ License: GPL-3
  .
  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
-Comment: On Debian systems, the complete text of the GNU General Public License 
+Comment: On Debian systems, the complete text of the GNU General Public License
  version 3 can be found in ‘/usr/share/common-licenses/GPL-3’
 


=====================================
debian/rules
=====================================
@@ -6,7 +6,7 @@
 
 include /usr/share/dpkg/default.mk
 
-%:	
+%:
 	dh $@ --with javahelper
 
 


=====================================
debian/salsa-ci.yml
=====================================
@@ -0,0 +1,4 @@
+---
+include:
+  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
+  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml


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


=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,22 @@
+#!/bin/bash
+set -e
+
+pkg="neobio"
+
+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/lib/${pkg}/data/* $AUTOPKGTEST_TMP
+
+cd $AUTOPKGTEST_TMP
+gunzip -r *
+
+echo "Test 1"
+java -cp /usr/share/java/neobio.jar neobio.textui.NeoBio NW dna01a.txt dna02a.txt S 1 -1 -1
+echo "PASS"
+
+echo "Test 2"
+java -cp /usr/share/java/neobio.jar neobio.textui.NeoBio CLZG dna01a.txt dna02a.txt M blosum62.txt
+echo "PASS"



View it on GitLab: https://salsa.debian.org/med-team/neobio/-/compare/3c5bf440aa4ebbada2f788db8cbfebf1a23d62e1...5ef95e1eec15d315865c93777ef1d814106344de

-- 
View it on GitLab: https://salsa.debian.org/med-team/neobio/-/compare/3c5bf440aa4ebbada2f788db8cbfebf1a23d62e1...5ef95e1eec15d315865c93777ef1d814106344de
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/20201116/1c2fe9a7/attachment-0001.html>


More information about the debian-med-commit mailing list