• aroben@apple.com's avatar
    Move ExtractTestResults[AndLeaks]'s summarizing code back from commandComplete() to finished() · aecd51a2
    aroben@apple.com authored
    commandComplete() is never called for MasterShellCommands like ExtractTestResults[AndLeaks].
    (Unfortunately the buildbot documentation does not make this clear.) finished() is the only
    hook we have, so we have to do our work there. I added a new addCustomURLs method which can
    be overridden by subclasses to provide extra URLs before we call up to the base class (after
    which adding more URLs is no longer possible).
    
    Really hopefully fixes <http://webkit.org/b/56032> Leaks viewer should be linked from leaks
    bot results page
    
    Reviewed by John Sullivan.
    
    * BuildSlaveSupport/build.webkit.org-config/master.cfg:
    (ExtractTestResults.addCustomURLs): Moved code to add the "view results" URL here...
    (ExtractTestResults.finished): ...from here. This replaces commandComplete, since that
    method is never called for MasterShellCommands.
    (ExtractTestResultsAndLeaks.addCustomURLs): Replaced commandComplete (which is never called)
    with this method (which is).
    
    git-svn-id: svn://svn.chromium.org/blink/trunk@83170 bbb929c8-8fbe-4397-9dbb-9b2b20218538
    aecd51a2
ChangeLog 252 KB