]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - filter/testraster.c
Merge changes from CUPS 1.5svn-r9567
[thirdparty/cups.git] / filter / testraster.c
index 3f99b1d3a3a8b8631f6d17cde8372601cdf7b2cb..48085c4fbca6e701331ad6c02ae5927ccc4e5a2b 100644 (file)
@@ -3,7 +3,7 @@
  *
  *   Raster test program routines for CUPS.
  *
- *   Copyright 2007-2010 by Apple Inc.
+ *   Copyright 2007-2011 by Apple Inc.
  *   Copyright 1997-2007 by Easy Software Products.
  *
  *   These coded instructions, statements, and computer programs are the
@@ -214,6 +214,7 @@ main(int  argc,                             /* I - Number of command-line args */
     errors = do_ps_tests();
     errors += do_raster_tests(CUPS_RASTER_WRITE);
     errors += do_raster_tests(CUPS_RASTER_WRITE_COMPRESSED);
+    errors += do_raster_tests(CUPS_RASTER_WRITE_PWG);
   }
   else
   {
@@ -543,7 +544,8 @@ do_raster_tests(cups_mode_t mode)   /* O - Write mode */
 
   printf("cupsRasterOpen(%s): ",
          mode == CUPS_RASTER_WRITE ? "CUPS_RASTER_WRITE" :
-                                    "CUPS_RASTER_WRITE_COMPRESSED");
+            mode == CUPS_RASTER_WRITE ? "CUPS_RASTER_WRITE_COMPRESSED" :
+                                        "CUPS_RASTER_WRITE_PWG");
   fflush(stdout);
 
   if ((fp = fopen("test.raster", "wb")) == NULL)