Changeset 87378 in webkit
- Timestamp:
- May 26, 2011 5:48:19 AM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js
r87299 r87378 126 126 127 127 var failureCount = layoutTestStep.results[1].reduce(function(sum, outputLine) { 128 var match = /^(\d+) test case s/.exec(outputLine);128 var match = /^(\d+) test case/.exec(outputLine); 129 129 if (!match) 130 130 return sum; -
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js
r87299 r87378 105 105 item.appendChild(document.createTextNode(' (too many failures/crashes/timeouts)')); 106 106 else 107 item.appendChild(document.createTextNode(' (' + buildInfo.failureCount + ' failing test s)'));107 item.appendChild(document.createTextNode(' (' + buildInfo.failureCount + ' failing test' + (buildInfo.failureCount > 1 ? 's' : '') + ')')); 108 108 list.appendChild(item); 109 109 }); -
trunk/Tools/ChangeLog
r87367 r87378 1 2011-05-25 Adam Roben <aroben@apple.com> 2 3 Correctly detect cases where only a single test failed/crashed/timed out 4 5 Fixes <http://webkit.org/b/61463> TestFailures page doesn't show testers with only a single 6 failing test 7 8 Reviewed by Darin Adler. 9 10 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js: 11 (Builder.prototype.getNumberOfFailingTests): Don't require "test cases" to be plural. It 12 will be singular when only a single test fails/crashes/times out. 13 14 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js: 15 (ViewController.prototype._displayTesters): Only pluralize "test" when more than one test 16 failed/crashed/timed out. 17 1 18 2011-05-26 Tom Hudson <tomhudson@google.com> 2 19
Note: See TracChangeset
for help on using the changeset viewer.