From bda201a1b108a687bb6889cb94b525e8fa5af79c Mon Sep 17 00:00:00 2001 From: cristy Date: Thu, 8 Nov 2012 16:44:00 +0000 Subject: [PATCH] --- tests/validate.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) 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); -- 2.50.1