diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2008-08-13 16:04:41 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2008-08-13 22:01:51 +0100 |
commit | 93af67d7fd0fab93d8f9e1bc2de1c38aa65a7a59 (patch) | |
tree | 0be3d0c671a656ee6c625d4a2540819444d739b1 /boilerplate/cairo-boilerplate-svg.c | |
parent | 517e532fb70df7ce5f1d5d9ebf94243ede1307da (diff) | |
download | cairo-93af67d7fd0fab93d8f9e1bc2de1c38aa65a7a59.tar.gz |
[test] Pass a 'complete' name to create_surface().
Construct the test name to pass to the boilerplate creation routines such
that it uniquely identifies the test in terms of test, target, content and
pass (similar, offset, thread). This allows the vector targets to create
output different output files for each test, whereas before, later tests
would overwrite existing files making debugging more difficult.
Diffstat (limited to 'boilerplate/cairo-boilerplate-svg.c')
-rw-r--r-- | boilerplate/cairo-boilerplate-svg.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/boilerplate/cairo-boilerplate-svg.c b/boilerplate/cairo-boilerplate-svg.c index db7e66567..1772988df 100644 --- a/boilerplate/cairo-boilerplate-svg.c +++ b/boilerplate/cairo-boilerplate-svg.c @@ -61,8 +61,7 @@ _cairo_boilerplate_svg_create_surface (const char *name, ptc->width = width; ptc->height = height; - xasprintf (&ptc->filename, "%s-svg-%s-%d-out.svg", - name, cairo_boilerplate_content_name (content), id); + xasprintf (&ptc->filename, "%s-out.svg", name); surface = cairo_svg_surface_create (ptc->filename, width, height); if (cairo_surface_status (surface)) |