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

Issue 172573004: Fix PRESUBMIT tests for committed files that are not .md or .html (Closed)

Created:
6 years, 10 months ago by Renato Mangini (chromium)
Modified:
6 years, 10 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Fix PRESUBMIT tests for committed files that are not .md or .html The extensions were being removed before testing, but since only md and html are considered in the clean urls, the path canonalizer redirects (302) to the URL with extension. But a 302 of a changed template file is considered a test fail. Examples that would fail the presubmit tests are images, CSSs, redirect.json, etc. BUG=343614 NOTRY=true R=kalman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252127

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed reviewer comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -3 lines) Patch
M chrome/common/extensions/PRESUBMIT.py View 1 2 chunks +9 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Renato Mangini (chromium)
Ben, this change is required to get Meggin's change on redirects.json, otherwise tests will fail: ...
6 years, 10 months ago (2014-02-19 21:13:43 UTC) #1
not at google - send to devlin
lgtm with 2 nits. you could use ternary there as well if you prefer. https://codereview.chromium.org/172573004/diff/1/chrome/common/extensions/PRESUBMIT.py ...
6 years, 10 months ago (2014-02-19 21:16:40 UTC) #2
Renato Mangini (chromium)
The CQ bit was checked by mangini@chromium.org
6 years, 10 months ago (2014-02-19 21:24:46 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mangini@chromium.org/172573004/60001
6 years, 10 months ago (2014-02-19 21:42:08 UTC) #4
Renato Mangini (chromium)
https://codereview.chromium.org/172573004/diff/1/chrome/common/extensions/PRESUBMIT.py File chrome/common/extensions/PRESUBMIT.py (right): https://codereview.chromium.org/172573004/diff/1/chrome/common/extensions/PRESUBMIT.py#newcode28 chrome/common/extensions/PRESUBMIT.py:28: EXTENSIONS_TO_REMOVE_FOR_CLEAN_URLS = ['.md', '.html'] On 2014/02/19 21:16:40, kalman wrote: ...
6 years, 10 months ago (2014-02-19 22:21:29 UTC) #5
Renato Mangini (chromium)
The CQ bit was unchecked by mangini@chromium.org
6 years, 10 months ago (2014-02-19 23:31:49 UTC) #6
Renato Mangini (chromium)
The CQ bit was checked by mangini@chromium.org
6 years, 10 months ago (2014-02-19 23:31:52 UTC) #7
Renato Mangini (chromium)
The CQ bit was unchecked by mangini@chromium.org
6 years, 10 months ago (2014-02-19 23:55:58 UTC) #8
Renato Mangini (chromium)
6 years, 10 months ago (2014-02-19 23:56:10 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 manually as r252127 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698