mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-06 08:30:17 +01:00
test: Restrict the coverage tests to raster targets.
Typo inside the requirements failed to prevent the tests running on the vector backends.
This commit is contained in:
parent
b49c944fe4
commit
c761e0c5bb
3 changed files with 13 additions and 13 deletions
|
|
@ -123,13 +123,13 @@ triangles (cairo_t *cr, int width, int height)
|
|||
CAIRO_TEST (coverage_rectangles,
|
||||
"Check the fidelity of the rasterisation.",
|
||||
NULL, /* keywords */
|
||||
"raster", /* requirements */
|
||||
"target=raster", /* requirements */
|
||||
WIDTH, HEIGHT,
|
||||
NULL, rectangles)
|
||||
|
||||
CAIRO_TEST (coverage_triangles,
|
||||
"Check the fidelity of the rasterisation.",
|
||||
NULL, /* keywords */
|
||||
"raster", /* requirements */
|
||||
"target=raster", /* requirements */
|
||||
WIDTH, HEIGHT,
|
||||
NULL, triangles)
|
||||
|
|
|
|||
|
|
@ -143,13 +143,13 @@ triangles (cairo_t *cr, int width, int height)
|
|||
CAIRO_TEST (half_coverage_rectangles,
|
||||
"Check the fidelity of the rasterisation.",
|
||||
NULL, /* keywords */
|
||||
"raster", /* requirements */
|
||||
"target=raster", /* requirements */
|
||||
WIDTH * SIZE, HEIGHT,
|
||||
NULL, rectangles)
|
||||
|
||||
CAIRO_TEST (half_coverage_triangles,
|
||||
"Check the fidelity of the rasterisation.",
|
||||
NULL, /* keywords */
|
||||
"raster", /* requirements */
|
||||
"target=raster", /* requirements */
|
||||
WIDTH * SIZE, HEIGHT,
|
||||
NULL, triangles)
|
||||
|
|
|
|||
|
|
@ -494,56 +494,56 @@ triangles (cairo_t *cr, int width, int height)
|
|||
CAIRO_TEST (partial_coverage_rectangles,
|
||||
"Check the fidelity of the rasterisation.",
|
||||
"coverage raster", /* keywords */
|
||||
"raster", /* requirements */
|
||||
"target=raster", /* requirements */
|
||||
SIZE, SIZE,
|
||||
NULL, rectangles)
|
||||
|
||||
CAIRO_TEST (partial_coverage_triangles,
|
||||
"Check the fidelity of the rasterisation.",
|
||||
"coverage raster", /* keywords */
|
||||
"raster", /* requirements */
|
||||
"target=raster", /* requirements */
|
||||
SIZE, SIZE,
|
||||
NULL, triangles)
|
||||
CAIRO_TEST (partial_coverage_overlap_three_quarter_triangles,
|
||||
"Check the fidelity of the rasterisation.",
|
||||
"coverage raster", /* keywords */
|
||||
"raster", /* requirements */
|
||||
"target=raster", /* requirements */
|
||||
SIZE, SIZE,
|
||||
NULL, overlap_three_quarter_triangles)
|
||||
CAIRO_TEST (partial_coverage_overlap_half_triangles_eo,
|
||||
"Check the fidelity of the rasterisation.",
|
||||
"coverage raster", /* keywords */
|
||||
"raster", /* requirements */
|
||||
"target=raster", /* requirements */
|
||||
SIZE, SIZE,
|
||||
NULL, overlap_half_triangles_eo)
|
||||
CAIRO_TEST (partial_coverage_overlap_half_triangles,
|
||||
"Check the fidelity of the rasterisation.",
|
||||
"coverage raster", /* keywords */
|
||||
"raster", /* requirements */
|
||||
"target=raster", /* requirements */
|
||||
SIZE, SIZE,
|
||||
NULL, overlap_half_triangles)
|
||||
CAIRO_TEST (partial_coverage_half_triangles,
|
||||
"Check the fidelity of the rasterisation.",
|
||||
"coverage raster", /* keywords */
|
||||
"raster", /* requirements */
|
||||
"target=raster", /* requirements */
|
||||
SIZE, SIZE,
|
||||
NULL, half_triangles)
|
||||
|
||||
CAIRO_TEST (partial_coverage_reference,
|
||||
"Check the fidelity of this test.",
|
||||
"coverage raster", /* keywords */
|
||||
"raster", /* requirements */
|
||||
"target=raster", /* requirements */
|
||||
SIZE, SIZE,
|
||||
NULL, reference)
|
||||
CAIRO_TEST (partial_coverage_three_quarter_reference,
|
||||
"Check the fidelity of this test.",
|
||||
"coverage raster", /* keywords */
|
||||
"raster", /* requirements */
|
||||
"target=raster", /* requirements */
|
||||
SIZE, SIZE,
|
||||
NULL, three_quarter_reference)
|
||||
CAIRO_TEST (partial_coverage_half_reference,
|
||||
"Check the fidelity of this test.",
|
||||
"coverage raster", /* keywords */
|
||||
"raster", /* requirements */
|
||||
"target=raster", /* requirements */
|
||||
SIZE, SIZE,
|
||||
NULL, half_reference)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue