DescriptionPush 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 #
Messages
Total messages: 8 (2 generated)
|