[Buildbot-commits] buildbot/buildbot/process step_twisted.py,1.61,1.62

Brian Warner warner at users.sourceforge.net
Mon Nov 8 09:50:19 UTC 2004


Update of /cvsroot/buildbot/buildbot/buildbot/process
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24463/buildbot/process

Modified Files:
	step_twisted.py 
Log Message:
(Trial.createSummary): survive when there are no test failures to be parsed


Index: step_twisted.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/process/step_twisted.py,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- step_twisted.py	19 Oct 2004 18:41:40 -0000	1.61
+++ step_twisted.py	8 Nov 2004 09:50:17 -0000	1.62
@@ -524,6 +524,10 @@
 # SKIPPED: testRETR (twisted.test.test_ftp.TestFTPServer)
 # FAILURE: testBatchFile (twisted.conch.test.test_sftp.TestOurServerBatchFile)
                         r = re.search(r'^([^:]+): (\w+) \(([\w\.]+)\)', line)
+                        if not r:
+                            # TODO: cleanup, if there are no problems,
+                            # we hit here
+                            continue
                         result, name, case = r.groups()
                         testname = tuple(case.split(".") + [name])
                         results = {'SKIPPED': SKIPPED,





More information about the Commits mailing list