summaryrefslogtreecommitdiff
path: root/test/miter-precision.c
Commit message (Collapse)AuthorAgeFilesLines
* Update FSF addressAndrea Canciani2010-04-271-1/+1
| | | | | | | | | | | I updated the Free Software Foundation address using the following script. for i in $(git grep Temple | cut -d: -f1 ) do sed -e 's/59 Temple Place[, -]* Suite 330, Boston, MA *02111-1307[, ]* USA/51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA/' -i "$i" done Fixes http://bugs.freedesktop.org/show_bug.cgi?id=21356
* [test] Build test suite into single binary.Chris Wilson2008-10-311-15/+7
| | | | | | | | | 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.
* Remove miter-precision from XFAILAdrian Johnson2008-09-271-1/+1
| | | | | The miter-precision PS output prints correctly on my LaserJet 4050. So file a Ghostscript bug, supply PS ref images and remove from XFAIL.
* Mark degenerate-path and miter-precision as XFAIL.Carl Worth2008-09-251-1/+1
| | | | | | | | | | These two tests currently fail only for the PS backend, but they've done so since before the last major release. The final image result we're getting is definitely wrong in both cases, but we have not yet been able to verify if this is due to bugs in cairo (generating PostScript) or in ghostscript (interpreting and rasterzing the PostScript).
* [test] Preparatory work for running under memfault.Chris Wilson2008-08-131-3/+3
| | | | | | | | | | | | | | | | | | | | In order to run under memfault, the framework is first extended to handle running concurrent tests - i.e. multi-threading. (Not that this is a requirement for memfault, instead it shares a common goal of storing per-test data). To that end all the global data is moved into a per-test context and the targets are adjusted to avoid overlap on shared, global resources (such as output files and frame buffers). In order to preserve the simplicity of the standard draw routines, the context is not passed explicitly as a parameter to the routines, but is instead attached to the cairo_t via the user_data. For the masochist, to enable the tests to be run across multiple threads simply set the environment variable CAIRO_TEST_NUM_THREADS to the desired number. In the long run, we can hope the need for memfault (runtime testing of error paths) will be mitigated by static analysis. A promising candidate for this task would appear to be http://hal.cs.berkeley.edu/cil/.
* Add new miter-precision test. Checks miter joins at many scales.Keith Packard2008-01-031-0/+80
This demonstrates an error in cairo where miter joins are replaced with bevels at high scale factors due to a test added to eliminate wild miters drawn when the line faces are nearly parallel.