Bug 1240629. Add reftest.

This commit is contained in:
Timothy Nikkel 2016-02-12 16:58:34 -06:00
parent bec762a175
commit b920f0a253
3 changed files with 8 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 B

View File

@ -6,3 +6,11 @@ include bmp-8bpp/reftest.list
include bmp-24bpp/reftest.list include bmp-24bpp/reftest.list
include bmp-corrupted/reftest.list include bmp-corrupted/reftest.list
include bmpsuite/reftest.list include bmpsuite/reftest.list
# Two bmp files where the offset to the start of the image data in the file
# is past the end of the file. In 1240629-1.bmp the offset us uint32_max,
# so we are testing that we don't try to allocate a buffer that size (and
# fail on 32 bit platforms) and declare the image in error state. If in the
# future we decide that such bmps (offset past the end of the file) are
# invalid the test will still pass, but won't be testing much.
== 1240629-1.bmp 1240629-2.bmp