cairo/boilerplate
Chris Wilson cdd021b5fb [boilerplate] Check exit code from system for trapped signals.
If the external conversion utility was killed by a signal (e.g. the user
sent SIGINT), raise that signal within our process as well. This means
that a crash inside poppler or rsvg will be flagged as a crash inside the
test suite, and makes interrupting the test suite far more responsive.
2008-08-18 17:56:21 +01:00
..
.gitignore Update .gitignore files 2008-06-26 16:20:58 -04:00
cairo-boilerplate-beos-private.h [test] Preparatory work for running under memfault. 2008-08-13 21:54:59 +01:00
cairo-boilerplate-beos.cpp [boilerplate] Cleanup includes in cairo-boilerplate-beos.cpp 2007-04-20 00:52:03 -04:00
cairo-boilerplate-directfb-private.h [test] Preparatory work for running under memfault. 2008-08-13 21:54:59 +01:00
cairo-boilerplate-directfb.c [test] Preparatory work for running under memfault. 2008-08-13 21:54:59 +01:00
cairo-boilerplate-getopt.c [test] Preparatory work for running under memfault. 2008-08-13 21:54:59 +01:00
cairo-boilerplate-getopt.h [cairo-boilerplate] Silence compiler warning. 2008-06-13 21:34:43 +01:00
cairo-boilerplate-glitz-private.h [test] Preparatory work for running under memfault. 2008-08-13 21:54:59 +01:00
cairo-boilerplate-glitz.c [test] Preparatory work for running under memfault. 2008-08-13 21:54:59 +01:00
cairo-boilerplate-pdf-private.h [test] Avoid redundant writes/reads of test surfaces via png. 2008-08-18 16:18:52 +01:00
cairo-boilerplate-pdf.c [boilerplate] Check exit code from system for trapped signals. 2008-08-18 17:56:21 +01:00
cairo-boilerplate-pdf.h [boilerplate] Add missing headers. Oops! 2007-04-21 07:23:30 -04:00
cairo-boilerplate-ps-private.h [test] Avoid redundant writes/reads of test surfaces via png. 2008-08-18 16:18:52 +01:00
cairo-boilerplate-ps.c [boilerplate] Check exit code from system for trapped signals. 2008-08-18 17:56:21 +01:00
cairo-boilerplate-ps.h [ps] Get rid of _cairo_ps_test_force_fallbacks 2007-04-21 02:51:22 -04:00
cairo-boilerplate-quartz-private.h [test] Preparatory work for running under memfault. 2008-08-13 21:54:59 +01:00
cairo-boilerplate-quartz.c [test] Preparatory work for running under memfault. 2008-08-13 21:54:59 +01:00
cairo-boilerplate-scaled-font.h [scaled-font] Get rid of _cairo_scaled_font_test_set_max_glyphs_cached_per_font 2007-04-21 03:43:04 -04:00
cairo-boilerplate-svg-private.h [test] Avoid redundant writes/reads of test surfaces via png. 2008-08-18 16:18:52 +01:00
cairo-boilerplate-svg.c [boilerplate] Check exit code from system for trapped signals. 2008-08-18 17:56:21 +01:00
cairo-boilerplate-svg.h [svg] Get rid of _cairo_svg_test_force_fallbacks 2007-04-21 03:08:26 -04:00
cairo-boilerplate-test-surfaces-private.h [test] Avoid redundant writes/reads of test surfaces via png. 2008-08-18 16:18:52 +01:00
cairo-boilerplate-test-surfaces.c [test] Avoid redundant writes/reads of test surfaces via png. 2008-08-18 16:18:52 +01:00
cairo-boilerplate-win32-printing.c [test] Avoid redundant writes/reads of test surfaces via png. 2008-08-18 16:18:52 +01:00
cairo-boilerplate-win32-private.h [test] Avoid redundant writes/reads of test surfaces via png. 2008-08-18 16:18:52 +01:00
cairo-boilerplate-win32.c [test] Preparatory work for running under memfault. 2008-08-13 21:54:59 +01:00
cairo-boilerplate-xcb-private.h [test] Preparatory work for running under memfault. 2008-08-13 21:54:59 +01:00
cairo-boilerplate-xcb.c [test] Preparatory work for running under memfault. 2008-08-13 21:54:59 +01:00
cairo-boilerplate-xlib-private.h [test] Preparatory work for running under memfault. 2008-08-13 21:54:59 +01:00
cairo-boilerplate-xlib.c [test] Preparatory work for running under memfault. 2008-08-13 21:54:59 +01:00
cairo-boilerplate-xlib.h [boilerplate] Add missing headers. Oops! 2007-04-21 07:23:30 -04:00
cairo-boilerplate.c [test] Avoid redundant writes/reads of test surfaces via png. 2008-08-18 16:18:52 +01:00
cairo-boilerplate.h [test] Avoid redundant writes/reads of test surfaces via png. 2008-08-18 16:18:52 +01:00
Makefile.am [Makefile.am] Delete intermediates 2008-08-17 11:39:56 +01:00
Makefile.win32 Some fixes and improvements to the Win32 build 2008-02-06 21:45:24 -05:00
README Add boilerplate/README explaining its purpose 2006-08-30 22:33:53 -07:00
xmalloc.c [test] Preparatory work for running under memfault. 2008-08-13 21:54:59 +01:00
xmalloc.h [boilerplate] Fix typo 2007-05-02 16:22:44 -04:00

This directory provides code that is common to both of cairo's tests
suites:

 * The test suite for correctness in test/
 * The test suite for performance in perf/

We call it boilerplate as it consists primarily of the boilerplate
code necessary for initializing a backend in order to create a surface
for that backend.

The code here just might be useful for someone looking to get started
writing cairo code to use a particular backend, (but there are no
promises that the boilerplate code found here for any particular
backend is exemplary).