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

Issue 11567053: Fix test-running in --single-process mode. (Closed)

Created:
8 years ago by Jeffrey Yasskin
Modified:
8 years ago
Reviewers:
joth, jam, MAD, Paweł Hajdan Jr.
CC:
chromium-reviews
Visibility:
Public.

Description

Fix test-running in --single-process mode. * Avoid destroying the ContentRendererClient, since that asserts we're on the renderer's thread * Avoid asserting that all RenderProcessHosts are destroyed, since r170644 avoided destroying them in single-process mode. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=173543

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add comment #

Patch Set 3 : Improve comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -9 lines) Patch
M chrome/browser/profiles/profile_destroyer.cc View 1 2 1 chunk +9 lines, -3 lines 0 comments Download
M chrome/test/base/in_process_browser_test.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/test/base/in_process_browser_test.cc View 3 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Jeffrey Yasskin
I've tested with `xvfb-run gtk_out/Debug/browser_tests --single-process --gtest_filter=Declarative*` and `xvfb-run gtk_out/Debug/browser_tests --single_process --gtest_filter=Declarative*`, as well as ...
8 years ago (2012-12-14 22:43:19 UTC) #1
Jeffrey Yasskin
On 2012/12/14 22:43:19, Jeffrey Yasskin wrote: > Joth > suggested using "if (content::RenderProcessHost::run_renderer_in_process() > return;" ...
8 years ago (2012-12-14 22:48:07 UTC) #2
Paweł Hajdan Jr.
Running more than one test with --single_process is not supported.
8 years ago (2012-12-14 22:50:09 UTC) #3
Jeffrey Yasskin
On 2012/12/14 22:50:09, Paweł Hajdan Jr. wrote: > Running more than one test with --single_process ...
8 years ago (2012-12-14 22:53:31 UTC) #4
jam
lgtm
8 years ago (2012-12-14 22:59:33 UTC) #5
Paweł Hajdan Jr.
LGTM
8 years ago (2012-12-14 23:11:21 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jyasskin@chromium.org/11567053/1
8 years ago (2012-12-14 23:14:49 UTC) #7
MAD
https://chromiumcodereview.appspot.com/11567053/diff/1/chrome/browser/profiles/profile_destroyer.cc File chrome/browser/profiles/profile_destroyer.cc (right): https://chromiumcodereview.appspot.com/11567053/diff/1/chrome/browser/profiles/profile_destroyer.cc#newcode40 chrome/browser/profiles/profile_destroyer.cc:40: DCHECK(content::RenderProcessHost::run_renderer_in_process() || Can you please add a comment stating ...
8 years ago (2012-12-15 00:11:21 UTC) #8
Jeffrey Yasskin
https://chromiumcodereview.appspot.com/11567053/diff/1/chrome/browser/profiles/profile_destroyer.cc File chrome/browser/profiles/profile_destroyer.cc (right): https://chromiumcodereview.appspot.com/11567053/diff/1/chrome/browser/profiles/profile_destroyer.cc#newcode40 chrome/browser/profiles/profile_destroyer.cc:40: DCHECK(content::RenderProcessHost::run_renderer_in_process() || On 2012/12/15 00:11:22, MAD wrote: > Can ...
8 years ago (2012-12-15 00:31:31 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jyasskin@chromium.org/11567053/6002
8 years ago (2012-12-15 01:09:41 UTC) #10
MAD
https://chromiumcodereview.appspot.com/11567053/diff/1/chrome/browser/profiles/profile_destroyer.cc File chrome/browser/profiles/profile_destroyer.cc (right): https://chromiumcodereview.appspot.com/11567053/diff/1/chrome/browser/profiles/profile_destroyer.cc#newcode40 chrome/browser/profiles/profile_destroyer.cc:40: DCHECK(content::RenderProcessHost::run_renderer_in_process() || On 2012/12/15 00:31:31, Jeffrey Yasskin wrote: > ...
8 years ago (2012-12-15 04:05:30 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jyasskin@chromium.org/11567053/13001
8 years ago (2012-12-15 04:24:10 UTC) #12
Jeffrey Yasskin
On 2012/12/15 04:05:30, MAD wrote: > https://chromiumcodereview.appspot.com/11567053/diff/1/chrome/browser/profiles/profile_destroyer.cc > File chrome/browser/profiles/profile_destroyer.cc (right): > > https://chromiumcodereview.appspot.com/11567053/diff/1/chrome/browser/profiles/profile_destroyer.cc#newcode40 > ...
8 years ago (2012-12-15 04:24:13 UTC) #13
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests
8 years ago (2012-12-15 08:06:04 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jyasskin@chromium.org/11567053/13001
8 years ago (2012-12-15 08:52:31 UTC) #15
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests
8 years ago (2012-12-15 12:15:58 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jyasskin@chromium.org/11567053/13001
8 years ago (2012-12-17 18:26:02 UTC) #17
commit-bot: I haz the power
8 years ago (2012-12-17 21:57:22 UTC) #18
Message was sent while issue was closed.
Change committed as 173543

Powered by Google App Engine
This is Rietveld 408576698