Changeset 669

Show
Ignore:
Timestamp:
07/24/08 07:07:35 (4 months ago)
Author:
dustin@v.igoro.us
Message:

#228:fix-summary-with-no-values.patch
Correctly display the summary, even with no test results (thanks to Pike)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • buildbot/status/web/waterfall.py

    r663 r669  
    112112        url = path_to_build(req, b) 
    113113        text = b.getText() 
    114         tests_failed = b.getSummaryStatistic('failed', operator.add
     114        tests_failed = b.getSummaryStatistic('failed', operator.add, 0
    115115        if tests_failed: text.extend(["Failed tests: %d" % tests_failed]) 
    116116        # TODO: maybe add logs?