[med-svn] [Git][med-team/python-tinyalign][master] 3 commits: Testsuite: autopkgtest-pkg-python

Sao I Kuan gitlab at salsa.debian.org
Fri Mar 20 13:03:46 GMT 2020



Sao I Kuan pushed to branch master at Debian Med / python-tinyalign


Commits:
4331d11b by Andreas Tille at 2020-03-16T22:58:55+09:00
Testsuite: autopkgtest-pkg-python

- - - - -
32850e85 by Sao I Kuan at 2020-03-16T23:02:02+09:00
Add Build-Depends: python3-pytest

- - - - -
576659c3 by Sao I Kuan at 2020-03-20T22:03:30+09:00
Add test script for autopkgtest

- - - - -


5 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,8 +1,19 @@
-python-tinyalign (0.2-3) UNRELEASED; urgency=medium
+python-tinyalign (0.2-4) UNRELEASED; urgency=medium
 
+  * Add Build-Depends: python3-pytest
+  * Add test script for autopkgtest
+
+ -- Sao I Kuan <saoikuan at gmail.com>  Mon, 16 Mar 2020 23:00:26 +0900
+
+python-tinyalign (0.2-3) unstable; urgency=medium
+
+  [ Sao I Kuan ]
   * Team upload.
   * Fix incorrect path Vcs-Browser, Vcs-Git
 
+  [ Andreas Tille ]
+  * Testsuite: autopkgtest-pkg-python
+
  -- Sao I Kuan <saoikuan at gmail.com>  Tue, 10 Mar 2020 17:31:28 +0900
 
 python-tinyalign (0.2-2) unstable; urgency=medium


=====================================
debian/control
=====================================
@@ -8,12 +8,13 @@ Build-Depends: debhelper-compat (= 12),
                cython3,
                python3-setuptools,
                python3-setuptools-scm,
-               python3-all-dev
+               python3-all-dev,
+               python3-pytest
 Standards-Version: 4.5.0
 Homepage: https://github.com/marcelm/tinyalign
 Vcs-Browser: https://salsa.debian.org/med-team/python-tinyalign
 Vcs-Git: https://salsa.debian.org/med-team/python-tinyalign.git
-#Testsuite: autopkgtest-pkg-python
+Testsuite: autopkgtest-pkg-python
 
 Package: python3-tinyalign
 Architecture: any


=====================================
debian/rules
=====================================
@@ -2,6 +2,7 @@
 export DH_VERBOSE = 1
 
 export PYBUILD_NAME=tinyalign
+export PYBUILD_TEST_PYTEST = 1
 
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 


=====================================
debian/tests/control
=====================================
@@ -0,0 +1,2 @@
+Tests: run-unit-test
+Depends: @, python3-all, python3-pytest


=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+set -e
+
+for py in $(py3versions -r 2> /dev/null)
+do
+    pushd tests
+    echo "Testing with $py in $(pwd):"
+    http_proxy="" $py -m pytest -v
+    popd
+done



View it on GitLab: https://salsa.debian.org/med-team/python-tinyalign/-/compare/d5007fe609926af9154ee42160df8f1add53212e...576659c3deae211e3857622530d71d1aa67b29e2

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-tinyalign/-/compare/d5007fe609926af9154ee42160df8f1add53212e...576659c3deae211e3857622530d71d1aa67b29e2
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/20200320/6b2f5b91/attachment-0001.html>


More information about the debian-med-commit mailing list