[Python-modules-commits] r21261 - in packages/gamera/trunk/debian (5 files)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Wed Apr 18 12:41:09 UTC 2012


    Date: Wednesday, April 18, 2012 @ 12:41:07
  Author: jwilk
Revision: 21261

Add DEP-8 tests.

Added:
  packages/gamera/trunk/debian/tests/
  packages/gamera/trunk/debian/tests/control
  packages/gamera/trunk/debian/tests/nosetests
  packages/gamera/trunk/debian/tests/nosetests-dbg
Modified:
  packages/gamera/trunk/debian/changelog

Modified: packages/gamera/trunk/debian/changelog
===================================================================
--- packages/gamera/trunk/debian/changelog	2012-04-18 12:39:06 UTC (rev 21260)
+++ packages/gamera/trunk/debian/changelog	2012-04-18 12:41:07 UTC (rev 21261)
@@ -22,8 +22,9 @@
   * Trap errors from pclose(3) in the test suite.
     (trap-errors-from-pclose.diff)
   * Build-depend on procps, as ps(1) is needed for the test suite.
+  * Add DEP-8 tests.
 
- -- Jakub Wilk <jwilk at debian.org>  Wed, 18 Apr 2012 14:38:21 +0200
+ -- Jakub Wilk <jwilk at debian.org>  Wed, 18 Apr 2012 14:39:56 +0200
 
 gamera (3.3.2-2) unstable; urgency=low
 

Added: packages/gamera/trunk/debian/tests/control
===================================================================
--- packages/gamera/trunk/debian/tests/control	                        (rev 0)
+++ packages/gamera/trunk/debian/tests/control	2012-04-18 12:41:07 UTC (rev 21261)
@@ -0,0 +1,13 @@
+Tests: nosetests
+Features: no-build-needed
+Restrictions: rw-build-tree
+Depends: python-nose,
+ python-gamera,
+ python-docutils, python-pygments
+
+Tests: nosetests-dbg
+Features: no-build-needed
+Restrictions: rw-build-tree
+Depends: python-nose, python-dbg,
+ python-gamera, python-gamera-dbg,
+ python-docutils, python-pygments

Added: packages/gamera/trunk/debian/tests/nosetests
===================================================================
--- packages/gamera/trunk/debian/tests/nosetests	                        (rev 0)
+++ packages/gamera/trunk/debian/tests/nosetests	2012-04-18 12:41:07 UTC (rev 21261)
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e
+export PYTHONWARNINGS=d
+cd tests/
+pyversions -i \
+| tr ' ' '\n' \
+| xargs -I {} env {} \
+  /usr/bin/nosetests --verbose

Added: packages/gamera/trunk/debian/tests/nosetests-dbg
===================================================================
--- packages/gamera/trunk/debian/tests/nosetests-dbg	                        (rev 0)
+++ packages/gamera/trunk/debian/tests/nosetests-dbg	2012-04-18 12:41:07 UTC (rev 21261)
@@ -0,0 +1,10 @@
+#!/bin/sh
+set -e
+export PYTHONWARNINGS=d
+cd tests/
+pyversions -i \
+| tr ' ' '\n' \
+| sed -e 's/$/-dbg/' \
+| (cd /usr/bin/ && xargs -n1 ls) \
+| xargs -I {} env {} \
+  /usr/bin/nosetests --verbose




More information about the Python-modules-commits mailing list