[Buildbot-commits] buildbot/buildbot/process base.py,1.52,1.53

Brian Warner warner at users.sourceforge.net
Wed May 18 00:51:05 UTC 2005


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

Modified Files:
	base.py 
Log Message:
Revision: arch at buildbot.sf.net--2004/buildbot--dev--0--patch-200
Creator:  Brian Warner <warner at monolith.lothar.com>

don't treat exception-raising Steps as SUCCESS

	* buildbot/status/client.py (PBListener): upcall more correctly
	* buildbot/process/base.py (Build.allStepsDone): if a step caused
	an exception mark the overall build with EXCEPTION, not SUCCESS


Index: base.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/process/base.py,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- base.py	17 May 2005 10:14:10 -0000	1.52
+++ base.py	18 May 2005 00:51:03 -0000	1.53
@@ -479,6 +479,9 @@
         elif self.result == WARNINGS:
             color = "orange"
             text = ["warnings"]
+        elif self.result == EXCEPTION:
+            color = "purple"
+            text = ["exception"]
         else:
             color = "green"
             text = ["build", "successful"]





More information about the Commits mailing list