[Webkit-unassigned] [Bug 89299] Fix RebaselineTest python to work with webkit.org builders

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 16 22:42:40 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=89299





--- Comment #1 from Adam Barth <abarth at webkit.org>  2012-06-16 22:42:40 PST ---
Yeah.  I think this should be relatively easy to fix.

The way this works is that the front-end calls rebaselineall in gardeningserver.py via HTTP.  That process the HTTP request and calls "webkit-patch rebaseline-test".  If you get rebaseline-test working with the Apple ports, the rest of the machinery should fall into place.

rebaseline-test is in rebaseline.py.  My guess is that this command uses the accumulated results directory too, so you'll need to teach it how to find the most recent results directory, similar to what you did in the front-end:

    def _results_url(self, builder_name):
        # FIXME: Generalize this command to work with non-build.chromium.org builders.
        builder = self._tool.chromium_buildbot().builder_with_name(builder_name)
        return builder.accumulated_results_url()

Rather than getting the chromium_buildbot off the tool, you probably want something like the following:

self._tool.buildbot.builder_with_name(builder_name).latest_cached_build().results_url()

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list