Changeset 88581 in webkit
- Timestamp:
- Jun 10, 2011 5:38:26 PM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r88576 r88581 1 2011-06-10 Adam Barth <abarth@webkit.org> 2 3 Reviewed by James Robinson. 4 5 When sheriffbot reports failures on IRC instead of saying "(and more..)" it should say the number of tests that are failing 6 https://bugs.webkit.org/show_bug.cgi?id=62489 7 8 * Scripts/webkitpy/tool/bot/sheriff.py: 9 * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py: 10 1 11 2011-06-10 Tony Chang <tony@chromium.org> 2 12 -
trunk/Tools/Scripts/webkitpy/tool/bot/sheriff.py
r87107 r88581 58 58 test_list_limit = 5 59 59 irc_message = "New failures: %s" % ", ".join(sorted(failing_tests)[:test_list_limit]) 60 if len(failing_tests) > test_list_limit: 61 irc_message += " (and more...)" 60 failure_count = len(failing_tests) 61 if failure_count > test_list_limit: 62 irc_message += " (and %s more...)" % (failure_count - test_list_limit) 62 63 self._tool.irc().post(irc_message) 63 64 -
trunk/Tools/Scripts/webkitpy/tool/commands/sheriffbot_unittest.py
r87107 r88581 59 59 "next_work_item": "", 60 60 "process_work_item": """MOCK: irc.post: abarth, darin, eseidel: http://trac.webkit.org/changeset/29837 might have broken Builder1 61 MOCK: irc.post: New failures: test1, test2, test3, test4, test5 (and more...)61 MOCK: irc.post: New failures: test1, test2, test3, test4, test5 (and 2 more...) 62 62 """, 63 63 "handle_unexpected_error": "Mock error message\n",
Note: See TracChangeset
for help on using the changeset viewer.