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

Issue 1949353002: Add ability to create CSV of Stale Test Expectations with list of all bugs and filenames (Closed)

Created:
4 years, 7 months ago by nainar
Modified:
4 years, 7 months ago
Reviewers:
Dirk Pranke
CC:
blink-reviews, chromium-reviews, Dirk Pranke
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add ability to create CSV of Stale Test Expectations with list of all bugs and filenames This patch allows us to create a CSV of stale TestExpectations with list of all bugs and filenames. A TestExpectations entry is considered stale if the bug associated with it has not been updated in 90 days. This patch also adds a fix to make sure you are taking user input into consideration when checking how stale a bug is. The design doc for this is here: https://drive.google.com/open?id=1oH67jAzE70-59JLoJ9r0NG--Ew7KL3Qtdh52D0Ogj7k BUG=597797 Committed: https://crrev.com/41a56ae7ec64f52162ccd7a63f9f55596b84fae3 Cr-Commit-Position: refs/heads/master@{#393208}

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Total comments: 12

Patch Set 3 : #

Patch Set 4 : Remove test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -36 lines) Patch
M third_party/WebKit/Tools/Scripts/print-stale-test-expectations-entries View 1 2 1 chunk +29 lines, -36 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
nainar
Hi @dpranke! I have made a few changes to the print_stale_test_expectations_entries script so that it ...
4 years, 7 months ago (2016-05-05 05:02:50 UTC) #2
Dirk Pranke
https://codereview.chromium.org/1949353002/diff/1/third_party/WebKit/Tools/Scripts/print-stale-test-expectations-entries File third_party/WebKit/Tools/Scripts/print-stale-test-expectations-entries (right): https://codereview.chromium.org/1949353002/diff/1/third_party/WebKit/Tools/Scripts/print-stale-test-expectations-entries#newcode51 third_party/WebKit/Tools/Scripts/print-stale-test-expectations-entries:51: self._writer = csv.writer(open(filename, 'wb'), delimiter=',', quotechar='|', quoting=csv.QUOTE_MINIMAL, lineterminator='\n') using ...
4 years, 7 months ago (2016-05-06 01:51:55 UTC) #4
nainar
Made the changes you suggested, PTAL? Thanks! https://codereview.chromium.org/1949353002/diff/1/third_party/WebKit/Tools/Scripts/print-stale-test-expectations-entries File third_party/WebKit/Tools/Scripts/print-stale-test-expectations-entries (right): https://codereview.chromium.org/1949353002/diff/1/third_party/WebKit/Tools/Scripts/print-stale-test-expectations-entries#newcode51 third_party/WebKit/Tools/Scripts/print-stale-test-expectations-entries:51: self._writer = ...
4 years, 7 months ago (2016-05-11 13:24:36 UTC) #5
Dirk Pranke
https://codereview.chromium.org/1949353002/diff/20001/third_party/WebKit/Tools/Scripts/print-stale-test-expectations-entries File third_party/WebKit/Tools/Scripts/print-stale-test-expectations-entries (right): https://codereview.chromium.org/1949353002/diff/20001/third_party/WebKit/Tools/Scripts/print-stale-test-expectations-entries#newcode33 third_party/WebKit/Tools/Scripts/print-stale-test-expectations-entries:33: import csv this is no longer needed ... https://codereview.chromium.org/1949353002/diff/20001/third_party/WebKit/Tools/Scripts/print-stale-test-expectations-entries#newcode50 ...
4 years, 7 months ago (2016-05-12 02:11:15 UTC) #6
nainar
PTAL? Thanks! https://codereview.chromium.org/1949353002/diff/20001/third_party/WebKit/Tools/Scripts/print-stale-test-expectations-entries File third_party/WebKit/Tools/Scripts/print-stale-test-expectations-entries (right): https://codereview.chromium.org/1949353002/diff/20001/third_party/WebKit/Tools/Scripts/print-stale-test-expectations-entries#newcode33 third_party/WebKit/Tools/Scripts/print-stale-test-expectations-entries:33: import csv Removed. https://codereview.chromium.org/1949353002/diff/20001/third_party/WebKit/Tools/Scripts/print-stale-test-expectations-entries#newcode50 third_party/WebKit/Tools/Scripts/print-stale-test-expectations-entries:50: class StaleTestCSV(object): ...
4 years, 7 months ago (2016-05-12 04:58:48 UTC) #7
Dirk Pranke
lgtm, thanks!
4 years, 7 months ago (2016-05-12 05:02:04 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1949353002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1949353002/40001
4 years, 7 months ago (2016-05-12 05:27:44 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/181887)
4 years, 7 months ago (2016-05-12 05:33:34 UTC) #12
nainar
Thanks committing after removing the test output
4 years, 7 months ago (2016-05-12 05:41:39 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1949353002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1949353002/60001
4 years, 7 months ago (2016-05-12 05:41:54 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-12 08:27:47 UTC) #17
commit-bot: I haz the power
4 years, 7 months ago (2016-05-12 08:38:13 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/41a56ae7ec64f52162ccd7a63f9f55596b84fae3
Cr-Commit-Position: refs/heads/master@{#393208}

Powered by Google App Engine
This is Rietveld 408576698