r2066 - in zodb/trunk/debian (changelog rules tests/all)
menesis-guest at users.alioth.debian.org
menesis-guest at users.alioth.debian.org
Fri Feb 5 21:34:27 UTC 2010
Date: Friday, February 5, 2010 @ 21:34:23
Author: menesis-guest
Revision: 2066
debian/tests/all: Fix to work on python2.6
Modified:
zodb/trunk/debian/changelog
zodb/trunk/debian/rules
zodb/trunk/debian/tests/all
Modified: zodb/trunk/debian/changelog
===================================================================
--- zodb/trunk/debian/changelog 2010-02-03 06:40:15 UTC (rev 2065)
+++ zodb/trunk/debian/changelog 2010-02-05 21:34:23 UTC (rev 2066)
@@ -1,3 +1,9 @@
+zodb (1:3.9.4-2) unstable; urgency=low
+
+ * debian/tests/all: Fix to work on python2.6
+
+ -- Gediminas Paulauskas <menesis at pov.lt> Fri, 05 Feb 2010 23:32:07 +0200
+
zodb (1:3.9.4-1) unstable; urgency=low
[ Brian Sutherland ]
Modified: zodb/trunk/debian/rules
===================================================================
--- zodb/trunk/debian/rules 2010-02-03 06:40:15 UTC (rev 2065)
+++ zodb/trunk/debian/rules 2010-02-05 21:34:23 UTC (rev 2066)
@@ -1,5 +1,7 @@
#!/usr/bin/make -f
+export PYDEB_SUGGESTS_EXTRAS=test
+
%:
dh --with pydeb --with python-central $@
Modified: zodb/trunk/debian/tests/all
===================================================================
--- zodb/trunk/debian/tests/all 2010-02-03 06:40:15 UTC (rev 2065)
+++ zodb/trunk/debian/tests/all 2010-02-05 21:34:23 UTC (rev 2066)
@@ -6,16 +6,13 @@
TMPFILE=$(mktemp)
cat > $TMPFILE << EOF
-import sys
from zope.testing import testrunner
+from distutils import sysconfig
-subs = (sys.version_info[0], sys.version_info[1])
-test_path = '/usr/lib/python%s.%s/site-packages/' % subs
+test_path = sysconfig.get_python_lib()
-
-
exitcode = testrunner.run([
- '--tests-pattern', '^f?tests$',
+ '-k',
'-m', '(persistent|BTrees|ZEO|ZODB)',
'--test-path', test_path
])
More information about the pkg-zope-developers
mailing list