[med-svn] [Git][med-team/pique][master] 3 commits: Rewrite test to serve at the same time as user example

Andreas Tille (@tille) gitlab at salsa.debian.org
Tue Dec 12 19:58:53 GMT 2023



Andreas Tille pushed to branch master at Debian Med / pique


Commits:
fb0fdc41 by Andreas Tille at 2023-12-12T20:53:23+01:00
Rewrite test to serve at the same time as user example

- - - - -
8ad5ae76 by Andreas Tille at 2023-12-12T20:54:57+01:00
DEP3

- - - - -
aa0d47bf by Andreas Tille at 2023-12-12T20:55:12+01:00
routine-update: Standards-Version: 4.6.2

- - - - -


7 changed files:

- + debian/README.test
- debian/changelog
- debian/control
- debian/patches/smartpca_fix.diff
- + debian/pique.docs
- debian/tests/control
- + debian/tests/run-unit-test


Changes:

=====================================
debian/README.test
=====================================
@@ -0,0 +1,9 @@
+Notes on how this package can be tested.
+────────────────────────────────────────
+
+This package can be tested by running the provided test:
+
+    sudo apt install pique-doc
+    sh run-unit-test
+
+in order to confirm its integrity.


=====================================
debian/changelog
=====================================
@@ -1,8 +1,13 @@
 pique (1.0-7) UNRELEASED; urgency=medium
 
+  [ Komolehin Israel Timilehin ]
+  * Team upload
   * Added patch to fix smartpca command
   * Added autopkgtest (Closes: #986194)
 
+  [ Andreas Tille ]
+  * Standards-Version: 4.6.2 (routine-update)
+
  -- Komolehin Israel Timilehin <komolehinisrael at gmail.com>  Tue, 12 Dec 2023 16:57:46 +0000
 
 pique (1.0-6) unstable; urgency=medium


=====================================
debian/control
=====================================
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 Uploaders: Andreas Tille <tille at debian.org>
 Build-Depends: debhelper-compat (= 13)
-Standards-Version: 4.6.1
+Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/med-team/pique
 Vcs-Git: https://salsa.debian.org/med-team/pique.git
 Homepage: https://github.com/tony-travis/PIQUE/


=====================================
debian/patches/smartpca_fix.diff
=====================================
@@ -1,3 +1,7 @@
+Author: Komolehin Israel Timilehin
+Last-Update: 2023-12-12 16:43:02 +0000
+Description: Fix path to eigensoft tool which is not in PATH
+
 --- a/bin/pique-input
 +++ b/bin/pique-input
 @@ -838,7 +838,7 @@


=====================================
debian/pique.docs
=====================================
@@ -0,0 +1,2 @@
+debian/README.test
+debian/tests/run-unit-test


=====================================
debian/tests/control
=====================================
@@ -1,3 +1,3 @@
-Test-command: cd test && make
-Depends: pique, pique-doc, wget, r-cran-hmisc
+Tests: run-unit-test
+Depends: @, wget, r-cran-hmisc
 Restrictions: allow-stderr, needs-internet


=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,17 @@
+#!/bin/bash
+set -e
+
+pkg=pique
+
+export LC_ALL=C.UTF-8
+if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
+  AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
+  # shellcheck disable=SC2064
+  trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
+fi
+
+cp -a /usr/share/doc/${pkg}/examples/* "${AUTOPKGTEST_TMP}"
+
+cd "${AUTOPKGTEST_TMP}"
+
+make



View it on GitLab: https://salsa.debian.org/med-team/pique/-/compare/bb78acdbb21aaa147e24b47b32134b1575a8b0bd...aa0d47bf9c9c52673c4c232cb4bf5408dc090765

-- 
View it on GitLab: https://salsa.debian.org/med-team/pique/-/compare/bb78acdbb21aaa147e24b47b32134b1575a8b0bd...aa0d47bf9c9c52673c4c232cb4bf5408dc090765
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/20231212/2e32207e/attachment-0001.htm>


More information about the debian-med-commit mailing list