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

Issue 22903016: [android] Adds constants.GetOutDirectory() and converts test scripts to use it. (Closed)

Created:
7 years, 4 months ago by craigdh
Modified:
7 years, 3 months ago
Reviewers:
bulach, ian_cottrell, 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, johnme
Visibility:
Public.

Description

[android] Adds constants.GetOutDirectory() and converts test scripts to use it. BUG=260494 TEST=None NOTRY=True Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221736

Patch Set 1 #

Total comments: 2

Patch Set 2 : updated forwarder #

Patch Set 3 : update adb_install_apk.py #

Total comments: 7

Patch Set 4 : GetBuildDirectory -> GetOutDirectory #

Patch Set 5 : nit: update comment #

Total comments: 2

Patch Set 6 : rebase #

Patch Set 7 : fix provision_devices.py which never set the build type #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -90 lines) Patch
M build/android/adb_install_apk.py View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M build/android/adb_reverse_forwarder.py View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M build/android/provision_devices.py View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M build/android/pylib/android_commands.py View 1 2 3 4 5 6 3 chunks +7 lines, -14 lines 0 comments Download
M build/android/pylib/base/base_test_runner.py View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M build/android/pylib/chrome_test_server_spawner.py View 1 1 chunk +1 line, -2 lines 0 comments Download
M build/android/pylib/cmd_helper.py View 1 2 3 1 chunk +0 lines, -11 lines 0 comments Download
M build/android/pylib/constants.py View 1 2 3 4 5 6 1 chunk +12 lines, -0 lines 0 comments Download
M build/android/pylib/device_stats_monitor.py View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M build/android/pylib/fake_dns.py View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M build/android/pylib/forwarder.py View 1 2 3 6 chunks +12 lines, -24 lines 0 comments Download
M build/android/pylib/gtest/setup.py View 1 2 3 2 chunks +2 lines, -6 lines 0 comments Download
M build/android/pylib/gtest/test_package_apk.py View 1 2 3 1 chunk +3 lines, -4 lines 0 comments Download
M build/android/pylib/gtest/test_package_exe.py View 1 2 3 1 chunk +3 lines, -4 lines 0 comments Download
M build/android/pylib/host_driven/test_case.py View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M build/android/pylib/utils/report_results.py View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M chrome/test/functional/ispy/ispy_core/tools/reverse_port_forwarder.py View 1 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/backends/adb_commands.py View 1 2 3 4 5 4 chunks +12 lines, -9 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
craigdh
7 years, 4 months ago (2013-08-20 23:50:39 UTC) #1
frankf
Can you update the forwarder in this patch https://codereview.chromium.org/22903016/diff/1/build/android/pylib/constants.py File build/android/pylib/constants.py (right): https://codereview.chromium.org/22903016/diff/1/build/android/pylib/constants.py#newcode99 build/android/pylib/constants.py:99: os.path.join(cmd_helper.OutDirectory.get(), ...
7 years, 4 months ago (2013-08-21 01:50:06 UTC) #2
craigdh
Please take a careful look. https://codereview.chromium.org/22903016/diff/1/build/android/pylib/constants.py File build/android/pylib/constants.py (right): https://codereview.chromium.org/22903016/diff/1/build/android/pylib/constants.py#newcode99 build/android/pylib/constants.py:99: os.path.join(cmd_helper.OutDirectory.get(), GetBuildType())) On 2013/08/21 ...
7 years, 4 months ago (2013-08-22 22:09:42 UTC) #3
frankf
+bulach https://codereview.chromium.org/22903016/diff/17001/build/android/pylib/constants.py File build/android/pylib/constants.py (right): https://codereview.chromium.org/22903016/diff/17001/build/android/pylib/constants.py#newcode105 build/android/pylib/constants.py:105: DIR_SOURCE_ROOT, os.environ.get('CHROMIUM_OUT_DIR', 'out'), who sets this?
7 years, 3 months ago (2013-08-27 00:44:56 UTC) #4
craigdh
https://codereview.chromium.org/22903016/diff/17001/build/android/pylib/constants.py File build/android/pylib/constants.py (right): https://codereview.chromium.org/22903016/diff/17001/build/android/pylib/constants.py#newcode105 build/android/pylib/constants.py:105: DIR_SOURCE_ROOT, os.environ.get('CHROMIUM_OUT_DIR', 'out'), On 2013/08/27 00:44:57, frankf wrote: > ...
7 years, 3 months ago (2013-08-27 16:57:16 UTC) #5
bulach
lgtm for the overall idea, thanks! :) I have just a small concern regarding the ...
7 years, 3 months ago (2013-09-02 09:11:18 UTC) #6
craigdh
https://codereview.chromium.org/22903016/diff/17001/build/android/adb_reverse_forwarder.py File build/android/adb_reverse_forwarder.py (right): https://codereview.chromium.org/22903016/diff/17001/build/android/adb_reverse_forwarder.py#newcode18 build/android/adb_reverse_forwarder.py:18: from pylib import android_commands, forwarder, constants On 2013/09/02 09:11:18, ...
7 years, 3 months ago (2013-09-03 18:36:09 UTC) #7
frankf
lgtm w/ nit https://codereview.chromium.org/22903016/diff/36001/build/android/pylib/constants.py File build/android/pylib/constants.py (right): https://codereview.chromium.org/22903016/diff/36001/build/android/pylib/constants.py#newcode134 build/android/pylib/constants.py:134: def GetOutDirectory(build_type=None): So you can also ...
7 years, 3 months ago (2013-09-03 18:42:00 UTC) #8
craigdh
https://codereview.chromium.org/22903016/diff/36001/build/android/pylib/constants.py File build/android/pylib/constants.py (right): https://codereview.chromium.org/22903016/diff/36001/build/android/pylib/constants.py#newcode134 build/android/pylib/constants.py:134: def GetOutDirectory(build_type=None): On 2013/09/03 18:42:01, frankf wrote: > So ...
7 years, 3 months ago (2013-09-03 22:48:18 UTC) #9
craigdh
Ran telemetry tests locally.
7 years, 3 months ago (2013-09-03 23:02:10 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/craigdh@chromium.org/22903016/36001
7 years, 3 months ago (2013-09-03 23:03:32 UTC) #11
commit-bot: I haz the power
Failed to apply patch for tools/telemetry/telemetry/core/backends/adb_commands.py: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 3 months ago (2013-09-03 23:03:45 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/craigdh@chromium.org/22903016/50001
7 years, 3 months ago (2013-09-06 18:09:24 UTC) #13
commit-bot: I haz the power
Change committed as 221736
7 years, 3 months ago (2013-09-06 18:11:05 UTC) #14
johnme
On 2013/09/06 18:11:05, I haz the power (commit-bot) wrote: > Change committed as 221736 Reverted ...
7 years, 3 months ago (2013-09-09 12:25:17 UTC) #15
craigdh
+cc johnme: fixed provision_devices.py, relanding.
7 years, 3 months ago (2013-09-09 17:43:08 UTC) #16
bulach
I think you need a new "codereview" to reland? :) on the new one, please, ...
7 years, 3 months ago (2013-09-09 19:02:22 UTC) #17
craigdh
7 years, 3 months ago (2013-09-09 20:19:05 UTC) #18
On 2013/09/09 19:02:22, bulach wrote:
> I think you need a new "codereview" to reland? :)

A new codereview makes sense to me. I've had conflicting recommendations from
reviewers on this point in the past which suggested I just reuse the patch :)

See https://codereview.chromium.org/23494039/

> 
> on the new one, please, upload patchset 1 exactly as it was, then patchset 2
> with the changes to fix, so reviewers can diff just the change... and thanks
for
> fixing! :)

Powered by Google App Engine
This is Rietveld 408576698