jhbuild r2255 - in trunk: . jhbuild/buildbot/status/web
- From: fpeters svn gnome org
- To: svn-commits-list gnome org
- Subject: jhbuild r2255 - in trunk: . jhbuild/buildbot/status/web
- Date: Fri, 15 Aug 2008 20:33:20 +0000 (UTC)
Author: fpeters
Date: Fri Aug 15 20:33:20 2008
New Revision: 2255
URL: http://svn.gnome.org/viewvc/jhbuild?rev=2255&view=rev
Log:
* jhbuild/buildbot/status/web/__init__.py: also include total of
"build went ok but checks failed" in slave summary.
Modified:
trunk/ChangeLog
trunk/jhbuild/buildbot/status/web/__init__.py
Modified: trunk/jhbuild/buildbot/status/web/__init__.py
==============================================================================
--- trunk/jhbuild/buildbot/status/web/__init__.py (original)
+++ trunk/jhbuild/buildbot/status/web/__init__.py Fri Aug 15 20:33:20 2008
@@ -83,7 +83,7 @@
slave_results = {}
for slave in parent.slaves:
- slave_results[slave] = [0, 0]
+ slave_results[slave] = [0, 0, 0]
for module in parent.modules:
result += '<tr>'
@@ -127,15 +127,20 @@
result += '<td class="%s">%s</td>' % (class_, lastbuild_label)
if lastbuild in ('failed', 'successful'):
- slave_results[slave][1] += 1
+ slave_results[slave][2] += 1
if lastbuild == 'successful':
slave_results[slave][0] += 1
+ slave_results[slave][1] += 1
+ if class_ == 'failedchecks':
+ slave_results[slave][1] += 1
result += '</tr>\n'
result += '</tbody>\n'
result += '<tfoot><tr class="totals"><td colspan="3"></td>'
for slave in parent.slaves:
- result += '<td>%s / %s</td>' % tuple(slave_results[slave])
+ result += '<td><span title="Successful builds">%s</span> '\
+ '<span title="(ignoring test suites failures)">(%s)</span> / '\
+ '<span title="Total">%s</span></td>' % tuple(slave_results[slave])
result += '</tr></tfoot>\n'
result += '</table>'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]