skia2/tools/tests
scroggo@google.com 36c5bdb097 Truly ignore failures in skimage.
If the expectation is set to ignore failures, do not return a
negative 1 (indicating a failure) when a successful decode
does not match the expectation.

If the file could not be decoded at all, report this to the
user depending on the input expectations file:

No expectations:
Report failure. The user wanted to know if the file could be
decoded.

Expectations expected a valid result:
Report failure. The decode should have matched the result.

Empty expectations:
Print a message that the expectation was missing, but still
return success from skimage, since this is a newly added file
(i.e. it has no expectation yet).

Ignore failure:
Return success from skimage, since it is a known failure.

Update the self tests to ensure these behaviors.

R=epoger@google.com

Review URL: https://codereview.chromium.org/22293006

git-svn-id: http://skia.googlecode.com/svn/trunk@11790 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-10-15 20:29:37 +00:00
..
benchgraphs/Skia_Shuttle_Ubuntu12_ATI5770_Float_Bench_32/output-expected bench_graph_svg: add r7618 results (NOT per-tile) to self-test source data 2013-02-17 08:33:27 +00:00
jsondiff Create jsondiff tool to capture diffs between two JSON expectations files. 2013-07-02 20:22:27 +00:00
rebaseline Add forgotten file from https://code.google.com/p/skia/source/detail?r=11063 2013-09-03 18:31:25 +00:00
skdiff * Extended skdiff to report alpha channel differences. 2013-01-03 19:23:22 +00:00
skimage Truly ignore failures in skimage. 2013-10-15 20:29:37 +00:00
bench_pictures_cfg_test.py Enable per-tile logging in bench_pictures 2013-01-11 20:45:24 +00:00
rebaseline.sh Create jsondiff tool to capture diffs between two JSON expectations files. 2013-07-02 20:22:27 +00:00
run.sh Suppresses failing test due to change of bench_graph_svg. Will fix later. 2013-10-15 00:35:18 +00:00
skimage_self_test.py Truly ignore failures in skimage. 2013-10-15 20:29:37 +00:00