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

Issue 1397663002: DeviceUtils.StartInstrumentation: Shrink command-line (Closed)

Created:
5 years, 2 months ago by agrieve
Modified:
5 years, 2 months ago
Reviewers:
jbudorick
CC:
chromium-reviews, klundberg+watch_chromium.org, yfriedman+watch_chromium.org, jbudorick+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DeviceUtils.StartInstrumentation: Shrink command-line Uses a shell variable to make the command-line shorter than MAX_ADB_COMMAND_LENGTH (runs faster) BUG=540857 Committed: https://crrev.com/c62c20dc43491940e78b4bcee93dde142c5139a8 Cr-Commit-Position: refs/heads/master@{#354082}

Patch Set 1 #

Total comments: 4

Patch Set 2 : make helper func #

Total comments: 5

Patch Set 3 : add blank line #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -7 lines) Patch
M build/android/PRESUBMIT.py View 1 1 chunk +1 line, -0 lines 0 comments Download
M build/android/devil/android/device_utils.py View 1 2 1 chunk +8 lines, -1 line 0 comments Download
M build/android/devil/android/device_utils_test.py View 1 2 4 chunks +7 lines, -6 lines 0 comments Download
M build/android/devil/utils/cmd_helper.py View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
M build/android/devil/utils/cmd_helper_test.py View 1 3 chunks +35 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 23 (5 generated)
agrieve
On 2015/10/08 01:09:35, agrieve wrote: > mailto:agrieve@chromium.org changed reviewers: > + mailto:jbudorick@chromium.org
5 years, 2 months ago (2015-10-08 01:09:39 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1397663002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1397663002/1
5 years, 2 months ago (2015-10-08 01:15:32 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-08 02:23:42 UTC) #6
jbudorick
https://codereview.chromium.org/1397663002/diff/1/build/android/devil/android/device_utils.py File build/android/devil/android/device_utils.py (right): https://codereview.chromium.org/1397663002/diff/1/build/android/devil/android/device_utils.py#newcode934 build/android/devil/android/device_utils.py:934: def shrink(value): I don't agree with handling this this ...
5 years, 2 months ago (2015-10-08 14:27:28 UTC) #7
agrieve
https://codereview.chromium.org/1397663002/diff/1/build/android/devil/android/device_utils.py File build/android/devil/android/device_utils.py (right): https://codereview.chromium.org/1397663002/diff/1/build/android/devil/android/device_utils.py#newcode934 build/android/devil/android/device_utils.py:934: def shrink(value): On 2015/10/08 14:27:28, jbudorick wrote: > I ...
5 years, 2 months ago (2015-10-08 15:42:10 UTC) #8
jbudorick
https://codereview.chromium.org/1397663002/diff/1/build/android/devil/android/device_utils.py File build/android/devil/android/device_utils.py (right): https://codereview.chromium.org/1397663002/diff/1/build/android/devil/android/device_utils.py#newcode934 build/android/devil/android/device_utils.py:934: def shrink(value): On 2015/10/08 15:42:10, agrieve wrote: > On ...
5 years, 2 months ago (2015-10-08 15:51:09 UTC) #9
agrieve
https://codereview.chromium.org/1397663002/diff/1/build/android/devil/android/device_utils.py File build/android/devil/android/device_utils.py (right): https://codereview.chromium.org/1397663002/diff/1/build/android/devil/android/device_utils.py#newcode934 build/android/devil/android/device_utils.py:934: def shrink(value): On 2015/10/08 15:51:09, jbudorick wrote: > On ...
5 years, 2 months ago (2015-10-08 20:03:33 UTC) #10
jbudorick
https://codereview.chromium.org/1397663002/diff/20001/build/android/devil/android/device_utils.py File build/android/devil/android/device_utils.py (right): https://codereview.chromium.org/1397663002/diff/20001/build/android/devil/android/device_utils.py#newcode944 build/android/devil/android/device_utils.py:944: cmd_helper.ShrinkToSnippet(cmd, 'p', package)) Hrm, I was thinking something more ...
5 years, 2 months ago (2015-10-08 20:55:39 UTC) #11
agrieve
https://codereview.chromium.org/1397663002/diff/20001/build/android/devil/android/device_utils.py File build/android/devil/android/device_utils.py (right): https://codereview.chromium.org/1397663002/diff/20001/build/android/devil/android/device_utils.py#newcode944 build/android/devil/android/device_utils.py:944: cmd_helper.ShrinkToSnippet(cmd, 'p', package)) On 2015/10/08 20:55:39, jbudorick wrote: > ...
5 years, 2 months ago (2015-10-09 00:08:30 UTC) #12
agrieve
On 2015/10/09 00:08:30, agrieve wrote: > https://codereview.chromium.org/1397663002/diff/20001/build/android/devil/android/device_utils.py > File build/android/devil/android/device_utils.py (right): > > https://codereview.chromium.org/1397663002/diff/20001/build/android/devil/android/device_utils.py#newcode944 > ...
5 years, 2 months ago (2015-10-09 18:11:43 UTC) #13
agrieve
On 2015/10/09 18:11:43, agrieve wrote: > On 2015/10/09 00:08:30, agrieve wrote: > > > https://codereview.chromium.org/1397663002/diff/20001/build/android/devil/android/device_utils.py ...
5 years, 2 months ago (2015-10-13 15:21:41 UTC) #14
agrieve
On 2015/10/13 15:21:41, agrieve wrote: > On 2015/10/09 18:11:43, agrieve wrote: > > On 2015/10/09 ...
5 years, 2 months ago (2015-10-14 14:18:24 UTC) #15
jbudorick
On 2015/10/14 14:18:24, agrieve wrote: > On 2015/10/13 15:21:41, agrieve wrote: > > On 2015/10/09 ...
5 years, 2 months ago (2015-10-14 14:19:53 UTC) #16
jbudorick
lgtm w/ nit https://codereview.chromium.org/1397663002/diff/20001/build/android/devil/android/device_utils.py File build/android/devil/android/device_utils.py (right): https://codereview.chromium.org/1397663002/diff/20001/build/android/devil/android/device_utils.py#newcode944 build/android/devil/android/device_utils.py:944: cmd_helper.ShrinkToSnippet(cmd, 'p', package)) On 2015/10/09 00:08:29, ...
5 years, 2 months ago (2015-10-14 17:59:09 UTC) #17
agrieve
https://codereview.chromium.org/1397663002/diff/20001/build/android/devil/utils/cmd_helper.py File build/android/devil/utils/cmd_helper.py (right): https://codereview.chromium.org/1397663002/diff/20001/build/android/devil/utils/cmd_helper.py#newcode87 build/android/devil/utils/cmd_helper.py:87: return ' '.join(shrink(part) for part in cmd_parts) On 2015/10/14 ...
5 years, 2 months ago (2015-10-14 18:02:05 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1397663002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1397663002/40001
5 years, 2 months ago (2015-10-14 18:04:01 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 2 months ago (2015-10-14 19:12:38 UTC) #22
commit-bot: I haz the power
5 years, 2 months ago (2015-10-14 19:13:50 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c62c20dc43491940e78b4bcee93dde142c5139a8
Cr-Commit-Position: refs/heads/master@{#354082}

Powered by Google App Engine
This is Rietveld 408576698