History log of /external/autotest/client/common_lib/file_utils.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
34fdca477cb30bb7ee751648505b8121e129a587 01-Jun-2015 Ed Baker <edward.baker@intel.com> Add HTTP proxy config for client downloads

Client downloads timeout when the device under test is behind a proxy. This
introduces an optional config setting which is then picked up in file_utils.

BUG=chromium:496264
TEST=`test_that ${DUT_IP} platform_Crouton video_PlaybackPerf.vp8`

Change-Id: Ibea4414314c32395f86ab8268449d3a6fb6cc68b
Reviewed-on: https://chromium-review.googlesource.com/274846
Commit-Ready: Edward Baker <edward.baker@intel.com>
Tested-by: Edward Baker <edward.baker@intel.com>
Reviewed-by: Dan Shi <dshi@chromium.org>
/external/autotest/client/common_lib/file_utils.py
45745d81cc3c2c403092d1c320356fb47f660365 27-Aug-2014 Mussa <mussa@chromium.org> Add verification to ui_SystemTray tests.

Initially, we had the 'test' only collect screenshots of the
system tray with the intent to watch how the tray varies and
assess the general viability of image comparison based tests
in this area.

After watching the screenshots for a number of builds, it makes
sense to start with just the language indicator portion of the
tray.

This change collects this particular portion of the system tray,
pulls down a golden version of it and runs the comparison.

Comparisons are done locally first with a simple pixel by pixel
array walk. Failures are uploaded to bp for later viewing.

BUG=chromium:374981
TEST=Ran tests against a local link.
TEST=Ran video glitch detection tests also.

Change-Id: Ic5316d4d17a125b878c3c22b86568c554cf41186
Reviewed-on: https://chromium-review.googlesource.com/214380
Reviewed-by: Tracy Turchetto <tturchetto@chromium.org>
Tested-by: Mussa Kiroga <mussa@chromium.org>
Commit-Queue: Mussa Kiroga <mussa@chromium.org>
/external/autotest/client/common_lib/file_utils.py
5fec82c7a2f6315874629f7c0fed46364cecd9ee 27-May-2014 mussa <mussa@google.com> Fix minor issues in video screenshot tests.

Ran tests only on boards we care about, for the rest raise TestNAError

We had splitted our CL to multiple smaller changelists. We fixed issues
in those CLs iteratively.

This CL makes minor fixes so that the whole things works again.

BUG=chromium:363815
TEST=Ran test locally that use the whole code.

Change-Id: I155acb6992f2449c8b20596eb5c83c620da20c76
Reviewed-on: https://chromium-review.googlesource.com/201698
Reviewed-by: Rohit Makasana <rohitbm@chromium.org>
Reviewed-by: Kris Rambish <krisr@chromium.org>
Commit-Queue: Rohit Makasana <rohitbm@chromium.org>
Tested-by: Rohit Makasana <rohitbm@chromium.org>
/external/autotest/client/common_lib/file_utils.py
fd5b805a7c4b2ede054a7b82f8be2d0ba8200baf 06-May-2014 mussa <mussa@google.com> Add file utilities to support screenshot capturing.

Adds a file_utils.py file which provides methods to create and remove file/dirs.
These are wrappers around python utilies, however, the create method for example,
will not fail if the file/directory already exists.

BUG=chromium:363815
TEST=Ran local tests that use file_utils.py. Need to run existing tests that use site_utils.py

Adds a method in site_utils.py to take a cropped screenshots. We are only cropping
by height, adjusting width to retain aspect ratio.
We don't need a crop by width method at this time and so we do not provide it with this change.

Change-Id: I9f0943dc518c7ad96044d0a314c4422bba0a087f
Reviewed-on: https://chromium-review.googlesource.com/198395
Reviewed-by: Kris Rambish <krisr@chromium.org>
Reviewed-by: Rohit Makasana <rohitbm@chromium.org>
Commit-Queue: Rohit Makasana <rohitbm@chromium.org>
Tested-by: Rohit Makasana <rohitbm@chromium.org>
/external/autotest/client/common_lib/file_utils.py