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

Nilesh Patra gitlab at salsa.debian.org
Wed Nov 18 12:29:24 GMT 2020



Nilesh Patra pushed to branch master at Debian Med / mssstest


Commits:
75d455a7 by Nilesh Patra at 2020-11-18T17:56:59+05:30
Add autopkgtests

- - - - -
eaac5df7 by Nilesh Patra at 2020-11-18T17:57:14+05:30
routine-update: Standards-Version: 4.5.0

- - - - -
9ef538fa by Nilesh Patra at 2020-11-18T17:57:14+05:30
routine-update: debhelper-compat 13

- - - - -
879c6b26 by Nilesh Patra at 2020-11-18T17:57:22+05:30
routine-update: Add salsa-ci file

- - - - -
e0222d4f by Nilesh Patra at 2020-11-18T17:57:22+05:30
routine-update: Rules-Requires-Root: no

- - - - -
f0f523f6 by Nilesh Patra at 2020-11-18T17:57:26+05:30
Trim trailing whitespace.

Changes-By: lintian-brush
Fixes: lintian: trailing-whitespace
See-also: https://lintian.debian.org/tags/trailing-whitespace.html

- - - - -
470cdddf by Nilesh Patra at 2020-11-18T17:57:31+05:30
Fix day-of-week for changelog entry 2.0-2.

Changes-By: lintian-brush
Fixes: lintian: debian-changelog-has-wrong-day-of-week
See-also: https://lintian.debian.org/tags/debian-changelog-has-wrong-day-of-week.html

- - - - -
f497c45e by Nilesh Patra at 2020-11-18T17:57:32+05:30
routine-update: Ready to upload to unstable

- - - - -


6 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,15 @@
+mssstest (3.0-8) unstable; urgency=medium
+
+  * Team upload.
+  * Standards-Version: 4.5.0 (routine-update)
+  * debhelper-compat 13 (routine-update)
+  * Add salsa-ci file (routine-update)
+  * Rules-Requires-Root: no (routine-update)
+  * Trim trailing whitespace.
+  * Fix day-of-week for changelog entry 2.0-2.
+
+ -- Nilesh Patra <npatra974 at gmail.com>  Wed, 18 Nov 2020 17:57:32 +0530
+
 mssstest (3.0-7) unstable; urgency=medium
 
   * Add fake watch file
@@ -102,11 +114,10 @@ mssstest (2.0-2) unstable; urgency=low
   * Provided wrapper to start binary in /usr/lib/mssstest
     from /usr/bin/mssstest.
 
- -- Steffen Moeller <moeller at pzr.uni-rostock.de>  Tue, 05 May 2005 17:05:26 +0200
+ -- Steffen Moeller <moeller at pzr.uni-rostock.de>  Thu, 05 May 2005 17:05:26 +0200
 
 mssstest (2.0-1) unstable; urgency=low
 
   * Initial Release (Closes:Bug#283695).
 
  -- Steffen Moeller <moeller at pzr.uni-rostock.de>  Tue, 30 Nov 2004 16:32:26 +0100
-


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


=====================================
debian/control
=====================================
@@ -5,11 +5,12 @@ Uploaders: Steffen Moeller <moeller at debian.org>,
 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/mssstest
 Vcs-Git: https://salsa.debian.org/med-team/mssstest.git
 Homepage: https://www-gene.cimr.cam.ac.uk/MSgenetics/GAMES/MSSS/index.html
+Rules-Requires-Root: no
 
 Package: mssstest
 Architecture: any


=====================================
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: @, build-essential, nim
+Restrictions: allow-stderr


=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,33 @@
+#!/bin/bash
+set -e
+
+pkg="mssstest"
+
+if [ "$AUTOPKGTEST_TMP" = "" ] ; then
+  AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+  trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM
+fi
+
+echo "Test Functionality"
+
+echo "TEST 1"
+mssstest <<HERE
+2
+1
+0
+HERE
+head -20 msss.out
+rm -f ./*.out
+echo "PASS"
+echo
+
+echo "TEST 2"
+mssstest <<HERE
+1
+0
+0
+HERE
+head -20 msss.out
+head -20 indivmsss.out
+rm -f ./*.out
+echo "PASS"



View it on GitLab: https://salsa.debian.org/med-team/mssstest/-/compare/f10ce8d93e5fb5d3157aa89444e9b87687e6f9e6...f497c45eb5f165880142ef9b3620a61d09439223

-- 
View it on GitLab: https://salsa.debian.org/med-team/mssstest/-/compare/f10ce8d93e5fb5d3157aa89444e9b87687e6f9e6...f497c45eb5f165880142ef9b3620a61d09439223
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/20201118/d4878645/attachment-0001.html>


More information about the debian-med-commit mailing list