[med-svn] [Git][med-team/solvate][master] 3 commits: Add autopkgtests
Nilesh Patra
gitlab at salsa.debian.org
Fri Jun 5 17:39:35 BST 2020
Nilesh Patra pushed to branch master at Debian Med / solvate
Commits:
1f03e4df by Nilesh Patra at 2020-06-05T21:38:48+05:30
Add autopkgtests
- - - - -
492425b9 by Nilesh Patra at 2020-06-05T21:57:43+05:30
Fix with cme
- - - - -
92b060f8 by Nilesh Patra at 2020-06-05T21:59:45+05:30
Fix location of doc-base installed docs
- - - - -
6 changed files:
- − debian/compat
- debian/control
- debian/copyright
- debian/solvate-doc.doc-base
- + debian/tests/control
- + debian/tests/run-unit-test
Changes:
=====================================
debian/compat deleted
=====================================
@@ -1 +0,0 @@
-10
=====================================
debian/control
=====================================
@@ -1,14 +1,16 @@
Source: solvate
Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
-Uploaders: Steffen Moeller <moeller at debian.org>, Charles Plessy <charles-debian-nospam at plessy.org>
+Uploaders: Steffen Moeller <moeller at debian.org>,
+ Charles Plessy <charles-debian-nospam at plessy.org>
Section: non-free/science
XS-Autobuild: yes
Priority: optional
-Build-Depends: debhelper (>= 10)
-Standards-Version: 4.1.4
+Build-Depends: debhelper-compat (= 13)
+Standards-Version: 4.5.0
Vcs-Browser: https://salsa.debian.org/med-team/solvate
Vcs-Git: https://salsa.debian.org/med-team/solvate.git
-Homepage: http://www.mpibpc.mpg.de/grubmueller/solvate
+Homepage: https://www3.mpibpc.mpg.de/groups/grubmueller/start/index.html
+Rules-Requires-Root: no
Package: solvate
Architecture: any
=====================================
debian/copyright
=====================================
@@ -1,15 +1,15 @@
This package was debianized by Steffen Moeller <moeller at debian.org> on
Fri, 28 Dec 2007 01:45:03 +0100.
-It was downloaded from http://www.mpibpc.mpg.de/groups/grubmueller/start/index.html
+It was downloaded from https://www3.mpibpc.mpg.de/groups/grubmueller/start/index.html
Upstream Author:
- Helmut Grubmueller <hgrubmu at gwdg.de>
+ 1996 Helmut Grubmueller <hgrubmu at gwdg.de>
Copyright:
- Helmut Grubmueller 1996
+ 1996 Helmut Grubmueller
License:
=====================================
debian/solvate-doc.doc-base
=====================================
@@ -5,5 +5,5 @@ Abstract: Complete usage instructions for solvate
Section: Science/Biology
Format: HTML
-Index: /usr/share/doc/solvate-doc/docu_html/docu.html
-Files: /usr/share/doc/solvate-doc/docu_html/*.html /usr/share/doc/solvate-doc/docu_html/*.gif
+Index: /usr/share/doc/solvate/docu_html/docu.html
+Files: /usr/share/doc/solvate/docu_html/*.html /usr/share/doc/solvate/docu_html/*.gif
=====================================
debian/tests/control
=====================================
@@ -0,0 +1,4 @@
+Tests: run-unit-test
+Depends: @
+Restrictions: allow-stderr
+
=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,24 @@
+#!/bin/bash
+set -e
+
+pkg=solvate-doc
+
+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}/* -a "${AUTOPKGTEST_TMP}"
+
+cd "${AUTOPKGTEST_TMP}"
+gunzip -r *
+
+echo 'Test 1'
+solvate -r 20.91 -s -v bpti test1
+echo 'PASS'
+echo
+
+echo 'Test 2'
+solvate -n 2 -r 40.33 -t 2 -bulk -psf -ion globh test2
+echo 'PASS'
+
View it on GitLab: https://salsa.debian.org/med-team/solvate/-/compare/1db4703f7d05e3c768cce1b78f7b960c52cfe6cf...92b060f8308ee080cc8ef16f81eb28e66d61dd03
--
View it on GitLab: https://salsa.debian.org/med-team/solvate/-/compare/1db4703f7d05e3c768cce1b78f7b960c52cfe6cf...92b060f8308ee080cc8ef16f81eb28e66d61dd03
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/20200605/56841eee/attachment-0001.html>
More information about the debian-med-commit
mailing list