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

Issue 94683002: [Telemetry] Refactor common Android test harness functions. (Closed)

Created:
7 years ago by Primiano Tucci (use gerrit)
Modified:
7 years ago
Reviewers:
bulach, tonyg
CC:
chromium-reviews, craigdh+watch_chromium.org, chrome-speed-team+watch_google.com, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org, klundberg+watch_chromium.org, telemetry+watch_chromium.org, frankf+watch_chromium.org
Visibility:
Public.

Description

[Telemetry] Refactor common Android test harness functions. This is a reland of crrev.com/62953024 which was reverted because it broke other platforms. Refactoring common cleanup code required by both android_browser_finder.py and perf/setup.py and moving it into pyblib/utils/test_environment.py. Also, this change avoids killing twice the adb server when running in a bot environment, where the adb restart is already invoked by the bot steps. BUG=268450 R=bulach@chromium.org,tonyg@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=237815

Patch Set 1 #

Patch Set 2 : Using adb commands in browser finder #

Total comments: 1

Patch Set 3 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -31 lines) Patch
M build/android/pylib/android_commands.py View 1 chunk +3 lines, -1 line 0 comments Download
M build/android/pylib/perf/setup.py View 2 chunks +3 lines, -28 lines 0 comments Download
A build/android/pylib/utils/test_environment.py View 1 1 chunk +35 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/adb_commands.py View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/android_browser_finder.py View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
Primiano Tucci (use gerrit)
The previous CL (crrev.com/62953024) was reverted because it was sadly breaking ChromiumOS [1] and XP ...
7 years ago (2013-11-28 13:19:40 UTC) #1
bulach
lgtm % nits, thanks! https://codereview.chromium.org/94683002/diff/30006/tools/telemetry/telemetry/core/backends/adb_commands.py File tools/telemetry/telemetry/core/backends/adb_commands.py (left): https://codereview.chromium.org/94683002/diff/30006/tools/telemetry/telemetry/core/backends/adb_commands.py#oldcode33 tools/telemetry/telemetry/core/backends/adb_commands.py:33: nit: keep it :) also ...
7 years ago (2013-11-28 14:36:56 UTC) #2
Primiano Tucci (use gerrit)
On 2013/11/28 14:36:56, bulach wrote: > lgtm % nits, thanks! > > https://codereview.chromium.org/94683002/diff/30006/tools/telemetry/telemetry/core/backends/adb_commands.py > File ...
7 years ago (2013-11-28 15:10:56 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/primiano@chromium.org/94683002/90001
7 years ago (2013-11-28 15:12:09 UTC) #4
commit-bot: I haz the power
7 years ago (2013-11-28 18:02:34 UTC) #5
Message was sent while issue was closed.
Change committed as 237815

Powered by Google App Engine
This is Rietveld 408576698