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 321953005: [gyp][Android] Implement TestGypAndroid.run_built_executable. (Closed)

Created:
6 years, 6 months ago by jbudorick
Modified:
6 years, 6 months ago
Reviewers:
bradnelson, bradn, Torne
CC:
gyp-developer_googlegroups.com, klundberg
Visibility:
Public.

Description

[gyp][Android] Implement TestGypAndroid.run_built_executable. Note that this includes buildbot steps to start and stop an Android emulator for testing. BUG=gyp:324 R=bradnelson@google.com, torne@chromium.org Committed: https://code.google.com/p/gyp/source/detail?r=1943

Patch Set 1 #

Patch Set 2 : #

Total comments: 7

Patch Set 3 : #

Total comments: 1

Patch Set 4 : add adb shell exit code check #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -34 lines) Patch
M buildbot/buildbot_run.py View 1 2 3 4 5 4 chunks +31 lines, -4 lines 0 comments Download
M pylib/gyp/generator/android.py View 1 2 3 4 2 chunks +4 lines, -8 lines 0 comments Download
M test/actions/gyptest-generated-header.py View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M test/build-option/gyptest-build.py View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M test/configurations/basics/gyptest-configurations.py View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M test/configurations/inheritance/gyptest-inheritance.py View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M test/lib/TestGyp.py View 1 2 3 4 5 6 7 6 chunks +109 lines, -22 lines 0 comments Download
M test/library/gyptest-shared.py View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M test/library/gyptest-static.py View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
jbudorick
6 years, 6 months ago (2014-06-10 17:08:00 UTC) #1
Torne
Looks pretty good in general; haven't reviewed it in detail but I have a couple ...
6 years, 6 months ago (2014-06-11 12:44:18 UTC) #2
jbudorick
https://codereview.chromium.org/321953005/diff/20001/test/actions/gyptest-all.py File test/actions/gyptest-all.py (right): https://codereview.chromium.org/321953005/diff/20001/test/actions/gyptest-all.py#newcode59 test/actions/gyptest-all.py:59: subdir='subdir1') On 2014/06/11 12:44:18, Torne wrote: > Why do ...
6 years, 6 months ago (2014-06-11 16:30:22 UTC) #3
Torne
https://codereview.chromium.org/321953005/diff/20001/test/actions/gyptest-all.py File test/actions/gyptest-all.py (right): https://codereview.chromium.org/321953005/diff/20001/test/actions/gyptest-all.py#newcode59 test/actions/gyptest-all.py:59: subdir='subdir1') On 2014/06/11 16:30:22, jbudorick wrote: > On 2014/06/11 ...
6 years, 6 months ago (2014-06-11 16:41:39 UTC) #4
jbudorick
On 2014/06/11 16:41:39, Torne wrote: > https://codereview.chromium.org/321953005/diff/20001/test/actions/gyptest-all.py > File test/actions/gyptest-all.py (right): > > https://codereview.chromium.org/321953005/diff/20001/test/actions/gyptest-all.py#newcode59 > ...
6 years, 6 months ago (2014-06-11 16:57:41 UTC) #5
Torne
On 2014/06/11 16:57:41, jbudorick wrote: > On 2014/06/11 16:41:39, Torne wrote: > > > https://codereview.chromium.org/321953005/diff/20001/test/actions/gyptest-all.py ...
6 years, 6 months ago (2014-06-11 17:05:41 UTC) #6
jbudorick
Good news: using the shared gyp intermediates dir seems to work, and the result is ...
6 years, 6 months ago (2014-06-12 02:50:50 UTC) #7
Torne
Just do whatever is reasonable to support for the return code thing. The tests don't ...
6 years, 6 months ago (2014-06-12 09:38:49 UTC) #8
jbudorick
On 2014/06/12 09:38:49, Torne wrote: > Just do whatever is reasonable to support for the ...
6 years, 6 months ago (2014-06-12 19:50:05 UTC) #9
Torne
+bradnelson Bradley, can you review the change to the buildbot run script? We need to ...
6 years, 6 months ago (2014-06-13 09:53:13 UTC) #10
jbudorick
On 2014/06/13 09:53:13, Torne wrote: > +bradnelson > > Bradley, can you review the change ...
6 years, 6 months ago (2014-06-14 01:20:08 UTC) #11
bradn
lgtm on buildbot
6 years, 6 months ago (2014-06-14 16:17:49 UTC) #12
Torne
On 2014/06/14 01:20:08, jbudorick wrote: > On 2014/06/13 09:53:13, Torne wrote: > > +bradnelson > ...
6 years, 6 months ago (2014-06-16 15:18:09 UTC) #13
jbudorick
On 2014/06/16 15:18:09, Torne wrote: > On 2014/06/14 01:20:08, jbudorick wrote: > > On 2014/06/13 ...
6 years, 6 months ago (2014-06-16 17:23:33 UTC) #14
Torne
On 2014/06/16 17:23:33, jbudorick wrote: > On 2014/06/16 15:18:09, Torne wrote: > > On 2014/06/14 ...
6 years, 6 months ago (2014-06-17 10:55:42 UTC) #15
Torne
Committed patchset #8 manually as r1943 (presubmit successful).
6 years, 6 months ago (2014-06-17 11:39:38 UTC) #16
jbudorick
6 years, 6 months ago (2014-06-17 13:50:28 UTC) #17
Message was sent while issue was closed.
On 2014/06/17 10:55:42, Torne wrote:
> On 2014/06/16 17:23:33, jbudorick wrote:
> > On 2014/06/16 15:18:09, Torne wrote:
> > > On 2014/06/14 01:20:08, jbudorick wrote:
> > > > On 2014/06/13 09:53:13, Torne wrote:
> > > > > +bradnelson
> > > > > 
> > > > > Bradley, can you review the change to the buildbot run script? We need
> to
> > > > bring
> > > > > up an android emulator so we can actually run the test binaries on the
> > > > > gyp-android bot.
> > > > > 
> > > > > John, can you send this through the gyp trybots with "git try" or "gcl
> > try"?
> > > > The
> > > > > Rietveld-based tryjob triggering doesn't work for gyp. I want to see
> that
> > > > > gyp-android definitely is green ;)
> > > > > 
> > > > > The latest version of the change LGTM.
> > > > 
> > > > Had to make a few minor changes to get the trybot working with the
> emulator,
> > > but
> > > > you can see the results here:
> > > > 
> > > >
http://build.chromium.org/p/tryserver.nacl/builders/gyp-android/builds/952
> > > > 
> > > > As you can see, there's still the six failing tests. What should I do
with
> > > > those? Disable them for android for now?
> > > 
> > > Yeah, file a gyp bug for me to investigate/fix them and then disable them
> with
> > a
> > > comment pointing at the bug. Thanks a lot!
> > 
> > Filed https://code.google.com/p/gyp/issues/detail?id=436 and commented
> > accordingly.
> 
> Thanks a lot John; I'm going to go ahead and land this. I will investigate the
> disabled tests soon and try and fix them. There's one or two more bits of test
> system work it'd be good to get done; we can chat about this offline?

sgtm

Powered by Google App Engine
This is Rietveld 408576698