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

Issue 728783003: Add infrastructure to run tests on android. (Closed)

Created:
6 years, 1 month ago by qsr
Modified:
6 years ago
Reviewers:
viettrungluu
CC:
mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Project:
mojo
Visibility:
Public.

Description

Add infrastructure to run tests on android. This CL have the following changes: - Build mojo_system_unittests_apk on android - Fix tests to run on android - Fix multi-process test to run on android - Fix mojob.py to run tests on android - Fix mojo/tools/test_runner.py to run tests on android R=viettrungluu@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/f4583a88c6184faac8eb4035b5e8948b2e3b3240

Patch Set 1 #

Total comments: 5

Patch Set 2 : Add tests #

Patch Set 3 : Do not introduce IsInitialzed() #

Total comments: 4

Patch Set 4 : Follow review #

Total comments: 12

Patch Set 5 : Follow review #

Patch Set 6 : Follow review #

Patch Set 7 : Use file_hash #

Total comments: 6

Patch Set 8 : Follow review #

Total comments: 13

Patch Set 9 : Follow review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+229 lines, -74 lines) Patch
M mojo/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -0 lines 0 comments Download
M mojo/edk/embedder/embedder_unittest.cc View 1 2 3 4 5 6 7 1 chunk +7 lines, -1 line 0 comments Download
M mojo/edk/system/BUILD.gn View 1 2 3 4 5 6 7 3 chunks +20 lines, -0 lines 0 comments Download
M mojo/edk/system/core_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/edk/system/message_pipe_perftest.cc View 1 2 3 4 5 6 7 1 chunk +7 lines, -1 line 0 comments Download
M mojo/edk/system/multiprocess_message_pipe_unittest.cc View 1 2 3 4 5 6 7 4 chunks +18 lines, -4 lines 0 comments Download
M mojo/edk/system/run_all_unittests.cc View 1 chunk +6 lines, -2 lines 0 comments Download
M mojo/edk/test/multiprocess_test_helper_unittest.cc View 1 2 3 4 5 6 7 5 chunks +42 lines, -6 lines 0 comments Download
A mojo/tools/data/android_unittests View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M mojo/tools/mojob.py View 1 2 3 4 5 6 7 8 3 chunks +11 lines, -4 lines 0 comments Download
A mojo/tools/mopy/file_hash.py View 1 2 3 4 5 6 7 8 1 chunk +26 lines, -0 lines 0 comments Download
A mojo/tools/mopy/memoize.py View 1 2 3 4 5 1 chunk +18 lines, -0 lines 0 comments Download
M mojo/tools/mopy/transitive_hash.py View 1 2 3 4 5 6 7 8 3 chunks +5 lines, -30 lines 0 comments Download
M mojo/tools/test_runner.py View 1 2 3 4 5 6 7 8 6 chunks +57 lines, -25 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
qsr
6 years, 1 month ago (2014-11-14 15:44:47 UTC) #1
viettrungluu
Sorry, I'm not going to approve any changes to the scripts (except perhaps the most ...
6 years, 1 month ago (2014-11-14 16:36:32 UTC) #2
qsr
On 2014/11/14 16:36:32, viettrungluu wrote: > Sorry, I'm not going to approve any changes to ...
6 years, 1 month ago (2014-11-14 16:55:09 UTC) #3
qsr
https://codereview.chromium.org/728783003/diff/1/mojo/edk/embedder/test_embedder.h File mojo/edk/embedder/test_embedder.h (right): https://codereview.chromium.org/728783003/diff/1/mojo/edk/embedder/test_embedder.h#newcode19 mojo/edk/embedder/test_embedder.h:19: MOJO_SYSTEM_IMPL_EXPORT bool IsInitialized(); On 2014/11/14 16:36:32, viettrungluu wrote: > ...
6 years, 1 month ago (2014-11-14 17:02:33 UTC) #4
qsr
I added a test that check what is the list of command run for given ...
6 years, 1 month ago (2014-11-17 15:39:27 UTC) #5
viettrungluu
On 2014/11/17 15:39:27, qsr wrote: > I added a test that check what is the ...
6 years, 1 month ago (2014-11-17 23:56:39 UTC) #6
viettrungluu
https://codereview.chromium.org/728783003/diff/40001/mojo/edk/embedder/test_embedder.h File mojo/edk/embedder/test_embedder.h (right): https://codereview.chromium.org/728783003/diff/40001/mojo/edk/embedder/test_embedder.h#newcode19 mojo/edk/embedder/test_embedder.h:19: MOJO_SYSTEM_IMPL_EXPORT bool IsInitialized(); Please delete. https://codereview.chromium.org/728783003/diff/40001/mojo/edk/test/multiprocess_test_helper.h File mojo/edk/test/multiprocess_test_helper.h (right): ...
6 years, 1 month ago (2014-11-17 23:56:58 UTC) #7
qsr
On 2014/11/17 23:56:39, viettrungluu wrote: > On 2014/11/17 15:39:27, qsr wrote: > > I added ...
6 years, 1 month ago (2014-11-18 09:47:37 UTC) #8
qsr
https://codereview.chromium.org/728783003/diff/40001/mojo/edk/embedder/test_embedder.h File mojo/edk/embedder/test_embedder.h (right): https://codereview.chromium.org/728783003/diff/40001/mojo/edk/embedder/test_embedder.h#newcode19 mojo/edk/embedder/test_embedder.h:19: MOJO_SYSTEM_IMPL_EXPORT bool IsInitialized(); On 2014/11/17 23:56:58, viettrungluu wrote: > ...
6 years, 1 month ago (2014-11-18 09:55:27 UTC) #9
qsr
gentle ping?
6 years, 1 month ago (2014-11-19 11:57:51 UTC) #10
viettrungluu
I don't think we should run multiprocess tests on Android. It's too hacky and fragile. ...
6 years, 1 month ago (2014-11-20 17:32:24 UTC) #11
qsr
Refactored test to separate multiprocess from non-multiprocess tests, and do not compile and run multiprocess ...
6 years, 1 month ago (2014-11-21 13:51:46 UTC) #12
viettrungluu
https://codereview.chromium.org/728783003/diff/120001/mojo/edk/embedder/embedder_multiprocess_unittest.cc File mojo/edk/embedder/embedder_multiprocess_unittest.cc (right): https://codereview.chromium.org/728783003/diff/120001/mojo/edk/embedder/embedder_multiprocess_unittest.cc#newcode1 mojo/edk/embedder/embedder_multiprocess_unittest.cc:1: // Copyright 2014 The Chromium Authors. All rights reserved. ...
6 years, 1 month ago (2014-11-21 22:18:41 UTC) #13
qsr
https://codereview.chromium.org/728783003/diff/120001/mojo/edk/embedder/embedder_multiprocess_unittest.cc File mojo/edk/embedder/embedder_multiprocess_unittest.cc (right): https://codereview.chromium.org/728783003/diff/120001/mojo/edk/embedder/embedder_multiprocess_unittest.cc#newcode1 mojo/edk/embedder/embedder_multiprocess_unittest.cc:1: // Copyright 2014 The Chromium Authors. All rights reserved. ...
6 years ago (2014-11-24 12:00:48 UTC) #14
viettrungluu
On 2014/11/24 12:00:48, qsr wrote: > https://codereview.chromium.org/728783003/diff/120001/mojo/edk/embedder/embedder_multiprocess_unittest.cc > File mojo/edk/embedder/embedder_multiprocess_unittest.cc (right): > > https://codereview.chromium.org/728783003/diff/120001/mojo/edk/embedder/embedder_multiprocess_unittest.cc#newcode1 > ...
6 years ago (2014-11-25 16:44:29 UTC) #15
viettrungluu
LGTM w/the (minor) comments below resolved. https://codereview.chromium.org/728783003/diff/140001/mojo/edk/embedder/embedder_unittest.cc File mojo/edk/embedder/embedder_unittest.cc (right): https://codereview.chromium.org/728783003/diff/140001/mojo/edk/embedder/embedder_unittest.cc#newcode286 mojo/edk/embedder/embedder_unittest.cc:286: // Android multi-process ...
6 years ago (2014-11-25 16:45:09 UTC) #16
qsr
https://codereview.chromium.org/728783003/diff/140001/mojo/edk/embedder/embedder_unittest.cc File mojo/edk/embedder/embedder_unittest.cc (right): https://codereview.chromium.org/728783003/diff/140001/mojo/edk/embedder/embedder_unittest.cc#newcode286 mojo/edk/embedder/embedder_unittest.cc:286: // Android multi-process tests are not executing the new ...
6 years ago (2014-11-25 17:17:50 UTC) #17
qsr
6 years ago (2014-11-26 09:54:44 UTC) #18
Message was sent while issue was closed.
Committed patchset #9 (id:160001) manually as
f4583a88c6184faac8eb4035b5e8948b2e3b3240 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698