[med-svn] [Git][med-team/beads][master] 5 commits: Add autopkgtests
Nilesh Patra
gitlab at salsa.debian.org
Fri Jun 26 16:46:43 BST 2020
Nilesh Patra pushed to branch master at Debian Med / beads
Commits:
5e1fde39 by Nilesh Patra at 2020-06-26T20:45:38+05:30
Add autopkgtests
- - - - -
25ec8d04 by Nilesh Patra at 2020-06-26T20:52:59+05:30
Add VCS URLs
- - - - -
9a5572ae by Nilesh Patra at 2020-06-26T20:53:19+05:30
Add "Rules-Requires-Root:no"
- - - - -
d545ecbb by Nilesh Patra at 2020-06-26T21:02:07+05:30
compat version: 13
- - - - -
7b65aec4 by Nilesh Patra at 2020-06-26T21:03:17+05:30
Fix spellings
- - - - -
5 changed files:
- debian/control
- debian/copyright
- debian/rules
- + debian/tests/control
- + debian/tests/run-unit-test
Changes:
=====================================
debian/control
=====================================
@@ -5,12 +5,15 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.
Uploaders: Andreas Tille <tille at debian.org>,
Filippo Rusconi <lopippo at debian.org>
Homepage: http://pappso.inrae.fr/bioinfo/beads
-Build-Depends: debhelper-compat (= 12),
+Build-Depends: debhelper-compat (= 13),
cmake (>= 3.12),
qtbase5-dev,
cimg-dev,
libodsstream-dev
Standards-Version: 4.5.0
+Vcs-Browser: https://salsa.debian.org/med-team/beads
+Vcs-Git: https://salsa.debian.org/med-team/beads.git
+Rules-Requires-Root: no
Package: beads
Architecture: any
=====================================
debian/copyright
=====================================
@@ -381,7 +381,7 @@ License: CeCILL
terms and conditions of such technical assistance, and/or such
maintenance, shall be set forth in a separate instrument. Only the
Licensor offering said maintenance and/or technical assistance services
- shall incur liability therefor.
+ shall incur liability therefore.
.
7.2 Similarly, any Licensor is entitled to offer to its licensees, under
its sole responsibility, a warranty, that shall only be binding upon
=====================================
debian/rules
=====================================
@@ -9,3 +9,6 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
%:
dh $@
+override_dh_auto_build:
+ sed -i 's/assignement/assignment/' src/cimg/CImg.h
+ dh_auto_build
=====================================
debian/tests/control
=====================================
@@ -0,0 +1,4 @@
+Tests: run-unit-test
+Depends: @
+Restrictions: allow-stderr
+
=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,31 @@
+#!/bin/bash
+set -e
+
+pkg=beads
+TEST_DIR=`pwd`
+
+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 ${TEST_DIR}/samples/* -a "${AUTOPKGTEST_TMP}"
+
+cd "${AUTOPKGTEST_TMP}"
+gunzip -r *
+
+echo 'Test 1'
+beads -i ap-petit.TIFF --param beads_silver.conf -o test1.xml
+echo 'PASS'
+echo
+
+echo 'Test 2'
+beads -i ap-basique.TIFF --param beads_blue.conf --inverse true -o test2.xml
+echo 'PASS'
+echo
+
+echo 'Test 3'
+beads -i ap05033011.TIFF --param beads_silver_small.conf --steps false -o test2.xml
+echo 'PASS'
+echo
+
View it on GitLab: https://salsa.debian.org/med-team/beads/-/compare/d4d94e50772d5d961e8895a6559865847d4f2b13...7b65aec46c921529dc5ba8cb8d7ec1093786b4c6
--
View it on GitLab: https://salsa.debian.org/med-team/beads/-/compare/d4d94e50772d5d961e8895a6559865847d4f2b13...7b65aec46c921529dc5ba8cb8d7ec1093786b4c6
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/20200626/91819852/attachment-0001.html>
More information about the debian-med-commit
mailing list