5187c4313c
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 |
||
---|---|---|
.. | ||
Test-Android-GalaxyNexus-SGX540-Arm7-Debug | ||
Test-Android-GalaxyNexus-SGX540-Arm7-Release | ||
Test-Android-IntelRhb-SGX544-x86-Debug | ||
Test-Android-IntelRhb-SGX544-x86-Release | ||
Test-Android-Nexus4-Adreno320-Arm7-Debug | ||
Test-Android-Nexus4-Adreno320-Arm7-Release | ||
Test-Android-Nexus7-Tegra3-Arm7-Debug | ||
Test-Android-Nexus7-Tegra3-Arm7-Release | ||
Test-Android-Nexus10-MaliT604-Arm7-Debug | ||
Test-Android-Nexus10-MaliT604-Arm7-Release | ||
Test-Android-NexusS-SGX540-Arm7-Debug | ||
Test-Android-NexusS-SGX540-Arm7-Release | ||
Test-Android-Xoom-Tegra2-Arm7-Debug | ||
Test-Android-Xoom-Tegra2-Arm7-Release | ||
Test-ChromeOS-Alex-GMA3150-x86-Debug | ||
Test-ChromeOS-Alex-GMA3150-x86-Release | ||
Test-ChromeOS-Daisy-MaliT604-Arm7-Debug | ||
Test-ChromeOS-Daisy-MaliT604-Arm7-Release | ||
Test-ChromeOS-Link-HD4000-x86_64-Debug | ||
Test-ChromeOS-Link-HD4000-x86_64-Release | ||
Test-Mac10.6-MacMini4.1-GeForce320M-x86_64-Debug | ||
Test-Mac10.6-MacMini4.1-GeForce320M-x86_64-Release | ||
Test-Mac10.6-MacMini4.1-GeForce320M-x86-Debug | ||
Test-Mac10.6-MacMini4.1-GeForce320M-x86-Release | ||
Test-Mac10.7-MacMini4.1-GeForce320M-x86_64-Debug | ||
Test-Mac10.7-MacMini4.1-GeForce320M-x86_64-Release | ||
Test-Mac10.7-MacMini4.1-GeForce320M-x86-Debug | ||
Test-Mac10.7-MacMini4.1-GeForce320M-x86-Release | ||
Test-Mac10.8-MacMini4.1-GeForce320M-x86_64-Debug | ||
Test-Mac10.8-MacMini4.1-GeForce320M-x86_64-Release | ||
Test-Mac10.8-MacMini4.1-GeForce320M-x86-Debug | ||
Test-Mac10.8-MacMini4.1-GeForce320M-x86-Release | ||
Test-Ubuntu12-ShuttleA-ATI5770-x86_64-Debug | ||
Test-Ubuntu12-ShuttleA-ATI5770-x86_64-Release | ||
Test-Ubuntu12-ShuttleA-ATI5770-x86-Debug | ||
Test-Ubuntu12-ShuttleA-ATI5770-x86-Release | ||
Test-Ubuntu12-ShuttleA-HD2000-x86_64-Release-Valgrind | ||
Test-Ubuntu12-ShuttleA-NoGPU-x86_64-Debug | ||
Test-Ubuntu13-ShuttleA-HD2000-x86_64-Debug-ASAN | ||
Test-Win7-ShuttleA-HD2000-x86_64-Debug | ||
Test-Win7-ShuttleA-HD2000-x86_64-Release | ||
Test-Win7-ShuttleA-HD2000-x86-Debug | ||
Test-Win7-ShuttleA-HD2000-x86-Debug-ANGLE | ||
Test-Win7-ShuttleA-HD2000-x86-Debug-DirectWrite | ||
Test-Win7-ShuttleA-HD2000-x86-Release | ||
Test-Win7-ShuttleA-HD2000-x86-Release-ANGLE | ||
Test-Win7-ShuttleA-HD2000-x86-Release-DirectWrite |