Bug 61063

Summary: TestFailures page shows testers that don't have any failing tests, which isn't useful
Product: WebKit Reporter: Adam Roben (:aroben) <aroben>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ddkilzer, joepeck
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://build.webkit.org/TestFailures/
Attachments:
Description Flags
Make TestFailures show how many tests are failing on each tester, and omit testers with no failures ddkilzer: review+

Description Adam Roben (:aroben) 2011-05-18 08:49:55 PDT
The TestFailures page currently lists all testers, regardless of whether any tests are failing on them or not. We should only list testers that currently have failing tests.
Comment 1 Adam Roben (:aroben) 2011-05-18 08:50:18 PDT
<rdar://problem/9460533>
Comment 2 Adam Roben (:aroben) 2011-05-24 06:56:27 PDT
Created attachment 94605 [details]
Make TestFailures show how many tests are failing on each tester, and omit testers with no failures
Comment 3 David Kilzer (:ddkilzer) 2011-05-24 08:02:03 PDT
Comment on attachment 94605 [details]
Make TestFailures show how many tests are failing on each tester, and omit testers with no failures

View in context: https://bugs.webkit.org/attachment.cgi?id=94605&action=review

r=me

> Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:68
> +        getResource(self.buildbot.baseURL + 'json/builders/' + self.name, function(xhr) {

Nit: Seems like "function(xhr) {" should be indented at the same level as the method below.

> Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:90
> +        },
> +        function(xhr) {
> +            self._cache[cacheKey] = -1;
> +            callback(self._cache[cacheKey]);
> +        });

Nit: Is this code indented correctly?
Comment 4 Adam Roben (:aroben) 2011-05-24 08:06:41 PDT
Comment on attachment 94605 [details]
Make TestFailures show how many tests are failing on each tester, and omit testers with no failures

View in context: https://bugs.webkit.org/attachment.cgi?id=94605&action=review

>> Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:90
>> +        });
> 
> Nit: Is this code indented correctly?

This is the style I've used elsewhere for calling functions that take multiple callbacks. I'm not sure it's ideal, but it does match the rest of this code.
Comment 5 Adam Roben (:aroben) 2011-05-24 08:39:28 PDT
Committed r87148: <http://trac.webkit.org/changeset/87148>