From: cristy Date: Thu, 8 Nov 2012 16:44:00 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~4739 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bda201a1b108a687bb6889cb94b525e8fa5af79c;p=imagemagick --- diff --git a/tests/validate.c b/tests/validate.c index 7b391801e..64b3ec1b7 100644 --- a/tests/validate.c +++ b/tests/validate.c @@ -1483,8 +1483,20 @@ int main(int argc,char **argv) tests+=ValidateImageFormatsInMemory(image_info,reference_filename, output_filename,&fail,exception); if ((type & FormatsOnDiskValidate) != 0) - tests+=ValidateImageFormatsOnDisk(image_info,reference_filename, - output_filename,&fail,exception); + { + /* + Validate image formats on disk with pixel cache in + memory, memory-mapped, and on disk. + */ + tests+=ValidateImageFormatsOnDisk(image_info,reference_filename, + output_filename,&fail,exception); + (void) SetMagickResourceLimit(MemoryResource,0); + tests+=ValidateImageFormatsOnDisk(image_info,reference_filename, + output_filename,&fail,exception); + (void) SetMagickResourceLimit(MapResource,0); + tests+=ValidateImageFormatsOnDisk(image_info,reference_filename, + output_filename,&fail,exception); + } if ((type & IdentifyValidate) != 0) tests+=ValidateIdentifyCommand(image_info,reference_filename, output_filename,&fail,exception);