aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/tests
Commit message (Collapse)AuthorAge
...
* Improve sorting of skdiff output, and make it consistent across platformsGravatar epoger@google.com2012-06-28
| | | | | | | BUG=https://code.google.com/p/skia/issues/detail?id=677 Review URL: https://codereview.appspot.com/6351045 git-svn-id: http://skia.googlecode.com/svn/trunk@4388 2bbb7eff-a529-9590-31e7-b0007b416f81
* skdiff: return nonzero exit value if there are any mismatchesGravatar epoger@google.com2012-05-31
| | | | | | | This will allow us to replace "gm -r" in our buildbots with "skdiff". This will speed things up, and work around http://code.google.com/p/skia/issues/detail?id=473 ('PDF gradtext gm image results are nondeterministic') Review URL: https://codereview.appspot.com/6242071 git-svn-id: http://skia.googlecode.com/svn/trunk@4097 2bbb7eff-a529-9590-31e7-b0007b416f81
* test-only: add test coverage of skdiff over input with identical bits or pixelsGravatar epoger@google.com2012-05-30
| | | | | | Review URL: https://codereview.appspot.com/6260055 git-svn-id: http://skia.googlecode.com/svn/trunk@4084 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add to skdiff: test images for bitwise equality before testing for ↵Gravatar epoger@google.com2012-05-22
| | | | | | | | | | | | | | | | | | | pixel-wise equality - we now check for bitwise equality of files before bothering with pixel comparisons (this will help with formats for which we don't have good decoders, like PDF) - unparsable files are now reported as differing, unless they are bitwise equal (before, they were always reported as matching!) - "largest area mismatch" is now based on same-size image pairs only; previously, if any image pairs had mismatching size, it was 100% - removed repetitive "image size mismatch, so no diff to display" messages - changed format of leftmost table cells to be more readable BUG=http://code.google.com/p/skia/issues/detail?id=473 Review URL: https://codereview.appspot.com/6208089 git-svn-id: http://skia.googlecode.com/svn/trunk@4027 2bbb7eff-a529-9590-31e7-b0007b416f81
* skdiff test-only change: add test of --nodiffs mode, make tests validate ↵Gravatar epoger@google.com2012-05-18
| | | | | | | | return value Review URL: https://codereview.appspot.com/6206085 git-svn-id: http://skia.googlecode.com/svn/trunk@3999 2bbb7eff-a529-9590-31e7-b0007b416f81
* test-only change: update run.sh and rearrange dirs to ease addition of more ↵Gravatar epoger@google.com2012-05-17
| | | | | | | | tests Review URL: https://codereview.appspot.com/6220044 git-svn-id: http://skia.googlecode.com/svn/trunk@3995 2bbb7eff-a529-9590-31e7-b0007b416f81
* test-only changes: add more image files to test more skdiff behaviorGravatar epoger@google.com2012-05-16
| | | | | | | | | Tests output order for very vs. slightly different pixels, very vs. slightly different image sizes, etc. TBR=tomhudson@google.com Review URL: https://codereview.appspot.com/6213049 git-svn-id: http://skia.googlecode.com/svn/trunk@3977 2bbb7eff-a529-9590-31e7-b0007b416f81
* skdiff: only write out diff images that are included in index.htmlGravatar epoger@google.com2012-05-16
| | | | | | | Not only are those files unnecessary, in some different-image-size cases, their contents are nondeterministic! Review URL: https://codereview.appspot.com/6208073 git-svn-id: http://skia.googlecode.com/svn/trunk@3975 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add self-test for skdiff, and remove date/time from skdiff output so it passes.Gravatar epoger@google.com2012-05-15
| | | | | | | BUG=http://code.google.com/p/skia/issues/detail?id=612 Review URL: https://codereview.appspot.com/6198074 git-svn-id: http://skia.googlecode.com/svn/trunk@3938 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rename tests/images dir as tests/skdiffGravatar epoger@google.com2012-05-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3930 2bbb7eff-a529-9590-31e7-b0007b416f81
* Images for testing skdiff toolGravatar epoger@google.com2012-05-14
Review URL: https://codereview.appspot.com/6208056 git-svn-id: http://skia.googlecode.com/svn/trunk@3922 2bbb7eff-a529-9590-31e7-b0007b416f81