Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2160)

Unified Diff: Tools/Scripts/webkitpy/tool/commands/rebaseline.py

Issue 638573002: [webkitpy] Merge ChromiumBuildBot class into the BuildBot class. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Tools/Scripts/webkitpy/tool/commands/rebaseline.py
diff --git a/Tools/Scripts/webkitpy/tool/commands/rebaseline.py b/Tools/Scripts/webkitpy/tool/commands/rebaseline.py
index 003d15b6577ece34994fe757822de34f311543ab..9d238f4fd3dc3ddf7a1f0b28a1d2f54fd2eedd30 100644
--- a/Tools/Scripts/webkitpy/tool/commands/rebaseline.py
+++ b/Tools/Scripts/webkitpy/tool/commands/rebaseline.py
@@ -186,7 +186,7 @@ class RebaselineTest(BaseInternalRebaselineCommand):
help_text = "Rebaseline a single test from a buildbot. Only intended for use by other webkit-patch commands."
def _results_url(self, builder_name):
- return self._tool.buildbot_for_builder_name(builder_name).builder_with_name(builder_name).latest_layout_test_results_url()
+ return self._tool.buildbot.builder_with_name(builder_name).latest_layout_test_results_url()
def _save_baseline(self, data, target_baseline, baseline_directory, test_name, suffix):
if not data:
@@ -322,7 +322,7 @@ class AbstractParallelRebaselineCommand(AbstractRebaseliningCommand):
def builder_data(self):
if not self._builder_data:
for builder_name in self._release_builders():
- builder = self._tool.buildbot_for_builder_name(builder_name).builder_with_name(builder_name)
+ builder = self._tool.buildbot.builder_with_name(builder_name)
self._builder_data[builder_name] = builder.latest_layout_test_results()
return self._builder_data
@@ -617,7 +617,7 @@ class Rebaseline(AbstractParallelRebaselineCommand):
return [self._builder_with_name(name) for name in chosen_names]
def _builder_with_name(self, name):
- return self._tool.buildbot_for_builder_name(name).builder_with_name(name)
+ return self._tool.buildbot.builder_with_name(name)
def execute(self, options, args, tool):
if not args:
« no previous file with comments | « Tools/Scripts/webkitpy/common/net/buildbot/chromiumbuildbot_unittest.py ('k') | Tools/Scripts/webkitpy/tool/mocktool.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698