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

Issue 26734006: Changes needed to rebaseline skimage with rebaseline.py. (Closed)

Created:
7 years, 2 months ago by scroggo
Modified:
7 years, 2 months ago
Reviewers:
epoger
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Changes needed to rebaseline skimage with rebaseline.py. rebaseline.py expects all result json files to have the same name, and be located in a folder corresponding to the builder name. It expects the expectations json files to also have the same name (as each other, not the result json files) in a folder corresponding to the builder name. This CL modifies prerender.py and run_decoding_tests to copy to/ read from expectations json files that match this pattern. It also modifies run_decoding_tests and upload_skimage_results to write/upload the result files that match this pattern. TODO: Upload the images results by their hash digests. Requires a change in trunk to move the expectations files to conform to this pattern: https://code.google.com/p/skia/source/detail?r=11698 BUG=skia:1466 R=epoger@google.com Committed: https://code.google.com/p/skia/source/detail?r=11712

Patch Set 1 #

Patch Set 2 : Create subdir on the device. #

Total comments: 6

Patch Set 3 : Respond to comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -10 lines) Patch
M slave/skia_slave_scripts/prerender.py View 1 2 chunks +9 lines, -3 lines 0 comments Download
M slave/skia_slave_scripts/run_decoding_tests.py View 1 2 1 chunk +9 lines, -7 lines 0 comments Download
M slave/skia_slave_scripts/upload_skimage_results.py View 1 2 2 chunks +21 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
scroggo
https://codereview.chromium.org/26734006/diff/3001/slave/skia_slave_scripts/prerender.py File slave/skia_slave_scripts/prerender.py (right): https://codereview.chromium.org/26734006/diff/3001/slave/skia_slave_scripts/prerender.py#newcode72 slave/skia_slave_scripts/prerender.py:72: self._flavor_utils.CreateCleanDeviceDirectory(skimage_device_subdir) It might be cleaner to just call CopyDirectoryContentsToHost ...
7 years, 2 months ago (2013-10-10 00:01:30 UTC) #1
epoger
LGTM at patchset 2, with or without suggestions https://codereview.chromium.org/26734006/diff/3001/slave/skia_slave_scripts/prerender.py File slave/skia_slave_scripts/prerender.py (right): https://codereview.chromium.org/26734006/diff/3001/slave/skia_slave_scripts/prerender.py#newcode72 slave/skia_slave_scripts/prerender.py:72: self._flavor_utils.CreateCleanDeviceDirectory(skimage_device_subdir) ...
7 years, 2 months ago (2013-10-10 14:51:42 UTC) #2
scroggo
https://codereview.chromium.org/26734006/diff/3001/slave/skia_slave_scripts/run_decoding_tests.py File slave/skia_slave_scripts/run_decoding_tests.py (right): https://codereview.chromium.org/26734006/diff/3001/slave/skia_slave_scripts/run_decoding_tests.py#newcode34 slave/skia_slave_scripts/run_decoding_tests.py:34: device_subdir, 'actual-results.json') On 2013/10/10 14:51:42, epoger wrote: > maybe ...
7 years, 2 months ago (2013-10-10 16:09:59 UTC) #3
epoger
lgtm
7 years, 2 months ago (2013-10-10 16:18:53 UTC) #4
scroggo
7 years, 2 months ago (2013-10-10 19:47:26 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 manually as r11712 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698