[Python-modules-commits] r22907 - in packages/pyxdg/trunk/debian (4 files)
takluyver-guest at users.alioth.debian.org
takluyver-guest at users.alioth.debian.org
Tue Nov 6 12:55:42 UTC 2012
Date: Tuesday, November 6, 2012 @ 12:55:41
Author: takluyver-guest
Revision: 22907
Add autopkgtest
Added:
packages/pyxdg/trunk/debian/tests/
packages/pyxdg/trunk/debian/tests/control
packages/pyxdg/trunk/debian/tests/upstream
Modified:
packages/pyxdg/trunk/debian/control
Modified: packages/pyxdg/trunk/debian/control
===================================================================
--- packages/pyxdg/trunk/debian/control 2012-11-06 11:12:18 UTC (rev 22906)
+++ packages/pyxdg/trunk/debian/control 2012-11-06 12:55:41 UTC (rev 22907)
@@ -13,6 +13,7 @@
Standards-Version: 3.9.3
X-Python-Version: >= 2.6
X-Python3-Version: >= 3.0
+XS-Testsuite: autopkgtest
Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyxdg/trunk/
Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyxdg/trunk/
Homepage: http://www.freedesktop.org/wiki/Software/pyxdg
Added: packages/pyxdg/trunk/debian/tests/control
===================================================================
--- packages/pyxdg/trunk/debian/tests/control (rev 0)
+++ packages/pyxdg/trunk/debian/tests/control 2012-11-06 12:55:41 UTC (rev 22907)
@@ -0,0 +1,3 @@
+Tests: upstream
+Depends: @, python-nose, python3-nose, shared-mime-info, hicolor-icon-theme
+
Added: packages/pyxdg/trunk/debian/tests/upstream
===================================================================
--- packages/pyxdg/trunk/debian/tests/upstream (rev 0)
+++ packages/pyxdg/trunk/debian/tests/upstream 2012-11-06 12:55:41 UTC (rev 22907)
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+PYTHONS="`pyversions -vd` `py3versions -vd`"
+
+cd test
+
+for PY in $PYTHONS; do
+ nosetests-$PY -v;
+done
More information about the Python-modules-commits
mailing list