summaryrefslogtreecommitdiff
path: root/boilerplate/cairo-boilerplate-svg.c
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2011-10-28 17:31:00 +0200
committerAndrea Canciani <ranma42@gmail.com>2011-11-12 20:49:08 +0100
commitabced5b88281a2ada819ccfe670616024765b7f7 (patch)
tree9f49cb8224191e05a67e6b252ba17b561d1d8551 /boilerplate/cairo-boilerplate-svg.c
parentde6a1e68fe89140d37fb4b64374c12a56b64f305 (diff)
boilerplate: Fix svg extension
The svg backend produces .svg files. Using the appropriate extension allows the test suite to check the vector output in addition to the PNG images.
Diffstat (limited to 'boilerplate/cairo-boilerplate-svg.c')
-rw-r--r--boilerplate/cairo-boilerplate-svg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/boilerplate/cairo-boilerplate-svg.c b/boilerplate/cairo-boilerplate-svg.c
index eda2f66c..797106ea 100644
--- a/boilerplate/cairo-boilerplate-svg.c
+++ b/boilerplate/cairo-boilerplate-svg.c
@@ -283,7 +283,7 @@ static const cairo_boilerplate_target_t targets[] = {
* tests. XXX: I'd still like to chase these down at some point.
* For now just set the svg error tolerance to 1. */
{
- "svg11", "svg", NULL, NULL,
+ "svg11", "svg", ".svg", NULL,
CAIRO_SURFACE_TYPE_SVG, CAIRO_CONTENT_COLOR_ALPHA, 1,
"cairo_svg_surface_create",
_cairo_boilerplate_svg11_create_surface,
@@ -296,7 +296,7 @@ static const cairo_boilerplate_target_t targets[] = {
NULL, NULL, FALSE, TRUE, TRUE
},
{
- "svg11", "svg", NULL, NULL,
+ "svg11", "svg", ".svg", NULL,
CAIRO_SURFACE_TYPE_RECORDING, CAIRO_CONTENT_COLOR, 1,
"cairo_svg_surface_create",
_cairo_boilerplate_svg11_create_surface,
@@ -309,7 +309,7 @@ static const cairo_boilerplate_target_t targets[] = {
NULL, NULL, FALSE, TRUE, TRUE
},
{
- "svg12", "svg", NULL, NULL,
+ "svg12", "svg", ".svg", NULL,
CAIRO_SURFACE_TYPE_SVG, CAIRO_CONTENT_COLOR_ALPHA, 1,
"cairo_svg_surface_create",
_cairo_boilerplate_svg12_create_surface,
@@ -322,7 +322,7 @@ static const cairo_boilerplate_target_t targets[] = {
NULL, NULL, FALSE, TRUE, TRUE
},
{
- "svg12", "svg", NULL, NULL,
+ "svg12", "svg", ".svg", NULL,
CAIRO_SURFACE_TYPE_RECORDING, CAIRO_CONTENT_COLOR, 1,
"cairo_svg_surface_create",
_cairo_boilerplate_svg12_create_surface,