[Git][debian-gis-team/python-mapnik][master] Add module import tests to autopkgtest configuration.

Bas Couwenberg gitlab at salsa.debian.org
Mon Apr 16 20:27:31 BST 2018


Bas Couwenberg pushed to branch master at Debian GIS Project / python-mapnik


Commits:
5af2bd72 by Bas Couwenberg at 2018-04-16T20:58:22+02:00
Add module import tests to autopkgtest configuration.

- - - - -


2 changed files:

- debian/changelog
- debian/tests/control


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+python-mapnik (1:0.0~20180411-fe47aa15e-2) UNRELEASED; urgency=medium
+
+  * Add module import tests to autopkgtest configuration.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Mon, 16 Apr 2018 20:04:33 +0200
+
 python-mapnik (1:0.0~20180411-fe47aa15e-1) unstable; urgency=medium
 
   * New upstream git snapshot.


=====================================
debian/tests/control
=====================================
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,3 +1,11 @@
 # Test installability
 Depends: @
 Test-Command: /bin/true
+
+# Test module import (Python 2)
+Depends: python-all, python-mapnik
+Test-Command: set -e ; for py in $(pyversions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import mapnik; print(mapnik)" ; done
+
+# Test module import (Python 3)
+Depends: python3-all, python3-mapnik
+Test-Command: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import mapnik; print(mapnik)" ; done



View it on GitLab: https://salsa.debian.org/debian-gis-team/python-mapnik/commit/5af2bd72feb5a3de59ca903b3eb29cd72707de14

---
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-mapnik/commit/5af2bd72feb5a3de59ca903b3eb29cd72707de14
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/pkg-grass-devel/attachments/20180416/c2b25625/attachment.html>


More information about the Pkg-grass-devel mailing list