summaryrefslogtreecommitdiff
path: root/test/README
AgeCommit message (Collapse)AuthorFilesLines
2009-09-11[test] Typos in README from previous commitChris Wilson1-1/+1
2009-09-11[test] Add Debian packages for fontsChris Wilson1-1/+3
Mention which .deb provides the required fonts.
2009-07-13[test] Update reference images for gs 8.64Chris Wilson1-1/+1
2009-07-02[test] Mark all smask tests as XFAIL for pdfCarlos Garcia Campos1-0/+11
Those tests use linear gradients which are not correctly handled by poppler yet. See https://bugs.freedesktop.org/show_bug.cgi?id=10942
2009-06-19[test] Add the sha1sum of the required fontsChris Wilson1-4/+5
(Note, I think these are currently out-of-date... But it will serve as a useful reminder to verify and update them in future.)
2008-11-02test/README: fix typoAdrian Johnson1-1/+1
2008-10-31[test] Build test suite into single binary.Chris Wilson1-10/+18
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.
2008-10-28Add note to test/README on running with Xvfb.Carl Worth1-0/+17
This X server has been tested to run through the test suite with no unexpected failures, and it avoids hitting any X-driver-specific bugs.
2008-10-27Change ps to ps3 in test/READMEAdrian Johnson1-1/+1
The ps target no longer exists.
2008-10-17[test/README] Document all fonts used.Chris Wilson1-2/+7
Do a little leg-work to answer a query in a bug report and document the results.
2008-09-27Remove miter-precision from XFAILAdrian Johnson1-0/+5
The miter-precision PS output prints correctly on my LaserJet 4050. So file a Ghostscript bug, supply PS ref images and remove from XFAIL.
2008-09-25Note that we're using ghostscript 8.62 now for reference images.Carl Worth1-1/+1
As opposed to 8.61. I had actually forgotten we had documented this. If I had remembered I could have put more meaningful messages with some of my recent updates to ps-specific reference images.
2008-09-24Add pdf-specific reference images for gradient-constant-alpha.Carl Worth1-0/+1
Like many other gradient tests, we're just capturing the buggy output of poppler here, (though this time I *did* verify with Adobe acroread that our PDF output seems to be correct).
2008-09-24Add pdf-specific reference images for fill-alpha-pattern.Carl Worth1-0/+1
These capture the current poppler output, (rather than the ideal output). We're still waiting for poppler to start using cairo gradients before this test will run through cleanly. And even with these new reference images, there's still some translation variance, so the -25 tests still fail.
2008-08-20[test] Cache last output and compare next time.Chris Wilson1-0/+6
Compare the current output against a previous run to determine if there has been any change since last time, and only run through imagediff if there has been. For the vector surfaces, we can check the vector output first and potentially skip the rasterisation. On my machine this reduces the time for a second run from 6 minutes to 2m30s. As most of the time, most test output will remain unchanged, so this seems to be a big win. On unix systems, hard linking is used to reduce the amount of storage space required - others will see about a three-fold increase in the amount of disk used. The directory continues to be a stress test for file selectors. In order to reduce the changes between runs, the current time is no longer written to the PNG files (justified by that it only exists as a debugging aid) and the boilerplate tweaks the PS surface so that the creation date is fixed. To fully realise the benefits here, we need to strip the creation time from all the reference images... The biggest problem with using the caches is that different runs of the test suite can go through different code paths, introducing potential Heisenbergs. If you suspect that caching is interfering with the test results, use 'make -C test clean-caches check'.
2008-05-15[test/Makefile.am] Add 'make run' targetBehdad Esfahbod1-0/+19
It runs tests under a tool specified tool. For example: make run TOOL=gdb TESTS=user-font TARGETS=pdf
2008-03-24Add new text-transform testCarl Worth1-0/+1
Previously, the test suite wasn't supplying any coverage of transformed text rendering.
2008-02-20Add poppler-specific reference image for radial-gradientCarl Worth1-0/+1
This is justified by the previously mentioned bug on poppler gradients. Note that this test only passes with a patch to fix a bug in poppler (not yet upstream). Here it is: PATCH: Keep 'cairo_shape' and 'cairo' consistent https://bugs.freedesktop.org/show_bug.cgi?id=14593
2008-02-20Expand the documentation of cairo/test/READMECarl Worth1-12/+87
Add notes on CAIRO_REF_DIR and the version requirements of poppler and ghostscript necessary for getting no failures.
2008-02-20Add poppler-specific reference image for push-groupCarl Worth1-0/+5
This is justified by the following new bug report: Incorrect clipping of group object (regression?) https://bugs.freedesktop.org/show_bug.cgi?id=14580
2008-02-20Add poppler-specific reference images for tests needing EXTEND_PADCarl Worth1-2/+7
This is justified by the following new bug report: Poppler should paint images with CAIRO_EXTEND_PAD https://bugs.freedesktop.org/show_bug.cgi?id=14578 The four affected tests are: paint-source-alpha paint-with-alpha rotate-image-surface-paint scale-source-surface-paint
2008-02-20Add poppler-specific reference image for text-patternCarl Worth1-0/+6
This is justified with the following new bug report: Poppler renders patterned text as black https://bugs.freedesktop.org/show_bug.cgi?id=14577
2008-02-20Re-enable pdf tests with gradients and add poppler-based reference imagesCarl Worth1-0/+47
This freezes the current (buggy) poppler result in the test suite so that we will notice any future regressions.
2007-11-10[test] support using a previous build as a referenceBrian Ewins1-0/+8
Allow using a previous test output directory as a source of reference images. To make use of this, set the environment variable 'CAIRO_REF_DIR' to point at an old test directory, relative to the current test directory. This is useful for testing backends when reference images haven't been created yet, or which the current reference image structure can't accomodate, like multiple font backends.
2007-08-06Typo fixes in README filesNis Martensen1-3/+3
2006-07-11More test suite infrastructure improvements:Behdad Esfahbod1-3/+3
- Remove cairo_test_expect_failure. cairo-test.c now checks env var CAIRO_XFAIL_TESTS to see if the running test is expected to fail. The reason for expected failure is appended to the test description. - Test description is written out. - Failed/crashed tests also write a line out to stderr (in red), so one can now redirect stdout to /dev/null to only see failures. - cairo_test() has been changed to not take the draw function anymore, instead, draw function is now part of the test struct. - "make check" doesn't allow limiting backends to test using env var anymore. To limit backends to test, one should use the TARGETS variable on the make command line. - "make check-valgrind" now writes its log to valgrind-log instead of valgrind.log, to not interfere with test log file processing.
2006-07-06Update test/READMEBehdad Esfahbod1-13/+37
2004-10-26Add paragraph on new features.Carl Worth1-1/+10
2004-10-26Add initial regression test suite.Carl Worth1-0/+55
Don't AC_SUBST a dozen different FOO_CFLAGS and FOO_LIBS. Instead, incrementally build up just CAIRO_CFLAGS and CAIRO_LIBS. Don't list flags that should get picked up via dependency information through Requires. Add description of move_to_show_surface.