| Index: buildbot/status/web/build.py
|
| ===================================================================
|
| --- buildbot/status/web/build.py (revision 8779)
|
| +++ buildbot/status/web/build.py (working copy)
|
| @@ -104,10 +104,15 @@
|
| data += "<ol>\n"
|
| for s in b.getSteps():
|
| name = s.getName()
|
| - data += (" <li><a href=\"%s\">%s</a> [%s]\n"
|
| + time_to_run = 0
|
| + (start, end) = s.getTimes()
|
| + if start and end:
|
| + time_to_run = end - start
|
| + data += (" <li><a href=\"%s\">%s</a> [%s] [%d seconds]\n"
|
| % (req.childLink("steps/%s" % urllib.quote(name)),
|
| name,
|
| - " ".join(s.getText())))
|
| + " ".join(s.getText()),
|
| + time_to_run))
|
| if s.getLogs():
|
| data += " <ol>\n"
|
| for logfile in s.getLogs():
|
|
|