diff options
author | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-10-22 00:42:46 +0000 |
---|---|---|
committer | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-10-22 00:42:46 +0000 |
commit | 5187c4313cd6b1dea82c43fa5af466576e4025f1 (patch) | |
tree | d790876111b9820a9ff76491395aee78c2278f55 /expectations/skimage/Test-Mac10.7-MacMini4.1-GeForce320M-x86_64-Release | |
parent | 380355eff33a011bc0c9e11c63b6b5361ac55b67 (diff) |
More work to integrate skimage with rebaseline tools.
tools/skimage_main.cpp:
Add the ability to write the results to checksum based filenames,
much like GM uses. This will allow using the skpdiff server to
rebaseline images.
Write the keys in the JSON file as <original image>_<pref config>.png,
so it matches gm_json.IMAGE_FILENAME_PATTERN. Also replace '_' with
'-' in the original file name, to avoid confusing the pattern matcher.
The '_' to '-' replacement also happens on the output filename.
Read the keys in a similar manner.
In make_outname, no longer remove a suffix. This fixes a bug where
subset decoding writes multiple subsets to the same file.
tools/rebaseline.py:
Since the filenames written to json files now match
gm_json.IMAGE_FILENAME_PATTERN, enable the option to match based
on configs/tests when rebaselining skimage.
test json files:
Update to match the new format of output.
gm/gm_expectations:
Add a constructor that takes a BitmapAndDigest as input.
tools/tests/skimage_self_test.py:
Test that reading the expectations file just created by skimage with
the same file actually compares to the original file (rather than just
succeeding because expectations were missing).
Change the expectations files to match the new format.
Will require a buildbot change to use the new flag: https://codereview.chromium.org/27389002/
BUG=1466
R=epoger@google.com
Review URL: https://codereview.chromium.org/26297004
git-svn-id: http://skia.googlecode.com/svn/trunk@11902 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'expectations/skimage/Test-Mac10.7-MacMini4.1-GeForce320M-x86_64-Release')
-rw-r--r-- | expectations/skimage/Test-Mac10.7-MacMini4.1-GeForce320M-x86_64-Release/expected-results.json | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/expectations/skimage/Test-Mac10.7-MacMini4.1-GeForce320M-x86_64-Release/expected-results.json b/expectations/skimage/Test-Mac10.7-MacMini4.1-GeForce320M-x86_64-Release/expected-results.json index 86020047ab..53597e135c 100644 --- a/expectations/skimage/Test-Mac10.7-MacMini4.1-GeForce320M-x86_64-Release/expected-results.json +++ b/expectations/skimage/Test-Mac10.7-MacMini4.1-GeForce320M-x86_64-Release/expected-results.json @@ -6,7 +6,7 @@ "succeeded": null }, "expected-results": { - "01_original.jpg": { + "01-original-jpg-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -15,7 +15,7 @@ ], "ignore-failure": false }, - "02_empty_filter.JPG": { + "02-empty-filter-JPG-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -24,7 +24,7 @@ ], "ignore-failure": false }, - "03_none_filter.JPG": { + "03-none-filter-JPG-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -33,7 +33,7 @@ ], "ignore-failure": false }, - "1.bmp": { + "1-bmp-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -42,7 +42,7 @@ ], "ignore-failure": false }, - "5.sm.webp": { + "5-sm-webp-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -51,7 +51,7 @@ ], "ignore-failure": false }, - "5.sm.webp_[103,149,154,207]": { + "5-sm-webp-[103,149,154,207]-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -60,7 +60,7 @@ ], "ignore-failure": false }, - "5.sm.webp_[110,45,267,119]": { + "5-sm-webp-[110,45,267,119]-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -69,7 +69,7 @@ ], "ignore-failure": false }, - "5.sm.webp_[194,120,303,142]": { + "5-sm-webp-[194,120,303,142]-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -78,7 +78,7 @@ ], "ignore-failure": false }, - "5.sm.webp_[223,42,242,84]": { + "5-sm-webp-[223,42,242,84]-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -87,7 +87,7 @@ ], "ignore-failure": false }, - "5.sm.webp_[67,3,262,9]": { + "5-sm-webp-[67,3,262,9]-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -96,7 +96,7 @@ ], "ignore-failure": false }, - "CMYK.jpg": { + "CMYK-jpg-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -105,7 +105,7 @@ ], "ignore-failure": false }, - "Lower_Left.jpg": { + "Lower-Left-jpg-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -114,7 +114,7 @@ ], "ignore-failure": false }, - "Lower_Right.jpg": { + "Lower-Right-jpg-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -123,7 +123,7 @@ ], "ignore-failure": false }, - "PANO_20121023_214540.jpg": { + "PANO-20121023-214540-jpg-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -132,7 +132,7 @@ ], "ignore-failure": false }, - "Softskin-Series-Folder-Folder-TV-DEXTER-2.ico": { + "Softskin-Series-Folder-Folder-TV-DEXTER-2-ico-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -141,7 +141,7 @@ ], "ignore-failure": false }, - "Upper_Left.jpg": { + "Upper-Left-jpg-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -150,7 +150,7 @@ ], "ignore-failure": false }, - "Upper_Right.jpg": { + "Upper-Right-jpg-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -159,7 +159,7 @@ ], "ignore-failure": false }, - "art.jpg": { + "art-jpg-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -168,7 +168,7 @@ ], "ignore-failure": false }, - "baseline_jpeg.jpg": { + "baseline-jpeg-jpg-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -177,7 +177,7 @@ ], "ignore-failure": false }, - "baseline_restart_jpeg.jpg": { + "baseline-restart-jpeg-jpg-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -186,7 +186,7 @@ ], "ignore-failure": false }, - "bmp_test.bmp": { + "bmp-test-bmp-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -195,7 +195,7 @@ ], "ignore-failure": false }, - "desk_yahoonews_0.jpg": { + "desk-yahoonews-0-jpg-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -204,7 +204,7 @@ ], "ignore-failure": false }, - "kokteylogo.png": { + "kokteylogo-png-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -213,7 +213,7 @@ ], "ignore-failure": false }, - "photo.jpg.png": { + "photo-jpg-png-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -222,7 +222,7 @@ ], "ignore-failure": false }, - "png_test.png": { + "png-test-png-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -231,7 +231,7 @@ ], "ignore-failure": false }, - "progressive_jpeg.jpg": { + "progressive-jpeg-jpg-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -240,7 +240,7 @@ ], "ignore-failure": false }, - "progressive_restart_jpeg.jpg": { + "progressive-restart-jpeg-jpg-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -249,7 +249,7 @@ ], "ignore-failure": false }, - "tabl_mozilla_0.jpg": { + "tabl-mozilla-0-jpg-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -258,7 +258,7 @@ ], "ignore-failure": false }, - "webp_test.webp": { + "webp-test-webp-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -267,7 +267,7 @@ ], "ignore-failure": false }, - "webp_test.webp_[103,17,154,124]": { + "webp-test-webp-[103,17,154,124]-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -276,7 +276,7 @@ ], "ignore-failure": false }, - "webp_test.webp_[110,85,267,304]": { + "webp-test-webp-[110,85,267,304]-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -285,7 +285,7 @@ ], "ignore-failure": false }, - "webp_test.webp_[223,404,562,457]": { + "webp-test-webp-[223,404,562,457]-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -294,7 +294,7 @@ ], "ignore-failure": false }, - "webp_test.webp_[262,269,387,328]": { + "webp-test-webp-[262,269,387,328]-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", @@ -303,7 +303,7 @@ ], "ignore-failure": false }, - "webp_test.webp_[514,217,623,260]": { + "webp-test-webp-[514,217,623,260]-8888-png_8888.png" : { "allowed-digests": [ [ "bitmap-64bitMD5", |