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

Issue 1167693002: remove stale test data on the device (Closed)

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

Description

remove stale test data on the device BUG=457904 Committed: https://crrev.com/d7f9fe973863ca93337991513c754a28299b152d Cr-Commit-Position: refs/heads/master@{#334438}

Patch Set 1 #

Total comments: 10

Patch Set 2 : remove stale data from device #

Total comments: 14

Patch Set 3 : remove stale files on device #

Patch Set 4 : #

Total comments: 8

Patch Set 5 : #

Total comments: 7

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+305 lines, -57 lines) Patch
M build/android/pylib/base/base_setup.py View 1 2 1 chunk +2 lines, -4 lines 0 comments Download
M build/android/pylib/device/device_utils.py View 1 2 3 4 5 5 chunks +70 lines, -43 lines 0 comments Download
A build/android/pylib/device/device_utils_device_test.py View 1 2 3 4 5 1 chunk +211 lines, -0 lines 0 comments Download
M build/android/pylib/device/device_utils_test.py View 1 2 3 4 5 3 chunks +8 lines, -6 lines 0 comments Download
M build/android/pylib/gtest/test_options.py View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M build/android/pylib/instrumentation/test_options.py View 1 chunk +2 lines, -1 line 0 comments Download
M build/android/test_runner.py View 1 2 3 4 5 4 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (4 generated)
Menglin
Hi John and Mike, I'd like you to review this bug fix. Thank you Menglin
5 years, 6 months ago (2015-06-01 23:50:42 UTC) #2
jbudorick
https://codereview.chromium.org/1167693002/diff/1/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/1167693002/diff/1/build/android/pylib/device/device_utils.py#newcode957 build/android/pylib/device/device_utils.py:957: def _GetChangedFilesRemoveStaleFiles(self, host_path, device_path, This function has some significant ...
5 years, 6 months ago (2015-06-02 15:30:50 UTC) #3
Menglin
Hi John, please comment on the following Menglin https://codereview.chromium.org/1167693002/diff/1/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/1167693002/diff/1/build/android/pylib/device/device_utils.py#newcode957 build/android/pylib/device/device_utils.py:957: def ...
5 years, 6 months ago (2015-06-02 16:31:44 UTC) #4
jbudorick
https://codereview.chromium.org/1167693002/diff/1/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/1167693002/diff/1/build/android/pylib/device/device_utils.py#newcode957 build/android/pylib/device/device_utils.py:957: def _GetChangedFilesRemoveStaleFiles(self, host_path, device_path, On 2015/06/02 at 16:31:44, Menglin ...
5 years, 6 months ago (2015-06-08 18:34:29 UTC) #5
jbudorick
+perezju, in case you have any thoughts on how to do this
5 years, 6 months ago (2015-06-08 18:34:54 UTC) #7
perezju
https://codereview.chromium.org/1167693002/diff/1/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/1167693002/diff/1/build/android/pylib/device/device_utils.py#newcode957 build/android/pylib/device/device_utils.py:957: def _GetChangedFilesRemoveStaleFiles(self, host_path, device_path, On 2015/06/08 18:34:29, jbudorick wrote: ...
5 years, 6 months ago (2015-06-09 13:07:26 UTC) #8
Menglin
On 2015/06/09 13:07:26, perezju wrote: > https://codereview.chromium.org/1167693002/diff/1/build/android/pylib/device/device_utils.py > File build/android/pylib/device/device_utils.py (right): > > https://codereview.chromium.org/1167693002/diff/1/build/android/pylib/device/device_utils.py#newcode957 > ...
5 years, 6 months ago (2015-06-09 22:08:56 UTC) #9
Menglin
Hi John, Mike, and Juan, I've uploaded code change. Please review it Thank you Menglin ...
5 years, 6 months ago (2015-06-09 22:11:45 UTC) #10
perezju
Thanks for the changes. I think the implementation is looking a lot better! https://codereview.chromium.org/1167693002/diff/20001/build/android/pylib/base/base_setup.py File ...
5 years, 6 months ago (2015-06-10 09:24:23 UTC) #11
Menglin
Hi John, Mike and Juan, I uploaded the code change again. Please review it. Thank ...
5 years, 6 months ago (2015-06-10 21:22:16 UTC) #12
perezju
Thanks! Just a few nits now. Also to double check, patch set #4 is just ...
5 years, 6 months ago (2015-06-11 08:38:48 UTC) #13
Menglin
Thank you for the comments Juan! Yes patch set #4 is just a rebase. Menglin ...
5 years, 6 months ago (2015-06-11 20:36:17 UTC) #14
perezju
lgtm, thanks! john, do you have any other comments?
5 years, 6 months ago (2015-06-12 08:32:24 UTC) #15
jbudorick
lgtm w/ nits We'll need to add support for this to platform mode, too. https://codereview.chromium.org/1167693002/diff/80001/build/android/pylib/device/device_utils.py ...
5 years, 6 months ago (2015-06-12 19:54:45 UTC) #16
Menglin
https://codereview.chromium.org/1167693002/diff/80001/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/1167693002/diff/80001/build/android/pylib/device/device_utils.py#newcode871 build/android/pylib/device/device_utils.py:871: self.RunShellCommand(['rm', '-f', stale_file_path], On 2015/06/12 19:54:44, jbudorick wrote: > ...
5 years, 6 months ago (2015-06-12 22:31:46 UTC) #17
perezju
https://codereview.chromium.org/1167693002/diff/80001/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/1167693002/diff/80001/build/android/pylib/device/device_utils.py#newcode871 build/android/pylib/device/device_utils.py:871: self.RunShellCommand(['rm', '-f', stale_file_path], On 2015/06/12 22:31:46, Menglin wrote: > ...
5 years, 6 months ago (2015-06-15 09:03:52 UTC) #18
Menglin
On 2015/06/15 09:03:52, perezju wrote: > https://codereview.chromium.org/1167693002/diff/80001/build/android/pylib/device/device_utils.py > File build/android/pylib/device/device_utils.py (right): > > https://codereview.chromium.org/1167693002/diff/80001/build/android/pylib/device/device_utils.py#newcode871 > ...
5 years, 6 months ago (2015-06-15 18:01:22 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1167693002/100001
5 years, 6 months ago (2015-06-15 18:02:25 UTC) #22
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 6 months ago (2015-06-15 19:37:03 UTC) #23
commit-bot: I haz the power
5 years, 6 months ago (2015-06-15 19:37:59 UTC) #24
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/d7f9fe973863ca93337991513c754a28299b152d
Cr-Commit-Position: refs/heads/master@{#334438}

Powered by Google App Engine
This is Rietveld 408576698