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

Issue 17467003: [android] Switch test scripts to use last modified time instead of md5sum when checking dependencie… (Closed)

Created:
7 years, 6 months ago by craigdh
Modified:
7 years, 4 months ago
Reviewers:
bulach, frankf, digit1
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
Visibility:
Public.

Description

[android] Switch test scripts to use last modified time instead of md5sum when checking dependencies. This works well because "adb push" copies over the modified time directly from the host file. BUG=166338 TEST=None

Patch Set 1 #

Patch Set 2 : #

Total comments: 22

Patch Set 3 : ignore extra files on the device #

Patch Set 4 : addressed comments on timemodified.cc #

Total comments: 16

Patch Set 5 : rebase #

Patch Set 6 : namedtuple and other nits #

Patch Set 7 : forgot TODO #

Patch Set 8 : NOT TO COMMIT #

Patch Set 9 : adds back CheckMd5Sum for apks #

Patch Set 10 : #

Patch Set 11 : removed TODO, now a feature :) #

Total comments: 9

Patch Set 12 : bulach's comments #

Patch Set 13 : fix compile error #

Patch Set 14 : rebase #

Patch Set 15 : rebase due to file_util:: -> base:: #

Patch Set 16 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -27 lines) Patch
M build/android/pylib/android_commands.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 7 chunks +92 lines, -7 lines 0 comments Download
M build/java_apk.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M tools/android/android_tools.gyp View 1 chunk +1 line, -0 lines 0 comments Download
A tools/android/timemodified/timemodified.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +64 lines, -0 lines 0 comments Download
A + tools/android/timemodified/timemodified.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +15 lines, -20 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
craigdh
7 years, 6 months ago (2013-06-20 18:16:17 UTC) #1
frankf
https://codereview.chromium.org/17467003/diff/2001/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://codereview.chromium.org/17467003/diff/2001/build/android/pylib/android_commands.py#newcode64 build/android/pylib/android_commands.py:64: TIMEMODIFIED_DEVICE_FOLDER = constants.TEST_EXECUTABLE_DIR + '/timemodified/' If these are only ...
7 years, 6 months ago (2013-06-20 22:52:37 UTC) #2
craigdh
https://codereview.chromium.org/17467003/diff/2001/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://codereview.chromium.org/17467003/diff/2001/build/android/pylib/android_commands.py#newcode64 build/android/pylib/android_commands.py:64: TIMEMODIFIED_DEVICE_FOLDER = constants.TEST_EXECUTABLE_DIR + '/timemodified/' On 2013/06/20 22:52:38, frankf ...
7 years, 5 months ago (2013-07-02 17:26:11 UTC) #3
frankf
https://codereview.chromium.org/17467003/diff/12001/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://codereview.chromium.org/17467003/diff/12001/build/android/pylib/android_commands.py#newcode179 build/android/pylib/android_commands.py:179: return [line.split(' ')[:2] for line in timemodified_output] Is this ...
7 years, 5 months ago (2013-07-02 18:45:29 UTC) #4
craigdh
ptal. https://codereview.chromium.org/17467003/diff/12001/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://codereview.chromium.org/17467003/diff/12001/build/android/pylib/android_commands.py#newcode179 build/android/pylib/android_commands.py:179: return [line.split(' ')[:2] for line in timemodified_output] On ...
7 years, 5 months ago (2013-07-02 20:34:15 UTC) #5
frankf
lgtm
7 years, 5 months ago (2013-07-02 20:55:18 UTC) #6
frankf
On 2013/07/02 20:55:18, frankf wrote: > lgtm Can we try to land this today?
7 years, 5 months ago (2013-07-11 18:22:57 UTC) #7
craigdh
Added digit for tools/android OWNERS.
7 years, 5 months ago (2013-07-11 22:10:33 UTC) #8
craigdh
Wrong digit. +bulach for tools/android OWNERS.
7 years, 5 months ago (2013-07-15 18:20:12 UTC) #9
craigdh
On 2013/07/15 18:20:12, craigdh wrote: > Wrong digit. +bulach for tools/android OWNERS. +digit for tools/android ...
7 years, 5 months ago (2013-07-15 18:23:01 UTC) #10
bulach
lgtm, nice! just devil's advocate: is adb push behavior consistent across different android versions? https://codereview.chromium.org/17467003/diff/58001/build/android/pylib/android_commands.py ...
7 years, 5 months ago (2013-07-15 18:35:20 UTC) #11
craigdh
From what information I could find online and local experimentation "adb push"'s behavior seems to ...
7 years, 5 months ago (2013-07-15 19:06:50 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/17467003/66001
7 years, 5 months ago (2013-07-15 19:09:02 UTC) #13
frankf
https://codereview.chromium.org/17467003/diff/58001/tools/android/timemodified/timemodified.cc File tools/android/timemodified/timemodified.cc (right): https://codereview.chromium.org/17467003/diff/58001/tools/android/timemodified/timemodified.cc#newcode33 tools/android/timemodified/timemodified.cc:33: const std::string svn_dir_component = FILE_PATH_LITERAL("/.svn/"); Actually, this won't work ...
7 years, 5 months ago (2013-07-15 19:16:57 UTC) #14
craigdh
On 2013/07/15 19:16:57, frankf wrote: > https://codereview.chromium.org/17467003/diff/58001/tools/android/timemodified/timemodified.cc > File tools/android/timemodified/timemodified.cc (right): > > https://codereview.chromium.org/17467003/diff/58001/tools/android/timemodified/timemodified.cc#newcode33 > ...
7 years, 5 months ago (2013-07-15 19:18:29 UTC) #15
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 5 months ago (2013-07-15 19:41:50 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/craigdh@chromium.org/17467003/58003
7 years, 5 months ago (2013-07-15 20:15:36 UTC) #17
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 5 months ago (2013-07-15 21:22:18 UTC) #18
digit1
rubberstamp lgtm For the record, I checked the ADB sources, and all versions of it ...
7 years, 5 months ago (2013-07-15 21:26:51 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/craigdh@chromium.org/17467003/58003
7 years, 5 months ago (2013-07-15 22:01:44 UTC) #20
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 5 months ago (2013-07-15 22:09:03 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/craigdh@chromium.org/17467003/70002
7 years, 5 months ago (2013-07-15 22:32:02 UTC) #22
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 5 months ago (2013-07-16 01:12:15 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/craigdh@chromium.org/17467003/107003
7 years, 5 months ago (2013-07-16 18:47:29 UTC) #24
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) base_unittests, browser_tests, cacheinvalidation_unittests, cc_unittests, check_deps, chromedriver2_unittests, ...
7 years, 5 months ago (2013-07-16 21:55:52 UTC) #25
commit-bot: I haz the power
7 years, 5 months ago (2013-07-17 19:34:31 UTC) #26

Powered by Google App Engine
This is Rietveld 408576698