diff options
author | Carl Worth <cworth@cworth.org> | 2007-08-27 14:02:55 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2007-08-27 14:02:55 -0700 |
commit | 1e8446609b01a3a60c3cc5b69d95d26cc9df460b (patch) | |
tree | b3dabcc7af13af01bff0b56b4b5529f38c6f292f /boilerplate/cairo-boilerplate-pdf.c | |
parent | 463493af73a644c7031df0e396c722cf2cb227b1 (diff) |
Add explanation of pdf_ignored_tests with links to upstream poppler bug reports
Diffstat (limited to 'boilerplate/cairo-boilerplate-pdf.c')
-rw-r--r-- | boilerplate/cairo-boilerplate-pdf.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/boilerplate/cairo-boilerplate-pdf.c b/boilerplate/cairo-boilerplate-pdf.c index 0d8ac1a8..ff13e6ac 100644 --- a/boilerplate/cairo-boilerplate-pdf.c +++ b/boilerplate/cairo-boilerplate-pdf.c @@ -43,7 +43,36 @@ typedef struct _pdf_target_closure } pdf_target_closure_t; #define ARRAY_LENGTH(__array) ((int) (sizeof (__array) / sizeof (__array[0]))) + +/* We currently ignore tests that generate valid PDF output, but which + * poppler currently misrenders. This lets us avoid false negatives in + * the test suite, (at the significant cost that we won't notice any + * regressions in the PDF output of these tests). + * + * So obviously, we have an interest in ensuring that the poppler bugs + * get fixed sooner rather than later, so that we can re-enable these + * tests. As such, we're trying to be good citizens by reporting all + * such poppler bugs that we identify to the poppler bugzilla. + * + * Here's a tracking bug explaining the situation: + * + * Poppler does not yet handle everything in the cairo test suite + * https://bugs.freedesktop.org/show_bug.cgi?id=12143 + * + * Here's the rule: To add any test to this list (based on a poppler + * bug), you must first create a new bug report against poppler, + * marked as blocking 12143, and list that bug here in a comment for + * the ignored test(s). + * + * And when this list shrinks to nothing, we can close bug 12143. + */ static const char *pdf_ignored_tests[] = { + /* These first four failures are caused by poppler mis-handling + * transparency in gradients. See here: + * + * Poppler doesn't correctly handle gradients with transparency + * https://bugs.freedesktop.org/show_bug.cgi?id=12144 + */ "gradient-alpha", "linear-gradient", "text-pattern", |