summaryrefslogtreecommitdiff
path: root/test/degenerate-dash.c
Commit message (Collapse)AuthorAgeFilesLines
* Misc. typosluz.paz2019-01-311-1/+1
| | | | | | | Found via `codespell -i 3 -w -I ../cairo-word-whitelist.txt -L tim,ned,uint` Follow up of 12cb59be7da Reviewed-by: Bryce Harrington <bryce@bryceharrington.org>
* On MacOSX, the sed utility errors out when parsing non-UTF8Bryce Harrington2015-03-101-1/+1
| | | | | | | files. Because of this, the generated cairo-test-constructor only contained a few tests and the test suite was thus incomplete. Original patch by Andrea Canciani <ranma42@gmail.com>
* Remove XFAIL_TESTS from Makefile.amUli Schlachter2013-10-031-0/+5
| | | | | | | | | | | | | | | | | | | | | The variable XFAIL_TESTS is not used anymore since commit e90073f7ddc. The description for the known failures are moved into the respective tests as comments. The following descriptions were dropped: - surface-pattern-big: Didn't really explain the failure - big-line: Test isn't failing any more - self-intersecting: Only XFAIL on quartz, but description doesn't match this The following tests don't have a xfail reference image and seem to fail just because of not having a reference image at all (I kept their description for now): big-trap, long-lines, self-copy-overlap Signed-off-by: Uli Schlachter <psychon@znc.in>
* test: Cleanup macrosAndrea Canciani2011-03-171-4/+0
| | | | | | | | The ARRAY_LENGTH macro is used by many tests, although sometimes it is named ARRAY_SIZE. Define it just once in cairo-test.h and reuse it. In a similar way, MAX() and MIN() are currently defined in some specific tests, while they could be reused.
* [test] Track XFAIL using expected results stored as xfail.pngChris Wilson2009-07-131-1/+1
| | | | | | | | | | | | | | | | Instead of tagging the sources, which is insensitive to changes, track the known failure modes by recording the current fail as an xfail.png reference. (We also introduce a new.png to track a fresh error, so that they are not lost in the noise of the old XFAILs and hopefully do not cause everyone to fret). As we have removed the XFAIL tagging we find, surprise surprise, that some tests are now working -- so review all the reference images (as also some .ref.png now should be .xfail.png). Note: I've only checked image,pdf,ps,svg. The test surfaces report some failures that probably need to addressed in source. I've not correct the changes for win32 and quartz. Nor fixed up the experimental backends.
* [test] Build test suite into single binary.Chris Wilson2008-10-311-14/+6
| | | | | | | | | Avoid calling libtool to link every single test case, by building just one binary from all the sources. This binary is then given the task of choosing tests to run (based on user selection and individual test requirement), forking each test into its own process and accumulating the results.
* [test] Exercise degenerate dashes.Chris Wilson2008-10-081-0/+97
Add a test case to capture the current behaviour when a segment ends on an off/on dash transition. Originally filed as bug: Miter artifacts for dashed strokes https://bugs.freedesktop.org/show_bug.cgi?id=17973