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

Issue 2776543003: Change rebaseline-test-internal to take port name option. (Closed)

Created:
3 years, 9 months ago by qyearsley
Modified:
3 years, 9 months ago
Reviewers:
wkorman
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Change rebaseline-test-internal to take port name option. This CL changes `webkit-patch rebaseline-test-internal` to take a port name in addition to a builder name. The builder name determines where to pull the result from, and the port name determines what port the new baseline belongs to. The purpose of this change is to make it so that that baselines can be downloaded from a builder that does not necessarily correspond to the port that the baseline is for (see point 2 in http://crbug.com/673966#c3). In addition, this CL also changes some related things for consistency: - webkit-patch copy-existing-baselines-internal takes a port instead of builder name; previously it had just used the builder name to get a Port. - The order of the arguments passed to these functions is changed and made more consistent. - The formatting of the command arguments in the tests is cleaned up. - The MockLineRemovingExecutive in rebaseline_unittest is changed. BUG=673966 Review-Url: https://codereview.chromium.org/2776543003 Cr-Commit-Position: refs/heads/master@{#459573} Committed: https://chromium.googlesource.com/chromium/src/+/3c6862c764ace98c3075f88f862f888bad739494

Patch Set 1 #

Patch Set 2 : Change argument order, finish docstring #

Total comments: 2

Patch Set 3 : Add example port name and builder in help strings #

Unified diffs Side-by-side diffs Delta from patch set Stats (+393 lines, -128 lines) Patch
M third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/auto_rebaseline_unittest.py View 1 2 chunks +54 lines, -17 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/optimize_baselines.py View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py View 1 2 14 chunks +68 lines, -28 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl_unittest.py View 1 1 chunk +19 lines, -5 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py View 1 22 chunks +250 lines, -77 lines 0 comments Download

Messages

Total messages: 16 (11 generated)
qyearsley
3 years, 9 months ago (2017-03-24 17:19:05 UTC) #5
wkorman
lgtm https://codereview.chromium.org/2776543003/diff/20001/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py File third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py (right): https://codereview.chromium.org/2776543003/diff/20001/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py#newcode70 third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py:70: 'If not given, this is determined based on ...
3 years, 9 months ago (2017-03-24 18:56:05 UTC) #9
qyearsley
https://codereview.chromium.org/2776543003/diff/20001/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py File third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py (right): https://codereview.chromium.org/2776543003/diff/20001/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py#newcode70 third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py:70: 'If not given, this is determined based on --builder.')) ...
3 years, 9 months ago (2017-03-24 21:10:59 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2776543003/40001
3 years, 9 months ago (2017-03-24 21:11:45 UTC) #13
commit-bot: I haz the power
3 years, 9 months ago (2017-03-24 22:18:04 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/3c6862c764ace98c3075f88f862f...

Powered by Google App Engine
This is Rietveld 408576698