r1427 - in zope.testing/trunk/debian (changelog tests/all)

Brian Sutherland jinty-guest at alioth.debian.org
Wed Jun 3 14:19:56 UTC 2009


    Date: Wednesday, June 3, 2009 @ 14:19:55
  Author: jinty-guest
Revision: 1427

Ignore spurious and not so spurious messages printed in stderr of
test script

Modified:
  zope.testing/trunk/debian/changelog
  zope.testing/trunk/debian/tests/all

Modified: zope.testing/trunk/debian/changelog
===================================================================
--- zope.testing/trunk/debian/changelog	2009-06-02 23:02:46 UTC (rev 1426)
+++ zope.testing/trunk/debian/changelog	2009-06-03 14:19:55 UTC (rev 1427)
@@ -1,3 +1,10 @@
+zope.testing (3.7.4-2) unstable; urgency=low
+
+  * Ignore spurious and not so spurious messages printed in stderr of
+    test script
+
+ -- Brian Sutherland <brian at vanguardistas.net>  Tue, 02 Jun 2009 23:00:16 +0200
+
 zope.testing (3.7.4-1) unstable; urgency=low
 
   * Change source package name.

Modified: zope.testing/trunk/debian/tests/all
===================================================================
--- zope.testing/trunk/debian/tests/all	2009-06-02 23:02:46 UTC (rev 1426)
+++ zope.testing/trunk/debian/tests/all	2009-06-03 14:19:55 UTC (rev 1427)
@@ -23,5 +23,11 @@
 EOF
 
 for version in ${PYVERS}; do
-    python${version} ${TMPFILE}
+    stderr=$(mktemp)
+    python${version} ${TMPFILE} 2>${stderr}
+    # ignoring 'Not printing coverage data for' - spurious failure on python2.4
+    cat ${stderr} | grep -v 'Not printing coverage data for' | grep -v 'A message on stderr.  Please ignore (expected in test output).' >&2
+    rm ${stderr}
 done
+
+rm $TMPFILE




More information about the pkg-zope-commits mailing list