[Python-modules-commits] r23380 - in packages/python-tornado/trunk/debian (6 files)

jtaylor-guest at users.alioth.debian.org jtaylor-guest at users.alioth.debian.org
Wed Jan 23 22:32:55 UTC 2013


    Date: Wednesday, January 23, 2013 @ 22:32:54
  Author: jtaylor-guest
Revision: 23380

add autopkgtests

Added:
  packages/python-tornado/trunk/debian/tests/
  packages/python-tornado/trunk/debian/tests/control
  packages/python-tornado/trunk/debian/tests/python2
  packages/python-tornado/trunk/debian/tests/python3
Modified:
  packages/python-tornado/trunk/debian/changelog
  packages/python-tornado/trunk/debian/control

Modified: packages/python-tornado/trunk/debian/changelog
===================================================================
--- packages/python-tornado/trunk/debian/changelog	2013-01-23 22:32:48 UTC (rev 23379)
+++ packages/python-tornado/trunk/debian/changelog	2013-01-23 22:32:54 UTC (rev 23380)
@@ -2,6 +2,7 @@
 
   * New upstream release (Closes: #698566)
   * run python2 test during build (Closes: #663928)
+  * add autopkgtests
 
  -- Julian Taylor <jtaylor.debian at googlemail.com>  Wed, 23 Jan 2013 20:26:46 +0100
 

Modified: packages/python-tornado/trunk/debian/control
===================================================================
--- packages/python-tornado/trunk/debian/control	2013-01-23 22:32:48 UTC (rev 23379)
+++ packages/python-tornado/trunk/debian/control	2013-01-23 22:32:54 UTC (rev 23380)
@@ -14,6 +14,7 @@
 Homepage: http://www.tornadoweb.org/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-tornado/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-tornado/trunk/
+XS-Testsuite: autopkgtest
 
 Package: python-tornado
 Architecture: all

Added: packages/python-tornado/trunk/debian/tests/control
===================================================================
--- packages/python-tornado/trunk/debian/tests/control	                        (rev 0)
+++ packages/python-tornado/trunk/debian/tests/control	2013-01-23 22:32:54 UTC (rev 23380)
@@ -0,0 +1,6 @@
+Tests: python2
+Depends: python-tornado, python-all, python-twisted, python-pycurl
+
+#py3curl broken (https://github.com/facebook/tornado/issues/671)
+Tests: python3
+Depends: python3-tornado, python3-all

Added: packages/python-tornado/trunk/debian/tests/python2
===================================================================
--- packages/python-tornado/trunk/debian/tests/python2	                        (rev 0)
+++ packages/python-tornado/trunk/debian/tests/python2	2013-01-23 22:32:54 UTC (rev 23380)
@@ -0,0 +1,11 @@
+#!/bin/sh
+set -efu
+
+PYS=${PYS:-"$(pyversions -r 2>/dev/null)"}
+
+cd "$ADTTMP"
+
+for py in $PYS; do
+    echo "=== $py ==="
+    $py /usr/lib/$py/dist-packages/tornado/test/runtests.py 2>&1
+done


Property changes on: packages/python-tornado/trunk/debian/tests/python2
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/python-tornado/trunk/debian/tests/python3
===================================================================
--- packages/python-tornado/trunk/debian/tests/python3	                        (rev 0)
+++ packages/python-tornado/trunk/debian/tests/python3	2013-01-23 22:32:54 UTC (rev 23380)
@@ -0,0 +1,11 @@
+#!/bin/sh
+set -efu
+
+PYS=${PYS:-"$(py3versions -r 2>/dev/null)"}
+
+cd "$ADTTMP"
+
+for py in $PYS; do
+    echo "=== $py ==="
+    $py /usr/lib/python3/dist-packages/tornado/test/runtests.py 2>&1
+done


Property changes on: packages/python-tornado/trunk/debian/tests/python3
___________________________________________________________________
Added: svn:executable
   + *




More information about the Python-modules-commits mailing list