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

Issue 9186033: Swap fallback order to search LayoutTests directory (Closed)

Created:
8 years, 11 months ago by Takashi Toyoshima
Modified:
8 years, 6 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Swap fallback order to search LayoutTests directory Some old trybots have invalid WebKit/LayoutTests directory which is not up to date. If the query function found the invalid old directory, all layout tests fail as a result. Also Some developers have an old LayoutTests directory because they follow a wiki instruction and disable syncing it for speed-up. Essentially, fallback order is not a problem, but reversed order must be safer than current order and save developers from in stuck of useless trouble. BUG=107836, 105104 TEST=browser_tests; ui_tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=129815

Patch Set 1 #

Patch Set 2 : update #

Patch Set 3 : rebase #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M content/common/content_paths.cc View 1 1 chunk +5 lines, -5 lines 2 comments Download

Messages

Total messages: 14 (0 generated)
Takashi Toyoshima
Hi This CL is a minor change of CL http://codereview.chromium.org/8641002 you guys reviewed. After the ...
8 years, 11 months ago (2012-01-12 08:43:06 UTC) #1
Paweł Hajdan Jr.
And how about the correct way? ;-) If the directory is stale and incorrect, how ...
8 years, 11 months ago (2012-01-12 09:54:53 UTC) #2
Takashi Toyoshima
OK, I'll ask maruel about this issue. Thanks
8 years, 11 months ago (2012-01-13 10:06:54 UTC) #3
Takashi Toyoshima
Close this CL because maruel@ removed invalid WebKit/LayoutTests directory in all try slaves.
8 years, 11 months ago (2012-01-18 02:05:43 UTC) #4
Takashi Toyoshima
Hi Paweł, I'd like to revive this CL. Actually, we already resolved this issue by ...
8 years, 9 months ago (2012-03-26 07:31:26 UTC) #5
Paweł Hajdan Jr.
I'm still pretty sure this should _not_ be done. Here's why: now those devs have ...
8 years, 9 months ago (2012-03-26 16:22:14 UTC) #6
Takashi Toyoshima
Your proposal is considerable, but looks a little overkill to me. Why you want to ...
8 years, 9 months ago (2012-03-28 07:11:22 UTC) #7
Paweł Hajdan Jr.
On 2012/03/28 07:11:22, toyoshim wrote: > Your proposal is considerable, but looks a little overkill ...
8 years, 8 months ago (2012-03-28 16:08:26 UTC) #8
Takashi Toyoshima
http://code.google.com/p/chromium/wiki/UsingNewGit#Initial_checkout This is the reason why I can't rely on third_party/WebKit/LayoutTests. The official instruction proposes ...
8 years, 8 months ago (2012-03-29 02:54:08 UTC) #9
jam
On 2012/03/29 02:54:08, toyoshim wrote: > http://code.google.com/p/chromium/wiki/UsingNewGit#Initial_checkout > > This is the reason why I ...
8 years, 8 months ago (2012-03-30 05:25:04 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/9186033/15002
8 years, 8 months ago (2012-03-30 05:40:45 UTC) #11
commit-bot: I haz the power
Change committed as 129815
8 years, 8 months ago (2012-03-30 09:45:44 UTC) #12
M-A Ruel
http://codereview.chromium.org/9186033/diff/15002/content/common/content_paths.cc File content/common/content_paths.cc (right): http://codereview.chromium.org/9186033/diff/15002/content/common/content_paths.cc#newcode45 content/common/content_paths.cc:45: cur = cur.Append(FILE_PATH_LITERAL("LayoutTests")); It's been 2 months and content/test/data/layout_tests/LayoutTests ...
8 years, 6 months ago (2012-06-20 19:42:58 UTC) #13
jabdelmalek
8 years, 6 months ago (2012-06-20 19:55:33 UTC) #14
http://codereview.chromium.org/9186033/diff/15002/content/common/content_path...
File content/common/content_paths.cc (right):

http://codereview.chromium.org/9186033/diff/15002/content/common/content_path...
content/common/content_paths.cc:45: cur =
cur.Append(FILE_PATH_LITERAL("LayoutTests"));
On 2012/06/20 19:42:59, Marc-Antoine Ruel wrote:
> It's been 2 months and content/test/data/layout_tests/LayoutTests still
doesn't
> exist. Is that expected?

It would be nice to check these into content/test/data instead of
chrome/test/data for consistency (since tests in content should get their data
from content/test/data). It just needs someone to update the DEPS file and use
content_test_data in path service. That is orthogonal from this change though.

Powered by Google App Engine
This is Rietveld 408576698