]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sat, 17 Nov 2012 21:10:20 +0000 (21:10 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sat, 17 Nov 2012 21:10:20 +0000 (21:10 +0000)
tests/validate.c

index 69c0b1f0f23e6926b87c0f98c7abdada150dafad..b994cb95f9646672bee40ca5b1bd3f60c9633f69 100644 (file)
@@ -1480,8 +1480,19 @@ int main(int argc,char **argv)
             tests+=ValidateConvertCommand(image_info,reference_filename,
               output_filename,&fail,exception);
           if ((type & FormatsInMemoryValidate) != 0)
-            tests+=ValidateImageFormatsInMemory(image_info,reference_filename,
-              output_filename,&fail,exception);
+            {
+              (void) FormatLocaleFile(stdout,"[pixel-cache: memory] ");
+              tests+=ValidateImageFormatsInMemory(image_info,reference_filename,
+                output_filename,&fail,exception);
+              (void) FormatLocaleFile(stdout,"[pixel-cache: memory-mapped] ");
+              (void) SetMagickResourceLimit(MemoryResource,0);
+              tests+=ValidateImageFormatsInMemory(image_info,reference_filename,
+                output_filename,&fail,exception);
+              (void) FormatLocaleFile(stdout,"[pixel-cache: disk] ");
+              (void) SetMagickResourceLimit(MapResource,0);
+              tests+=ValidateImageFormatsInMemory(image_info,reference_filename,
+                output_filename,&fail,exception);
+            }
           if ((type & FormatsOnDiskValidate) != 0)
             {
               (void) FormatLocaleFile(stdout,"[pixel-cache: memory] ");