[Git][debian-gis-team/python-cligj][master] 2 commits: Add autopkgtest installability & module import tests.
Bas Couwenberg
gitlab at salsa.debian.org
Sun Jul 29 16:50:46 BST 2018
Bas Couwenberg pushed to branch master at Debian GIS Project / python-cligj
Commits:
a6a32a28 by Bas Couwenberg at 2018-07-29T15:47:11Z
Add autopkgtest installability & module import tests.
- - - - -
5b7ae48c by Bas Couwenberg at 2018-07-29T15:47:11Z
Set distribution to unstable.
- - - - -
2 changed files:
- debian/changelog
- + debian/tests/control
Changes:
=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-python-cligj (0.4.0-2) UNRELEASED; urgency=medium
+python-cligj (0.4.0-2) unstable; urgency=medium
* Team upload.
* Strip trailing whitespace from control & rules files.
@@ -6,8 +6,9 @@ python-cligj (0.4.0-2) UNRELEASED; urgency=medium
* Update Vcs-* URLs for Salsa.
* Bump Standards-Version to 4.1.5, no changes.
* Drop ancient X-Python-Version field.
+ * Add autopkgtest installability & module import tests.
- -- Bas Couwenberg <sebastic at debian.org> Tue, 21 Nov 2017 10:07:31 +0100
+ -- Bas Couwenberg <sebastic at debian.org> Sun, 29 Jul 2018 15:20:32 +0200
python-cligj (0.4.0-1) unstable; urgency=medium
=====================================
debian/tests/control
=====================================
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,11 @@
+# Test installability
+Depends: @
+Test-Command: /bin/true
+
+# Test module import (Python 2)
+Depends: python-all, python-cligj
+Test-Command: set -e ; for py in $(pyversions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import cligj; print(cligj)" ; done
+
+# Test module import (Python 3)
+Depends: python3-all, python3-cligj
+Test-Command: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import cligj; print(cligj)" ; done
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-cligj/compare/ad504dc05d9c23c37e0e36a6bc53689e43607d79...5b7ae48c159b4eff7ea01920f05b3381d0cee43a
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-cligj/compare/ad504dc05d9c23c37e0e36a6bc53689e43607d79...5b7ae48c159b4eff7ea01920f05b3381d0cee43a
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/20180729/037ab02a/attachment-0001.html>
More information about the Pkg-grass-devel
mailing list