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

Issue 10957052: Adapt python scripts to use the new Forwarder2 (Closed)

Created:
8 years, 3 months ago by felipeg
Modified:
8 years, 2 months ago
CC:
chromium-reviews, peter+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Adapt python scripts to use the new Forwarder2 This is a DRAFT change. I will polish it after running all the tests. It worked for the integration tests. BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=158940

Patch Set 1 #

Total comments: 12

Patch Set 2 : #

Patch Set 3 : #

Total comments: 9

Patch Set 4 : #

Total comments: 8

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -54 lines) Patch
M build/android/pylib/base_test_runner.py View 1 2 chunks +2 lines, -2 lines 0 comments Download
M build/android/pylib/forwarder.py View 1 2 3 4 3 chunks +94 lines, -33 lines 0 comments Download
M build/android/pylib/run_java_tests.py View 1 2 3 4 2 chunks +6 lines, -9 lines 0 comments Download
M tools/android/forwarder2/host_controller.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M tools/android/forwarder2/socket.cc View 1 2 3 7 chunks +15 lines, -9 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
felipeg
This is just a draft change I will polish it after
8 years, 3 months ago (2012-09-21 23:48:04 UTC) #1
bulach
thanks felipe! a few comments below: http://codereview.chromium.org/10957052/diff/1/build/android/pylib/base_test_runner.py File build/android/pylib/base_test_runner.py (right): http://codereview.chromium.org/10957052/diff/1/build/android/pylib/base_test_runner.py#newcode73 build/android/pylib/base_test_runner.py:73: Test results returned ...
8 years, 3 months ago (2012-09-24 10:40:49 UTC) #2
felipeg
Hey Guys, This is working now. It is ready to be submitted. I tested it ...
8 years, 3 months ago (2012-09-25 03:27:21 UTC) #3
bulach
lgtm, thanks! the try bot didn't seem very happy, perhaps we need some changes in ...
8 years, 2 months ago (2012-09-25 10:01:33 UTC) #4
Philippe
LGTM with minor nits. https://chromiumcodereview.appspot.com/10957052/diff/16001/tools/android/forwarder2/socket.cc File tools/android/forwarder2/socket.cc (right): https://chromiumcodereview.appspot.com/10957052/diff/16001/tools/android/forwarder2/socket.cc#newcode180 tools/android/forwarder2/socket.cc:180: if (port_ == 0 && ...
8 years, 2 months ago (2012-09-26 00:15:46 UTC) #5
digit1
https://chromiumcodereview.appspot.com/10957052/diff/16001/tools/android/forwarder2/socket.cc File tools/android/forwarder2/socket.cc (right): https://chromiumcodereview.appspot.com/10957052/diff/16001/tools/android/forwarder2/socket.cc#newcode231 tools/android/forwarder2/socket.cc:231: return false; you should restore the flags before returning. ...
8 years, 2 months ago (2012-09-26 00:19:04 UTC) #6
Philippe
https://chromiumcodereview.appspot.com/10957052/diff/16001/tools/android/forwarder2/socket.cc File tools/android/forwarder2/socket.cc (right): https://chromiumcodereview.appspot.com/10957052/diff/16001/tools/android/forwarder2/socket.cc#newcode231 tools/android/forwarder2/socket.cc:231: return false; On 2012/09/26 00:19:04, digit1 wrote: > you ...
8 years, 2 months ago (2012-09-26 00:30:10 UTC) #7
felipeg
https://chromiumcodereview.appspot.com/10957052/diff/16001/tools/android/forwarder2/socket.cc File tools/android/forwarder2/socket.cc (right): https://chromiumcodereview.appspot.com/10957052/diff/16001/tools/android/forwarder2/socket.cc#newcode180 tools/android/forwarder2/socket.cc:180: if (port_ == 0 && (family_ == AF_INET || ...
8 years, 2 months ago (2012-09-26 00:34:28 UTC) #8
felipeg_google
On Tue, Sep 25, 2012 at 5:30 PM, <pliard@chromium.org> wrote: > > https://chromiumcodereview.**appspot.com/10957052/diff/** > 16001/tools/android/**forwarder2/socket.cc<https://chromiumcodereview.appspot.com/10957052/diff/16001/tools/android/forwarder2/socket.cc> ...
8 years, 2 months ago (2012-09-26 00:36:53 UTC) #9
bulach
just nits, go ahead once digit and the bots are happy! :) https://codereview.chromium.org/10957052/diff/21001/build/android/pylib/forwarder.py File build/android/pylib/forwarder.py ...
8 years, 2 months ago (2012-09-26 15:13:10 UTC) #10
digit
lgtm, if Marcus' remarks are fixed (especially the logging.info one).
8 years, 2 months ago (2012-09-26 17:58:15 UTC) #11
felipeg
https://codereview.chromium.org/10957052/diff/21001/build/android/pylib/forwarder.py File build/android/pylib/forwarder.py (right): https://codereview.chromium.org/10957052/diff/21001/build/android/pylib/forwarder.py#newcode63 build/android/pylib/forwarder.py:63: logging.info('Forwarding ports: %s' % (forward_string)) On 2012/09/26 15:13:11, bulach ...
8 years, 2 months ago (2012-09-26 18:06:03 UTC) #12
felipeg_google
Thanks Guys, I am cherry-picking this patch downstream and I will test it downstream first ...
8 years, 2 months ago (2012-09-26 18:09:17 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/felipeg@chromium.org/10957052/8003
8 years, 2 months ago (2012-09-26 21:24:42 UTC) #14
commit-bot: I haz the power
8 years, 2 months ago (2012-09-27 00:08:49 UTC) #15
Change committed as 158940

Powered by Google App Engine
This is Rietveld 408576698