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

Issue 2911543002: Make check_gn_headers.py more robust on the bots (Closed)

Created:
3 years, 7 months ago by wychen
Modified:
3 years, 6 months ago
Reviewers:
Dirk Pranke
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Make check_gn_headers.py more robust on the bots Check whether the build is dirty first, and abort when dirty. This can be skipped by using option --skip-dirty-check. Dump JSON output on error, so that the result is still valid. Filter out generated headers more aggressively. Report non-existing headers in JSON as well. BUG=725877 Review-Url: https://codereview.chromium.org/2911543002 Cr-Commit-Position: refs/heads/master@{#476895} Committed: https://chromium.googlesource.com/chromium/src/+/0735fd76fd89d25935fd27d1d985ca0f3457a18a

Patch Set 1 #

Patch Set 2 : format #

Patch Set 3 : report non-existing in json as well #

Patch Set 4 : filter out files in OUT_DIR #

Patch Set 5 : filter out* as well #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -14 lines) Patch
M build/check_gn_headers.py View 1 2 3 4 6 chunks +45 lines, -12 lines 2 comments Download
M build/check_gn_headers_unittest.py View 1 2 3 3 chunks +4 lines, -2 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 12 (7 generated)
wychen
PTAL. Per https://crbug.com/725877#c14, I'd like to gather more data, specifically 'Found non-existing files in ninja ...
3 years, 7 months ago (2017-05-25 23:05:25 UTC) #2
Dirk Pranke
lgtm https://codereview.chromium.org/2911543002/diff/100001/build/check_gn_headers.py File build/check_gn_headers.py (right): https://codereview.chromium.org/2911543002/diff/100001/build/check_gn_headers.py#newcode226 build/check_gn_headers.py:226: PrintError(d_err) I'd pass the parser into PrintError; relying ...
3 years, 6 months ago (2017-06-03 01:16:37 UTC) #6
wychen
Thanks for your review! https://codereview.chromium.org/2911543002/diff/100001/build/check_gn_headers.py File build/check_gn_headers.py (right): https://codereview.chromium.org/2911543002/diff/100001/build/check_gn_headers.py#newcode226 build/check_gn_headers.py:226: PrintError(d_err) On 2017/06/03 01:16:37, Dirk ...
3 years, 6 months ago (2017-06-03 07:37:37 UTC) #7
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/2911543002/100001
3 years, 6 months ago (2017-06-03 07:40:04 UTC) #9
commit-bot: I haz the power
3 years, 6 months ago (2017-06-03 07:53:44 UTC) #12
Message was sent while issue was closed.
Committed patchset #5 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/0735fd76fd89d25935fd27d1d985...

Powered by Google App Engine
This is Rietveld 408576698