DescriptionTruly 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
Committed: https://code.google.com/p/skia/source/detail?r=11790
Patch Set 1 #Patch Set 2 : #Patch Set 3 : More tests! #
Total comments: 15
Patch Set 4 : Respond to comments. #
Total comments: 2
Patch Set 5 : Fix a typo #
Messages
Total messages: 9 (0 generated)
|