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

Issue 274623002: make compare_rendered_pictures_test.py run end-to-end test (Closed)

Created:
6 years, 7 months ago by epoger
Modified:
6 years, 7 months ago
Reviewers:
borenet
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

make compare_rendered_pictures_test.py run end-to-end test 1. generate test SKPs using skpmaker 2. render those SKPs using render_pictures 3. compare results using compare_rendered_pictures.py BUG=skia:1942, skia:2230 NOTRY=True Committed: http://code.google.com/p/skia/source/detail?r=14624

Patch Set 1 #

Total comments: 4

Patch Set 2 : use subprocess.check_output() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -72 lines) Patch
M gm/rebaseline_server/base_unittest.py View 1 2 chunks +25 lines, -0 lines 0 comments Download
M gm/rebaseline_server/compare_rendered_pictures_test.py View 1 2 chunks +65 lines, -6 lines 0 comments Download
D gm/rebaseline_server/testdata/inputs/render_pictures_output/.gitattributes View 1 chunk +0 lines, -1 line 0 comments Download
D gm/rebaseline_server/testdata/inputs/render_pictures_output/after_patch/builder1/bitmap-64bitMD5_11092453015575919668.png View 1 Binary file 0 comments Download
D gm/rebaseline_server/testdata/inputs/render_pictures_output/after_patch/builder1/bitmap-64bitMD5_2520753504544298264.png View 1 Binary file 0 comments Download
D gm/rebaseline_server/testdata/inputs/render_pictures_output/after_patch/builder1/output.json View 1 chunk +0 lines, -24 lines 0 comments Download
D gm/rebaseline_server/testdata/inputs/render_pictures_output/before_patch/builder1/bitmap-64bitMD5_11092453015575919668.png View 1 Binary file 0 comments Download
D gm/rebaseline_server/testdata/inputs/render_pictures_output/before_patch/builder1/bitmap-64bitMD5_8891695120562235492.png View 1 Binary file 0 comments Download
D gm/rebaseline_server/testdata/inputs/render_pictures_output/before_patch/builder1/output.json View 1 chunk +0 lines, -32 lines 0 comments Download
M gm/rebaseline_server/testdata/outputs/expected/compare_rendered_pictures_test.CompareRenderedPicturesTest.test_endToEnd/compare_rendered_pictures.json View 7 chunks +21 lines, -9 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
epoger
Ready for review at patchset 1. https://codereview.chromium.org/274623002/diff/1/gm/rebaseline_server/testdata/outputs/expected/compare_rendered_pictures_test.CompareRenderedPicturesTest.test_endToEnd/compare_rendered_pictures.json File gm/rebaseline_server/testdata/outputs/expected/compare_rendered_pictures_test.CompareRenderedPicturesTest.test_endToEnd/compare_rendered_pictures.json (right): https://codereview.chromium.org/274623002/diff/1/gm/rebaseline_server/testdata/outputs/expected/compare_rendered_pictures_test.CompareRenderedPicturesTest.test_endToEnd/compare_rendered_pictures.json#newcode58 gm/rebaseline_server/testdata/outputs/expected/compare_rendered_pictures_test.CompareRenderedPicturesTest.test_endToEnd/compare_rendered_pictures.json:58: "imageAUrl": "changed_skp/bitmap-64bitMD5_3101044995537104462.png", I ...
6 years, 7 months ago (2014-05-07 14:56:25 UTC) #1
epoger
The trybot failed in ApplyPatch, but I think that's probably because of the image files ...
6 years, 7 months ago (2014-05-07 15:28:29 UTC) #2
borenet
Nice! LGTM but wondering why you didn't use the library function. https://codereview.chromium.org/274623002/diff/1/gm/rebaseline_server/base_unittest.py File gm/rebaseline_server/base_unittest.py (right): ...
6 years, 7 months ago (2014-05-07 18:47:48 UTC) #3
epoger
https://codereview.chromium.org/274623002/diff/1/gm/rebaseline_server/base_unittest.py File gm/rebaseline_server/base_unittest.py (right): https://codereview.chromium.org/274623002/diff/1/gm/rebaseline_server/base_unittest.py#newcode64 gm/rebaseline_server/base_unittest.py:64: def run_command(self, args): On 2014/05/07 18:47:49, borenet wrote: > ...
6 years, 7 months ago (2014-05-07 19:27:49 UTC) #4
epoger
The CQ bit was checked by epoger@google.com
6 years, 7 months ago (2014-05-07 19:28:02 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/epoger@google.com/274623002/20001
6 years, 7 months ago (2014-05-07 19:28:50 UTC) #6
commit-bot: I haz the power
6 years, 7 months ago (2014-05-07 19:29:12 UTC) #7
Message was sent while issue was closed.
Change committed as 14624

Powered by Google App Engine
This is Rietveld 408576698