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

Issue 2445963002: Remove all all-PASS testharness baselines after rebaselining. (Closed)

Created:
4 years, 1 month ago by qyearsley
Modified:
4 years, 1 month ago
Reviewers:
Dirk Pranke, wkorman
CC:
blink-reviews, chromium-reviews, Dirk Pranke
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove all all-PASS testharness baselines after rebaselining. In http://crrev.com/2409903002 I added logic to webkit-patch rebaseline-test-internal so that when rebaselining particular tests, all-PASS testharness.js test baselines would be removed. Later, I discovered that if a generic non-all-PASS baseline already exists, it won't be removed when rebaselining, so that approach doesn't quite solve the problem. In general, we don't want any all-PASS baselines for testharness.js, so this CL takes a different approach: After rebaselining, enumerate all relevant baselines, and remove any all-PASS testharness.js baselines. Removing such a baseline should never be incorrect. BUG=654030 Committed: https://crrev.com/8a567b64e5bbed2d0f2c0cfdbce6e291b5d669ad Cr-Commit-Position: refs/heads/master@{#427470}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Clarify returns section of docstring, sort baseline paths #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -53 lines) Patch
M third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py View 1 4 chunks +69 lines, -20 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py View 1 2 chunks +33 lines, -33 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
qyearsley
4 years, 1 month ago (2016-10-24 23:12:26 UTC) #2
wkorman
lgtm https://codereview.chromium.org/2445963002/diff/1/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/2445963002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py#newcode529 third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py:529: new all-PASS baselines may be downloaded, but they ...
4 years, 1 month ago (2016-10-25 00:14:20 UTC) #5
qyearsley
https://codereview.chromium.org/2445963002/diff/1/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/2445963002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py#newcode529 third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py:529: new all-PASS baselines may be downloaded, but they should ...
4 years, 1 month ago (2016-10-25 00:33:04 UTC) #6
wkorman
https://codereview.chromium.org/2445963002/diff/1/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/2445963002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py#newcode552 third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py:552: A list of absolute paths to baseline files. On ...
4 years, 1 month ago (2016-10-25 00:37:17 UTC) #7
qyearsley
https://codereview.chromium.org/2445963002/diff/1/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/2445963002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py#newcode552 third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py:552: A list of absolute paths to baseline files. On ...
4 years, 1 month ago (2016-10-25 20:13:34 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/2445963002/20001
4 years, 1 month ago (2016-10-25 20:14:11 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-10-25 21:14:06 UTC) #14
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/8a567b64e5bbed2d0f2c0cfdbce6e291b5d669ad Cr-Commit-Position: refs/heads/master@{#427470}
4 years, 1 month ago (2016-10-25 21:18:08 UTC) #16
Dirk Pranke
4 years, 1 month ago (2016-10-26 17:56:39 UTC) #17
Message was sent while issue was closed.
lgtm also

Powered by Google App Engine
This is Rietveld 408576698