[cairo-commit] cairo-perl/t CairoSurface.t,1.17,1.17.2.1

Torsten Schoenfeld commit at pdx.freedesktop.org
Sat Nov 11 12:04:26 PST 2006


Committed by: tsch

Update of /cvs/cairo/cairo-perl/t
In directory kemper:/tmp/cvs-serv26320/t

Modified Files:
      Tag: stable-1-0
	CairoSurface.t 
Log Message:
	* t/CairoSurface.t: Skip content tests on old cairo's.


Index: CairoSurface.t
===================================================================
RCS file: /cvs/cairo/cairo-perl/t/CairoSurface.t,v
retrieving revision 1.17
retrieving revision 1.17.2.1
diff -u -d -r1.17 -r1.17.2.1
--- CairoSurface.t	9 Nov 2006 18:44:49 -0000	1.17
+++ CairoSurface.t	11 Nov 2006 20:04:23 -0000	1.17.2.1
@@ -52,7 +52,10 @@
 
 # Test that the enum wrappers differentiate between color and color-alpha.
 # Duh!
-{
+SKIP: {
+	skip 'content tests', 2
+		unless Cairo::VERSION >= Cairo::VERSION_ENCODE (1, 2, 0);
+
 	my $tmp = $surf->create_similar ('color-alpha', IMG_WIDTH, IMG_HEIGHT);
 	is ($tmp->get_content, 'color-alpha');
 	$tmp = $surf->create_similar ('color', IMG_WIDTH, IMG_HEIGHT);



More information about the cairo-commit mailing list