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

Issue 715153002: Push uiautomator test jar to its own folder in tmp (Closed)

Created:
6 years, 1 month ago by davileen
Modified:
6 years, 1 month 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
Project:
chromium
Visibility:
Public.

Description

Push uiautomator test jar to its own folder in tmp When running uiautomator tests through test_runner the contents of /data/local/tmp is hashed using md5sum_bin to see if a push is needed. This is inefficient when tmp contains unrelated large files, and it relies on md5sum.cc to be able to handle a wide range of filetypes including named pipes. By transferring chrome_shell_uiautomator.dex.jar to /data/local/tmp/uiautomator we hash fewer files, and can be confident that the files are only files we care about (of type .jar or .dex.jar). Tested on a Nexus: ./build/android/test_runner.py uiautomator -v -v --test-jar=chrome_shell_uiautomator_tests --package=chrome_shell BUG=432341 Committed: https://crrev.com/cc91e2ffbdff758fb3f89f3521bb6f0539383c43 Cr-Commit-Position: refs/heads/master@{#303872}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -2 lines) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 0 comments Download
M build/android/pylib/uiautomator/test_package.py View 2 chunks +7 lines, -1 line 0 comments Download
M build/android/pylib/uiautomator/test_runner.py View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 8 (2 generated)
davileen
Hi jbudorick, Here's a proposed fix for https://code.google.com/p/chromium/issues/detail?id=432341 Please let me know what you think. ...
6 years, 1 month ago (2014-11-12 01:06:52 UTC) #2
jbudorick
Hi David, This change lgtm as a fix for the immediate issue. However, the long ...
6 years, 1 month ago (2014-11-12 15:37:20 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/715153002/1
6 years, 1 month ago (2014-11-12 18:31:21 UTC) #5
davileen
On 2014/11/12 15:37:20, jbudorick wrote: > Hi David, > > This change lgtm as a ...
6 years, 1 month ago (2014-11-12 19:26:46 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
6 years, 1 month ago (2014-11-12 19:33:18 UTC) #7
commit-bot: I haz the power
6 years, 1 month ago (2014-11-12 19:33:57 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/cc91e2ffbdff758fb3f89f3521bb6f0539383c43
Cr-Commit-Position: refs/heads/master@{#303872}

Powered by Google App Engine
This is Rietveld 408576698