[Python-modules-commits] r28022 - in packages/guessit/trunk/debian/tests (control unittests3)

emillon-guest at users.alioth.debian.org emillon-guest at users.alioth.debian.org
Wed Mar 5 22:19:42 UTC 2014


    Date: Wednesday, March 5, 2014 @ 22:19:42
  Author: emillon-guest
Revision: 28022

guessit: add python3 to autopkgtests

Added:
  packages/guessit/trunk/debian/tests/unittests3
Modified:
  packages/guessit/trunk/debian/tests/control

Modified: packages/guessit/trunk/debian/tests/control
===================================================================
--- packages/guessit/trunk/debian/tests/control	2014-03-05 21:51:35 UTC (rev 28021)
+++ packages/guessit/trunk/debian/tests/control	2014-03-05 22:19:42 UTC (rev 28022)
@@ -1,3 +1,7 @@
 Tests: unittests
 Depends: @, python-yaml, python-nose
 Restrictions: allow-stderr
+
+Tests: unittests3
+Depends: @, python3-yaml, python3-nose
+Restrictions: allow-stderr

Added: packages/guessit/trunk/debian/tests/unittests3
===================================================================
--- packages/guessit/trunk/debian/tests/unittests3	                        (rev 0)
+++ packages/guessit/trunk/debian/tests/unittests3	2014-03-05 22:19:42 UTC (rev 28022)
@@ -0,0 +1,11 @@
+#!/bin/sh
+set -efu
+
+pys="$(py3versions -r 2> /dev/null)"
+
+cd "$ADTTMP"
+
+for py in $pys; do
+	echo "=== $py ==="
+	$py -m nose guessit.test 2>&1
+done


Property changes on: packages/guessit/trunk/debian/tests/unittests3
___________________________________________________________________
Added: svn:executable
   + *




More information about the Python-modules-commits mailing list