r1948 - in zope.publisher/trunk/debian/tests (all)

kobold at users.alioth.debian.org kobold at users.alioth.debian.org
Tue Jan 5 20:30:54 UTC 2010


    Date: Tuesday, January 5, 2010 @ 20:30:53
  Author: kobold
Revision: 1948

updated debian/tests/all

Modified:
  zope.publisher/trunk/debian/tests/all

Modified: zope.publisher/trunk/debian/tests/all
===================================================================
--- zope.publisher/trunk/debian/tests/all	2010-01-05 20:30:08 UTC (rev 1947)
+++ zope.publisher/trunk/debian/tests/all	2010-01-05 20:30:53 UTC (rev 1948)
@@ -1,29 +1,2 @@
 #!/bin/bash
-
-set -e
-
-PYVERS=$(pyversions -vr debian/control)
-TMPFILE=$(mktemp)
-
-cat > $TMPFILE << EOF
-import sys
-from zope.testing import testrunner
-
-subs = (sys.version_info[0], sys.version_info[1])
-test_path = '/usr/lib/python%s.%s/site-packages/' % subs
-
-
-
-exitcode = testrunner.run([
-                '--tests-pattern', '^f?tests$',
-                '-s', 'zope.publisher',
-                '--test-path', test_path
-                ])
-sys.exit(exitcode)
-EOF
-
-for version in ${PYVERS}; do
-    python${version} ${TMPFILE}
-done
-
-rm $TMPFILE
+. /usr/share/python-zope.testing/test_helper




More information about the pkg-zope-developers mailing list