Revert "[test] Reorder dash-infinite-loop to not hit a runaway allocation."

The infinite loop problem in _cairo_stroker_dash_start is solved by
commit ee02f3484899527380df94c00f40da87f41660ea, so hitting that
problem is not possible anymore and dash-infinite stroke always
hit the memory intensive loops.
This reverts commit 29432d3d32.
This commit is contained in:
Andrea Canciani 2009-11-11 00:09:08 +01:00
parent cc2d263066
commit 9c24288c82

View file

@ -68,9 +68,9 @@ draw (cairo_t *cr, int width, int height)
/* The following calls will wedge in various places that try
* to advance the dashing in a loop inside the stroker. */
do_dash (cr, 30, 30, 1); /* _cairo_stroker_dash_start */
do_dash (cr, 30, 30, 0); /* _cairo_stroker_line_to_dashed */
do_dash (cr, 30, 0, 0); /* _cairo_rectilinear_stroker_line_to_dashed */
do_dash (cr, 30, 30, 1); /* _cairo_stroker_dash_start */
return CAIRO_TEST_SUCCESS;
}