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

Issue 2273813002: Fix Closure Compiler's compile.py error checking to match compile2.py. (Closed)

Created:
4 years, 4 months ago by doloffd
Modified:
4 years, 1 month ago
CC:
chromium-reviews, vitalyp+closure_chromium.org, jlklein+watch-closure_chromium.org, dbeam+watch-closure_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix Closure Compiler's compile.py error checking to match compile2.py. Without this change compile.py will fail when there are no errors Committed: https://crrev.com/8275e261f1d65af32665ea90585ded450b48dfb8 Cr-Commit-Position: refs/heads/master@{#413859}

Patch Set 1 #

Patch Set 2 : Changed error checking to use return code instead of regex checking #

Total comments: 1

Patch Set 3 : Fixed broken tests #

Patch Set 4 : Rebased #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -10 lines) Patch
M third_party/closure_compiler/compile.py View 1 2 3 1 chunk +3 lines, -4 lines 0 comments Download
M third_party/closure_compiler/compile2.py View 1 2 3 1 chunk +4 lines, -5 lines 1 comment Download
M third_party/closure_compiler/compiler_test.py View 1 2 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 26 (9 generated)
doloffd
PTAL. This change stops compile.py from printing an error message when there are no errors.
4 years, 4 months ago (2016-08-23 19:18:27 UTC) #3
Tyler Breisacher (Chromium)
Doing regex matches on the compiler output is error-prone. You may prefer the --summary_detail_level flag: ...
4 years, 4 months ago (2016-08-23 19:21:39 UTC) #4
doloffd
https://codereview.chromium.org/2273813002/diff/20001/third_party/closure_compiler/compile2.py File third_party/closure_compiler/compile2.py (right): https://codereview.chromium.org/2273813002/diff/20001/third_party/closure_compiler/compile2.py#newcode284 third_party/closure_compiler/compile2.py:284: if summary.group('error_count') != "0" and out_file: Why does this ...
4 years, 4 months ago (2016-08-23 21:01:16 UTC) #5
Tyler Breisacher (Chromium)
lgtm I'm not sure but it seems likely you're right
4 years, 4 months ago (2016-08-23 21:08:06 UTC) #6
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/2273813002/20001
4 years, 4 months ago (2016-08-23 21:17:13 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-23 22:18:54 UTC) #10
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/8275e261f1d65af32665ea90585ded450b48dfb8 Cr-Commit-Position: refs/heads/master@{#413859}
4 years, 4 months ago (2016-08-23 22:22:00 UTC) #12
Dan Beam
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/2273923002/ by dbeam@chromium.org. ...
4 years, 4 months ago (2016-08-23 22:38:34 UTC) #13
doloffd
I have fixed the tests that were broken when it landed before. The code will ...
4 years, 3 months ago (2016-09-01 23:52:41 UTC) #16
doloffd
Could one of you take another look at my change?
4 years, 3 months ago (2016-09-19 16:18:44 UTC) #18
Tyler Breisacher (Chromium)
On 2016/09/19 16:18:44, doloffd wrote: > Could one of you take another look at my ...
4 years, 3 months ago (2016-09-19 17:17:29 UTC) #19
Dan Beam
you don't really need to create a new issue (you can keep uploading to this ...
4 years, 3 months ago (2016-09-19 17:36:50 UTC) #20
doloffd
I have rebased and now all the diffs look correct
4 years, 3 months ago (2016-09-21 20:03:56 UTC) #21
Dan Beam
what bug is this trying to fix? is there a bug filed on crbug.com? if ...
4 years, 3 months ago (2016-09-21 21:13:48 UTC) #22
doloffd
On 2016/09/21 21:13:48, Dan Beam wrote: > what bug is this trying to fix? is ...
4 years, 3 months ago (2016-09-22 17:58:02 UTC) #23
Dan Beam
On 2016/09/22 17:58:02, doloffd wrote: > On 2016/09/21 21:13:48, Dan Beam wrote: > > what ...
4 years, 3 months ago (2016-09-22 19:55:28 UTC) #24
bhallam
4 years, 2 months ago (2016-10-22 00:17:09 UTC) #26
Hi!
I am taking over the CL for doloffd@.

Please look at https://codereview.chromium.org/2440123003

Thanks
bhallam@

Powered by Google App Engine
This is Rietveld 408576698