[med-svn] [Git][med-team/coils][master] Added autopkgtest

Liubov Chuprikova gitlab at salsa.debian.org
Tue Mar 13 16:59:31 UTC 2018


Liubov Chuprikova pushed to branch master at Debian Med / coils


Commits:
83773ecf by Liubov Chuprikova at 2018-03-13T16:54:57+00:00
Added autopkgtest

- - - - -


4 changed files:

- debian/changelog
- debian/rules
- + debian/tests/control
- + debian/tests/run-init-test


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+coils (2002-6) UNRELEASED; urgency=low
+
+  * Team upload.
+  * Fixed typo in override_dh_clean 
+  * Fix "Please provide autopkgtest" autopkgtest added 
+    (Closes: #890786)
+
+ -- Liubov Chuprikova <chuprikovalv at gmail.com>  Tue, 13 Mar 2018 12:22:29 +0000
+
 coils (2002-5) unstable; urgency=low
 
   [ Steffen Moeller ]


=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -15,7 +15,7 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 override_dh_auto_build:
 	$(CC) $(CFLAGS) -I. -o ncoils ncoils.c read_matrix.c -lm -D__PKGDATADIR__=\"/usr/share/ncoils\" $(LDFLAGS)
 
-overrice_dh_clean:
+override_dh_clean:
 	dh_clean ncoils ncoils.1 coils-wrap.1
 
 override_dh_install:


=====================================
debian/tests/control
=====================================
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: run-init-test
+Depends: @
+Restrictions: allow-stderr


=====================================
debian/tests/run-init-test
=====================================
--- /dev/null
+++ b/debian/tests/run-init-test
@@ -0,0 +1,15 @@
+#!/bin/bash
+set -e
+
+pkg="ncoils"
+
+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/share/doc/${pkg}/1srya.fa $AUTOPKGTEST_TMP
+
+cd $AUTOPKGTEST_TMP
+
+/usr/bin/ncoils -f < 1srya.fa



View it on GitLab: https://salsa.debian.org/med-team/coils/commit/83773ecf79f48c10b59f6c81d5892b2478c3da2b

---
View it on GitLab: https://salsa.debian.org/med-team/coils/commit/83773ecf79f48c10b59f6c81d5892b2478c3da2b
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-med-commit/attachments/20180313/1a096a6c/attachment-0001.html>


More information about the debian-med-commit mailing list