[cairo-commit] cairo/test .cvsignore, 1.29, 1.30 Makefile.am, 1.50, 1.51 pdf-surface.c, 1.7, 1.8 ps-surface.c, NONE, 1.1

Carl Worth commit at pdx.freedesktop.org
Tue May 17 01:05:37 PDT 2005


Committed by: cworth

Update of /cvs/cairo/cairo/test
In directory gabe:/tmp/cvs-serv11134/test

Modified Files:
	.cvsignore Makefile.am pdf-surface.c 
Added Files:
	ps-surface.c 
Log Message:

        * test/.cvsignore:
        * test/Makefile.am:
        * test/ps-surface.c: (draw), (main): Add simple test for ps
        surface backend (modeled after pdf-surface.c).

        * test/pdf-surface.c: (main): Add print message telling user to
        examine resulting file.


Index: .cvsignore
===================================================================
RCS file: /cvs/cairo/cairo/test/.cvsignore,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- .cvsignore	16 May 2005 22:05:56 -0000	1.29
+++ .cvsignore	17 May 2005 08:05:35 -0000	1.30
@@ -22,6 +22,8 @@
 path-data
 pdf-surface
 pdf-surface.pdf
+ps-surface
+ps-surface.ps
 pixman-rotate
 rel-path
 scale-source-surface-paint

Index: Makefile.am
===================================================================
RCS file: /cvs/cairo/cairo/test/Makefile.am,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- Makefile.am	16 May 2005 22:05:56 -0000	1.50
+++ Makefile.am	17 May 2005 08:05:35 -0000	1.51
@@ -37,6 +37,10 @@
 TESTS += pdf-surface
 endif
 
+if CAIRO_HAS_PS_SURFACE
+TESTS += ps-surface
+endif
+
 if CAIRO_HAS_XLIB_SURFACE
 TESTS += xlib-surface
 endif
@@ -137,6 +141,7 @@
 paint_with_alpha_LDADD = $(LDADDS)
 path_data_LDADD = $(LDADDS)
 pdf_surface_LDADD = $(LDADDS)
+ps_surface_LDADD = $(LDADDS)
 pixman_rotate_LDADD = $(LDADDS)
 scale_source_surface_paint_LDADD = $(LDADDS)
 select_font_no_show_text_LDADD = $(LDADDS)

Index: pdf-surface.c
===================================================================
RCS file: /cvs/cairo/cairo/test/pdf-surface.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- pdf-surface.c	17 May 2005 07:54:09 -0000	1.7
+++ pdf-surface.c	17 May 2005 08:05:35 -0000	1.8
@@ -108,5 +108,7 @@
     cairo_destroy (cr);
     cairo_surface_destroy (surface);
 
+    printf ("pdf-surface: Please check pdf-surface.pdf to make sure it looks happy.\n");
+
     return 0;
 }

--- NEW FILE: ps-surface.c ---
(This appears to be a binary file; contents omitted.)




More information about the cairo-commit mailing list