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

Issue 23726004: Add test_server_setup.py and add support for additional flags. (Closed)

Created:
7 years, 3 months ago by nyquist
Modified:
7 years, 3 months ago
Reviewers:
craigdh, frankf
CC:
chromium-reviews, craigdh+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org, klundberg+watch_chromium.org, frankf+watch_chromium.org
Visibility:
Public.

Description

Add test_server_setup.py and add support for additional flags. Whenever a host driven test need to setup a server as part of a test, the command line needs of the application to be instrumented needs to change. This CL adds a helper class for setting up a test server, and also adds support for tests to setup additional flags (typically the URL for how to connect to the test server). Reverted in: http://crrev.com/220769 Relanding after re-upload to the same patch. BUG=272584 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220750 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221122

Patch Set 1 #

Total comments: 21

Patch Set 2 : Addressed comments, gpylint #

Patch Set 3 : Additional typo fix #

Total comments: 14

Patch Set 4 : Addressed new round of comments. #

Patch Set 5 : Fixed permissions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -6 lines) Patch
M build/android/pylib/host_driven/test_case.py View 1 2 4 chunks +7 lines, -4 lines 0 comments Download
A build/android/pylib/host_driven/test_server.py View 1 2 3 4 1 chunk +92 lines, -0 lines 0 comments Download
M build/android/pylib/instrumentation/test_runner.py View 1 3 chunks +4 lines, -1 line 0 comments Download
M chrome/android/host_driven_tests/DummyTest.py View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
nyquist
frankf/craigdh: PTAL Depends on: https://codereview.chromium.org/23467004/ And is needed by (a future version of): https://codereview.chromium.org/22914014/
7 years, 3 months ago (2013-08-28 23:41:15 UTC) #1
craigdh
https://codereview.chromium.org/23726004/diff/1/build/android/pylib/host_driven/test_case.py File build/android/pylib/host_driven/test_case.py (right): https://codereview.chromium.org/23726004/diff/1/build/android/pylib/host_driven/test_case.py#newcode114 build/android/pylib/host_driven/test_case.py:114: additional_flags: A list of addition flags to add to ...
7 years, 3 months ago (2013-08-29 00:06:46 UTC) #2
frankf
https://codereview.chromium.org/23726004/diff/1/build/android/pylib/constants.py File build/android/pylib/constants.py (right): https://codereview.chromium.org/23726004/diff/1/build/android/pylib/constants.py#newcode103 build/android/pylib/constants.py:103: NET_TEST_SERVER_PATH = 'net/tools/testserver/testserver.py' Group this with lines 90-91 and ...
7 years, 3 months ago (2013-08-29 00:07:19 UTC) #3
nyquist
addressed or responded to all comments. PTAL https://codereview.chromium.org/23726004/diff/1/build/android/pylib/constants.py File build/android/pylib/constants.py (right): https://codereview.chromium.org/23726004/diff/1/build/android/pylib/constants.py#newcode103 build/android/pylib/constants.py:103: NET_TEST_SERVER_PATH = ...
7 years, 3 months ago (2013-08-29 23:59:43 UTC) #4
craigdh
lgtm w/ nit. Please wait for frankf. https://codereview.chromium.org/23726004/diff/1/build/android/pylib/host_driven/test_server_setup.py File build/android/pylib/host_driven/test_server_setup.py (right): https://codereview.chromium.org/23726004/diff/1/build/android/pylib/host_driven/test_server_setup.py#newcode63 build/android/pylib/host_driven/test_server_setup.py:63: test_server = ...
7 years, 3 months ago (2013-08-30 17:55:50 UTC) #5
frankf
lgtm after fixing these https://codereview.chromium.org/23726004/diff/16001/build/android/pylib/constants.py File build/android/pylib/constants.py (right): https://codereview.chromium.org/23726004/diff/16001/build/android/pylib/constants.py#newcode96 build/android/pylib/constants.py:96: TEST_SYNC_SERVER_PATH = 'sync/tools/testserver/sync_testserver.py' So these ...
7 years, 3 months ago (2013-08-30 18:22:43 UTC) #6
nyquist
All done. https://codereview.chromium.org/23726004/diff/16001/build/android/pylib/constants.py File build/android/pylib/constants.py (right): https://codereview.chromium.org/23726004/diff/16001/build/android/pylib/constants.py#newcode96 build/android/pylib/constants.py:96: TEST_SYNC_SERVER_PATH = 'sync/tools/testserver/sync_testserver.py' On 2013/08/30 18:22:43, frankf ...
7 years, 3 months ago (2013-08-30 21:50:58 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/23726004/25001
7 years, 3 months ago (2013-08-30 21:51:43 UTC) #8
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=164265
7 years, 3 months ago (2013-08-31 02:10:20 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/23726004/25001
7 years, 3 months ago (2013-08-31 02:13:57 UTC) #10
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=164308
7 years, 3 months ago (2013-08-31 05:28:58 UTC) #11
nyquist
This CL only changes android-related files. Adding NOTRY=true since only linux_rel keeps failing on an ...
7 years, 3 months ago (2013-08-31 05:38:40 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/23726004/25001
7 years, 3 months ago (2013-08-31 05:39:14 UTC) #13
commit-bot: I haz the power
Change committed as 220750
7 years, 3 months ago (2013-09-01 22:54:48 UTC) #14
achuithb
On 2013/09/01 22:54:48, I haz the power (commit-bot) wrote: > Change committed as 220750 Looks ...
7 years, 3 months ago (2013-09-02 00:20:57 UTC) #15
achuithb
On 2013/09/02 00:20:57, achuith.bhandarkar wrote: > On 2013/09/01 22:54:48, I haz the power (commit-bot) wrote: ...
7 years, 3 months ago (2013-09-02 00:24:53 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/23726004/52001
7 years, 3 months ago (2013-09-03 21:49:50 UTC) #17
commit-bot: I haz the power
7 years, 3 months ago (2013-09-04 02:32:40 UTC) #18
Message was sent while issue was closed.
Change committed as 221122

Powered by Google App Engine
This is Rietveld 408576698