[Buildbot-commits] buildbot ChangeLog,1.1011,1.1012

Brian Warner warner at users.sourceforge.net
Sun Dec 23 07:17:03 UTC 2007


Update of /cvsroot/buildbot/buildbot
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv4392

Modified Files:
	ChangeLog 
Log Message:
[project @ make Compile and Test count warnings, by regexp. Closes #74.]

Original author: warner at lothar.com
Date: 2007-12-23 07:12:34+00:00

Index: ChangeLog
===================================================================
RCS file: /cvsroot/buildbot/buildbot/ChangeLog,v
retrieving revision 1.1011
retrieving revision 1.1012
diff -u -d -r1.1011 -r1.1012
--- ChangeLog	22 Dec 2007 08:54:49 -0000	1.1011
+++ ChangeLog	23 Dec 2007 07:16:59 -0000	1.1012
@@ -1,5 +1,17 @@
 2007-12-22  Brian Warner  <warner at lothar.com>
 
+	* buildbot/steps/shell.py (WarningCountingShellCommand): utility
+	subclass which uses a regular expression to count warning messages
+	in the output. This also puts warning messages in a new 'warnings'
+	logfile, sets the 'warnings-count' build property with the total
+	count, and marks the step results as WARNINGS if there are any
+	warnings. Thanks to Roch Gadsdon (rochg) for the patch. Closes
+	#74.
+	(Compile): derive from WarningCountingShellCommand
+	(Test): same
+	* docs/buildbot.texinfo (Compile): document it
+	* buildbot/test/test_steps.py (Warnings): test it
+
 	* buildbot/slave/commands.py (ShellCommand._chunkForSend): don't
 	send more than 128kB of stdout/stderr/logfile text in a single PB
 	string, since PB has a hardwired limit of 640kB. This should fix





More information about the Commits mailing list