[med-svn] [Git][med-team/python-datacache][master] 4 commits: add autopkgtest

Nilesh Patra (@nilesh) gitlab at salsa.debian.org
Tue Mar 29 19:08:09 BST 2022



Nilesh Patra pushed to branch master at Debian Med / python-datacache


Commits:
3dfde423 by Mohammed Bilal at 2022-03-28T20:04:19+00:00
add autopkgtest

- - - - -
29cdf423 by Mohammed Bilal at 2022-03-28T20:04:31+00:00
Update changelog

- - - - -
176154d7 by Mohammed Bilal at 2022-03-29T11:49:08+00:00
d/t/control : add python3-nose dependency

- - - - -
178e2ff3 by Nilesh Patra at 2022-03-29T18:08:04+00:00
Merge branch 'master' into 'master'

Add autopkgtest

See merge request med-team/python-datacache!1
- - - - -


3 changed files:

- debian/changelog
- + debian/tests/control
- + debian/tests/run-unit-test


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+python-datacache (1.1.5-2) UNRELEASED; urgency=medium
+
+  * add autopkgtest
+
+ -- Mohammed Bilal <mdbilal at disroot.org>  Mon, 28 Mar 2022 18:25:48 +0000
+
 python-datacache (1.1.5-1) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/tests/control
=====================================
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, python3-all, python3-pytest, python3-nose
+Restrictions: allow-stderr


=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,19 @@
+#!/bin/bash
+set -e
+
+pkg=python3-datacache
+CUR_DIR=`pwd`
+
+export LC_ALL=C.UTF-8
+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 ${CUR_DIR}/test/ "${AUTOPKGTEST_TMP}"
+
+cd "${AUTOPKGTEST_TMP}"
+
+for py in $(py3versions -s 2> /dev/null)
+do
+	$py -m pytest -v
+done



View it on GitLab: https://salsa.debian.org/med-team/python-datacache/-/compare/d029dcfc9c2ca3e69bb8b9a2917fb419808730d0...178e2ff3b50275fb09ae035adb1b23f2e5f42e4b

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-datacache/-/compare/d029dcfc9c2ca3e69bb8b9a2917fb419808730d0...178e2ff3b50275fb09ae035adb1b23f2e5f42e4b
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/20220329/b2a33b7f/attachment-0001.htm>


More information about the debian-med-commit mailing list