[Buildbot-commits] buildbot/buildbot/steps python_twisted.py, 1.4, 1.5
Brian Warner
warner at users.sourceforge.net
Sat Mar 22 19:45:35 UTC 2008
Update of /cvsroot/buildbot/buildbot/buildbot/steps
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv28682/buildbot/steps
Modified Files:
python_twisted.py
Log Message:
[project @ python_twisted.py: count doctests too. Closes #196.]
Original author: warner at lothar.com
Date: 2008-03-22 19:35:16+00:00
Index: python_twisted.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/steps/python_twisted.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- python_twisted.py 18 Jun 2007 02:52:49 -0000 1.4
+++ python_twisted.py 22 Mar 2008 19:45:33 -0000 1.5
@@ -135,7 +135,7 @@
class TrialTestCaseCounter(LogLineObserver):
- _line_re = re.compile(r'^([\w\.]+) \.\.\. \[([^\]]+)\]$')
+ _line_re = re.compile(r'^(?:Doctest: )?([\w\.]+) \.\.\. \[([^\]]+)\]$')
numTests = 0
finished = False
@@ -146,6 +146,8 @@
# 2.1.0: buildbot.test.test_runner.Create.testSlave ... [OK]
# 2.4.0: buildbot.test.test_runner.Create.testSlave ... [OK]
# Let's just handle the most recent version, since it's the easiest.
+ # Note that doctests create lines line this:
+ # Doctest: viff.field.GF ... [OK]
if self.finished:
return
More information about the Commits
mailing list