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

Issue 10408081: Provide android specific implementation for MultiProcessTest::SpawnChildImpl (Closed)

Created:
8 years, 7 months ago by nilesh
Modified:
8 years, 6 months ago
CC:
chromium-reviews, erikwright (departed), brettw-cc_chromium.org
Visibility:
Public.

Description

Provide android specific implementation for MultiProcessTest::SpawnChildImpl When tests are run in an APK, we do not have an executable to exec. We resort to forking and executing the test method directly. BUG=125059 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=139342

Patch Set 1 #

Patch Set 2 : Exit the child process with the return value from test function. #

Total comments: 1

Patch Set 3 : Rebase #

Total comments: 6

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -0 lines) Patch
M base/base.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M base/test/multiprocess_test.cc View 2 chunks +2 lines, -0 lines 0 comments Download
A base/test/multiprocess_test_android.cc View 1 2 3 1 chunk +38 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
nilesh
8 years, 7 months ago (2012-05-23 01:51:22 UTC) #1
Yaron
http://codereview.chromium.org/10408081/diff/4001/base/test/multiprocess_test.cc File base/test/multiprocess_test.cc (right): http://codereview.chromium.org/10408081/diff/4001/base/test/multiprocess_test.cc#newcode39 base/test/multiprocess_test.cc:39: #if !defined(OS_ANDROID) I forget... isn't this style frowned upon ...
8 years, 7 months ago (2012-05-23 16:42:01 UTC) #2
nilesh
On 2012/05/23 16:42:01, Yaron wrote: > http://codereview.chromium.org/10408081/diff/4001/base/test/multiprocess_test.cc > File base/test/multiprocess_test.cc (right): > > http://codereview.chromium.org/10408081/diff/4001/base/test/multiprocess_test.cc#newcode39 > ...
8 years, 7 months ago (2012-05-24 00:48:54 UTC) #3
Yaron
ok, lg but you need a proper OWNER
8 years, 7 months ago (2012-05-24 01:09:11 UTC) #4
nilesh
8 years, 7 months ago (2012-05-24 06:59:04 UTC) #5
nilesh
Hi Mark, Can you please take a look. Thanks.
8 years, 7 months ago (2012-05-25 16:48:05 UTC) #6
Mark Mentovai
LGTM for base OWNERS approval.
8 years, 7 months ago (2012-05-25 16:48:58 UTC) #7
Paweł Hajdan Jr.
I'm not sure if that's the cleanest thing we can do. Do we ever use ...
8 years, 7 months ago (2012-05-25 19:00:35 UTC) #8
nilesh
On 2012/05/25 19:00:35, Paweł Hajdan Jr. wrote: > I'm not sure if that's the cleanest ...
8 years, 7 months ago (2012-05-25 19:33:14 UTC) #9
Paweł Hajdan Jr.
On 2012/05/25 19:33:14, nileshagrawal1 wrote: > On 2012/05/25 19:00:35, Paweł Hajdan Jr. wrote: > > ...
8 years, 7 months ago (2012-05-25 19:51:08 UTC) #10
nilesh
On 2012/05/25 19:51:08, Paweł Hajdan Jr. wrote: > On 2012/05/25 19:33:14, nileshagrawal1 wrote: > > ...
8 years, 7 months ago (2012-05-25 20:51:05 UTC) #11
Paweł Hajdan Jr.
On 2012/05/25 20:51:05, nileshagrawal1 wrote: > Well, to get debug_on_start to work on other platforms, ...
8 years, 7 months ago (2012-05-28 07:34:38 UTC) #12
nilesh
On 2012/05/28 07:34:38, Paweł Hajdan Jr. wrote: > On 2012/05/25 20:51:05, nileshagrawal1 wrote: > > ...
8 years, 6 months ago (2012-05-29 05:52:39 UTC) #13
Paweł Hajdan Jr.
LGTM with nits. Sorry I forgot we don't have fork() on Windows. The duplication would ...
8 years, 6 months ago (2012-05-29 08:32:12 UTC) #14
nilesh
Thanks for the review. http://codereview.chromium.org/10408081/diff/11002/base/test/multiprocess_test_android.cc File base/test/multiprocess_test_android.cc (right): http://codereview.chromium.org/10408081/diff/11002/base/test/multiprocess_test_android.cc#newcode30 base/test/multiprocess_test_android.cc:30: // Child process On 2012/05/29 ...
8 years, 6 months ago (2012-05-29 16:55:03 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nileshagrawal@chromium.org/10408081/20001
8 years, 6 months ago (2012-05-29 16:59:26 UTC) #16
commit-bot: I haz the power
8 years, 6 months ago (2012-05-29 19:36:35 UTC) #17
Change committed as 139342

Powered by Google App Engine
This is Rietveld 408576698