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

Issue 14601004: [Android] Only reinstall test apk if needed (Closed)

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

Description

[Android] Only reinstall test apk if needed When running tests, we should only be reinstalling the test apk if it is different than the one currently installed. So, before reinstalling, query the package manager for the path to the installed apk, and then only reinstall if the md5sum of the installed apk differs from the one we are about to install. NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=199835

Patch Set 1 : #

Total comments: 4

Patch Set 2 : #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -5 lines) Patch
M build/android/pylib/android_commands.py View 1 2 2 chunks +16 lines, -1 line 0 comments Download
M build/android/pylib/gtest/test_package_apk.py View 1 1 chunk +15 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
cjhopman
7 years, 7 months ago (2013-05-03 17:28:08 UTC) #1
klundberg
FYI, I have added Craig as reviewer as Frank is on vacation and won't be ...
7 years, 7 months ago (2013-05-03 17:31:36 UTC) #2
cjhopman
craigdh: ping
7 years, 7 months ago (2013-05-06 16:23:55 UTC) #3
craigdh
https://codereview.chromium.org/14601004/diff/2001/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://codereview.chromium.org/14601004/diff/2001/build/android/pylib/android_commands.py#newcode675 build/android/pylib/android_commands.py:675: def CheckMd5Sum(self, local_path, device_path, ignore_paths=False): please add a docstring ...
7 years, 7 months ago (2013-05-06 16:59:56 UTC) #4
cjhopman
https://codereview.chromium.org/14601004/diff/2001/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://codereview.chromium.org/14601004/diff/2001/build/android/pylib/android_commands.py#newcode675 build/android/pylib/android_commands.py:675: def CheckMd5Sum(self, local_path, device_path, ignore_paths=False): On 2013/05/06 16:59:56, craigdh ...
7 years, 7 months ago (2013-05-06 22:32:18 UTC) #5
craigdh
lgtm.
7 years, 7 months ago (2013-05-06 23:44:30 UTC) #6
cjhopman
nyquist: for COMMITTERS stamp
7 years, 7 months ago (2013-05-13 17:45:34 UTC) #7
nyquist
lgtm
7 years, 7 months ago (2013-05-13 20:18:59 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cjhopman@chromium.org/14601004/16001
7 years, 7 months ago (2013-05-13 20:26:02 UTC) #9
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=127202
7 years, 7 months ago (2013-05-13 21:18:20 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cjhopman@chromium.org/14601004/16001
7 years, 7 months ago (2013-05-13 22:23:13 UTC) #11
commit-bot: I haz the power
7 years, 7 months ago (2013-05-13 22:23:50 UTC) #12
Message was sent while issue was closed.
Change committed as 199835

Powered by Google App Engine
This is Rietveld 408576698