[Python-modules-commits] r27354 - in packages/munkres/trunk/debian (6 files)
stefanor at users.alioth.debian.org
stefanor at users.alioth.debian.org
Tue Jan 21 16:15:23 UTC 2014
Date: Tuesday, January 21, 2014 @ 16:15:22
Author: stefanor
Revision: 27354
Add autopkgtests.
Added:
packages/munkres/trunk/debian/tests/
packages/munkres/trunk/debian/tests/control
packages/munkres/trunk/debian/tests/upstream-tests
packages/munkres/trunk/debian/tests/upstream-tests3
Modified:
packages/munkres/trunk/debian/changelog
packages/munkres/trunk/debian/control
Modified: packages/munkres/trunk/debian/changelog
===================================================================
--- packages/munkres/trunk/debian/changelog 2014-01-21 15:58:41 UTC (rev 27353)
+++ packages/munkres/trunk/debian/changelog 2014-01-21 16:15:22 UTC (rev 27354)
@@ -10,6 +10,7 @@
* Bump machine-readable copyright format to 1.0.
* Updated homepage.
* Port to pybuild.
+ * Add autopkgtests.
[ Jakub Wilk ]
* Use canonical URIs for Vcs-* fields.
Modified: packages/munkres/trunk/debian/control
===================================================================
--- packages/munkres/trunk/debian/control 2014-01-21 15:58:41 UTC (rev 27353)
+++ packages/munkres/trunk/debian/control 2014-01-21 16:15:22 UTC (rev 27354)
@@ -15,6 +15,7 @@
Homepage: http://software.clapper.org/munkres/
Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/munkres/trunk/
Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/munkres/trunk/
+XS-Testsuite: autopkgtest
Package: python-munkres
Architecture: all
Added: packages/munkres/trunk/debian/tests/control
===================================================================
--- packages/munkres/trunk/debian/tests/control (rev 0)
+++ packages/munkres/trunk/debian/tests/control 2014-01-21 16:15:22 UTC (rev 27354)
@@ -0,0 +1,5 @@
+Tests: upstream-tests
+Depends: python-all, python-munkres
+
+Tests: upstream-tests3
+Depends: python3-all, python3-munkres
Added: packages/munkres/trunk/debian/tests/upstream-tests
===================================================================
--- packages/munkres/trunk/debian/tests/upstream-tests (rev 0)
+++ packages/munkres/trunk/debian/tests/upstream-tests 2014-01-21 16:15:22 UTC (rev 27354)
@@ -0,0 +1,13 @@
+#!/bin/sh
+set -efu
+
+pys="$(pyversions -r 2> /dev/null)"
+
+cp debian/test-output $ADTTMP/expected-output
+cd "$ADTTMP"
+
+for py in $pys; do
+ echo "=== $py ==="
+ $py -m munkres > test-output
+ diff -u expected-output test-output
+done
Property changes on: packages/munkres/trunk/debian/tests/upstream-tests
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/munkres/trunk/debian/tests/upstream-tests3
===================================================================
--- packages/munkres/trunk/debian/tests/upstream-tests3 (rev 0)
+++ packages/munkres/trunk/debian/tests/upstream-tests3 2014-01-21 16:15:22 UTC (rev 27354)
@@ -0,0 +1,13 @@
+#!/bin/sh
+set -efu
+
+pys="$(py3versions -r 2> /dev/null)"
+
+cp debian/test-output $ADTTMP/expected-output
+cd "$ADTTMP"
+
+for py in $pys; do
+ echo "=== $py ==="
+ $py -m munkres > test-output
+ diff -u expected-output test-output
+done
Property changes on: packages/munkres/trunk/debian/tests/upstream-tests3
___________________________________________________________________
Added: svn:executable
+ *
More information about the Python-modules-commits
mailing list