summaryrefslogtreecommitdiff
path: root/test/.gitignore
Commit message (Collapse)AuthorAgeFilesLines
* gitignore: Ignore .trs (test results)Bryce Harrington2015-07-311-0/+1
|
* .gitignore: Ignore the generated profile data files from callgrind tool in test/Ravi Nanjundappa2014-07-091-0/+1
| | | | | Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com> Reviewed-by: Bryce Harrington <b.harrington@samsung.com>
* test: Don't ignore test output files left in test directoryBryce W. Harrington2013-09-091-4/+0
| | | | | | | | | Tests should be placing output files in the output/ directory now, although not all tests follow this standard practice. Drop the "*.out.*" from .gitignore to make improper test behavior more evident. Signed-off-by: Bryce Harrington <b.harrington@samsung.com> Signed-off-by: Uli Schlachter <psychon@znc.in>
* test: Improve check-ref-missingAndrea Canciani2011-06-251-0/+1
| | | | | | | | | | | | | On linux it is impossible to check the missing references because of argument length constraints: make: execvp: /bin/bash: Argument list too long Using a temporary file instead of variable expansion makes it possible to work around this. Makefile.refs is now required to be in lexicographical order, which avoids ordering problems and the risk of duplicated entries (like clipped-surface.ref.png).
* test: Remove old html infrastructureAndrea Canciani2010-10-071-1/+0
| | | | | The new dynamic html page supersedes the old make-generated static html page.
* [test] Add cairo-test-trace to .gitignoreChris Wilson2009-06-191-0/+1
|
* [test] Make test constructors without perl.M Joonas Pihlaja2009-06-181-0/+1
| | | | | | Remove the dependency on perl when building the test suite by replacing the script which makes cairo-test-constructors.c with a C program.
* [test] Use '.' as the field separator in the namesChris Wilson2008-10-311-4/+4
| | | | | | | | | We frequently use '-' within the test name or format name and so we encounter confusion as '-' is also used as the field separator. At times this has caused a new test to break an old test because the new test would match one of the old test's target specific reference images. So switch everything over to use '.' between fields (test name, target, format, subtest, etc.).
* [test] Build test suite into single binary.Chris Wilson2008-10-311-233/+4
| | | | | | | | | 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.
* Restore the ability to choose the internal font.Chris Wilson2008-10-301-0/+1
| | | | | | | | | | | | | | Behdad wants to include the feature with 1.10, so we enable it as early as possible in 1.9 dev cycle to generate as much feedback as possible. The first change is to use "<cairo>" as being a name unlikely to clash with any real font names. This reverts commits: a824d284be23793a5c48b9ae833dcb7b2d5fff80, 292233685534aed712dfd45e8ccf498b792ce496, e0046aaf417a61da008dc6374871fa3687ba94ab, f534bd549e1e2283735d1eabb60c015a5949a735.
* [test] Update .gitignoreChris Wilson2008-10-301-0/+2
| | | | Add a couple of new programs to gitignore.
* Remove twin test case.Carl Worth2008-10-291-1/+0
| | | | | | | | This test relied on the recently-removed ability to select the internal twin-based font family with a name of "cairo". Presumably, we'll want to bring this test case back when some other means of requesting that font face is added.
* [test] Add a pass-through test.Chris Wilson2008-10-291-0/+1
| | | | | Check that colour values are correctly passed through all the backends. Simple test of the most fundamental functionality.
* [test] Add leaky-dashed-strokeChris Wilson2008-10-261-0/+1
| | | | | | A test case for a leak whilst closing a dashed stroke extracted from the report by Jeff Muizelaar who found the artifact whilst looking at firefox http://people.mozilla.com/~jmuizelaar/BerlinDistricts-check.svg
* [test] Add a spline test.Chris Wilson2008-10-151-0/+1
| | | | | | | | | | Test the decomposition of 5 different types of spline curve. Useful test for future experiments in improving the decomposition algorithm. Note: the vector targets all need separate reference images due to their lack of support for cairo_set_tolerance(). Also GS strokes the Bezier curve differently using offset curves and opposed to transcribing the outline of a pen.
* [pattern] Optimize away fractional translation for NEAREST patterns.Chris Wilson2008-10-131-0/+1
| | | | | | | | | | | | | | | As identified in bug 15479, Unpredictable performance of cairo-xlib with non-integer translations of a source surface pattern (https://bugs.freedesktop.org/show_bug.cgi?id=15479), source surfaces with a fractional translation hit slow paths for some drivers, causing seemingly random performance variations. As a work-around Owen Taylor proposed that cairo could convert non-integer translations on NEAREST sources patterns to their integer equivalents. The messy detail involved here is replicating the rounding mode used by pixman for the sample offset, but otherwise the conversion is fairly trivial.
* [test] Add huge pattern.Benjamin Otte2008-10-111-0/+1
| | | | Add a test case to exercise range overflow during gradient construction.
* [test] Exercise degenerate dashes.Chris Wilson2008-10-081-0/+1
| | | | | | | | | 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
* [test] Add a test for a reported regression by Michael Natterer.Chris Wilson2008-10-071-0/+1
| | | | | | mitch reported on irc that expose events in the gimp were suffering from artifacts which he tracked down to a bug with clipping and source surfaces. This is the cairo test case for that regression.
* [test] Add a test to exercise the internal twin fontChris Wilson2008-10-071-0/+1
| | | | | | Although Behdad promises that the rendering is subject to improvement, introduce a test to check consistency across platforms and update as required.
* Ignore test/png-test.pngCarl Worth2008-09-251-0/+1
| | | | Finally, "git status" is clean after "make distcheck".
* [test] Add a test case to question the mutability of sources.Chris Wilson2008-09-241-0/+1
| | | | | | | | | Are patterns mutable? The image backend is quite happy to write and read from the same surface, whereas the vector targets create snapshots... This test case exploits that inconsistency. Also the interested reader will note that not only does this demonstrate translational invariance, but a discrepancy with similar surfaces.
* [test] Rename mask-ctm-* to avoid conflict with mask-ctm.Chris Wilson2008-09-241-2/+2
| | | | | Using mask-ctm-image as a test name was causing a naming conflict with mask-ctm, so rename the new tests.
* [test] Add a test case for create_similar(CONTENT_ALPHA)Chris Wilson2008-09-231-0/+1
| | | | | | Application of a pure-alpha similar source is inconsistently handled across the backends. The PDF/PS backends allow the rgb channels to bleed through and the SVG backend mixes in pure white.
* [test] Add an exercise for masking an image using the ctm.Chris Wilson2008-09-221-0/+2
| | | | | | | | | | | | | | | | Quote Kai-Uwe Behrmann: "The expected behaviour for masking in Cairo is to set the mask according to the current active matrix and apply unchanged to a to be masked surface. In SVG the mask element is bound to the masked object and thus the local matrix from that image object applies to the nested mask as well." This is a test case to exercise applying a mask to an image under separate transformations. Original patch by Kai-Uwe Behrmann, altered to run the test against all backends (where it causes poppler to crash on my machine <evil grin>).
* [test] Add rectilinear-fillChris Wilson2008-09-191-0/+1
| | | | | Add a test-case to exercise pixel-aligned fills to verify the optimised rectilinear filler.
* [test] Check set_operator()Chris Wilson2008-09-171-0/+2
| | | | | Draw a pair of rectangles with each operator in turn - seems to trigger an issue with the PDF/PS backends.
* [test] Add a test case for drawing glyphs with different metrics.Jeff Muizelaar2008-09-161-0/+1
| | | | | | The ability to draw glyphs with different metrics is useful when doing font substitution with fixed layout like in pdf and I eventually plan on adding code to poppler to do something similar.
* [test] Test handling of fractional device offsets.Chris Wilson2008-09-151-0/+1
|
* [test] Add fill-alpha-pattern.Chris Wilson2008-09-081-0/+1
| | | | | | A slight variation on the simple fill-alpha theme is that if Company is truly seeing a regression where we dither, the error on a constant background will be small and might be missed by the test suite.
* [test] Add fill-alpha.Chris Wilson2008-09-081-0/+1
| | | | | | | | | Benjamin Otte reported "who broke rgba fills? they look dithered with recent git." This commit is the result of a skim through the test-suite which revealed no single test responsible for checking the basic operation of "set_rgba(); fill();".
* [ps] Only use fallback images if the gradient has non-constant alpha.Chris Wilson2008-09-071-0/+1
| | | | | | If the gradient has constant alpha, then we can express it as a flattened linear gradient. Otherwise, should the opacity vary across the gradient we need to fallback.
* Revamp the build system.Behdad Esfahbod2008-09-021-0/+1
| | | | | | | | | | | | | | | | | Quick summary of changes: - Move list of cairo source files out of src/Makefile.am and into src/Sources.mk, - Generate files src/Config.mk and src/Config.mk.win32 that choose the right set of source files and headers based on configured backends and features. This drastically simplifies building using other build systems. The src/Makefile.win32 file needs to be updated to reflect these changes. - Add README files to various directories, - Add toplevel HACKING file.
* [test] Explicity save a fail image.Chris Wilson2008-08-211-1/+1
| | | | | | | | | | Be explicit about handling cached FAIL images, instead of relying on the sequences of failed matches as the files are an external resource and we can not guarantee their individual accessibility. Note this also changes the filename, so you may want to run: $ find -name '*-last.*' -print | xargs rm after this checkout.
* [test] Cache last output and compare next time.Chris Wilson2008-08-201-4/+3
| | | | | | | | | | | | | | | | | | | | | | | 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'.
* [boilerplate] Daemonic conversion utility.Chris Wilson2008-08-191-0/+3
| | | | | | | | | | | | | | | In order to achieve substantial speed improvements the external conversion utilities are rewritten as a daemon that communicates with the test suite over a local socket. This is faster as it avoids the libtool and dynamic linker overhead for each invocation, the caches persist between tests and we no longer require a round trip through libpng. The daemon is started automatically by the test suite and if communication cannot be established then it falls back to using a pipe to a normal conversion utility. The daemon will then persist for 60 seconds waiting for further connections. Of course any memory leak (stares at poppler) is exacerbated.
* [.gitignore] Update list of testsChris Wilson2008-08-081-0/+7
|
* Add toy font constructor and gettersBehdad Esfahbod2008-08-081-0/+1
| | | | | | | | | New public API: cairo_toy_font_face_create() cairo_toy_font_face_get_family() cairo_toy_font_face_get_slant() cairo_toy_font_face_get_weight()
* Update .gitignore filesBehdad Esfahbod2008-06-261-0/+2
|
* Add large-font test to exercise a cairo-xlib bug.Carl Worth2008-05-231-0/+1
| | | | | | | The original bug report is here: corrupt glyph positions with large font https://bugzilla.redhat.com/show_bug.cgi?id=448104
* [cairo-user-font] Implement user fontsBehdad Esfahbod2008-05-101-0/+1
|
* [test] Add degenerate-arcChris Wilson2008-05-061-0/+1
| | | | | | This test case is to exercise the divide-by-zero error reported by Luiz Americo Pereira Camara <luizmed@oi.com.br>, http://lists.cairographics.org/archives/cairo/2008-May/014054.html.
* [test] Add test case for a leaky dashed rectangle.Chris Wilson2008-04-291-0/+1
| | | | | | | | Franz Schmid reported on the mailing list, http://lists.cairographics.org/archives/cairo/2008-April/013912.html, an issue with drawing a dashed rubber band in Scribus. The problem appears when segments of the dashed rectangle are outside the image, with the errant dash connecting the ends of the visible segments.
* [test] Add a regression test for bug 10921Chris Wilson2008-04-111-0/+1
| | | | | | | | | | This bug first was fixed in 40558cb15e5f7276a29847b00c9dae08b9d9380e, but then reintroduced in 9cfd82e87b60c0d65e9cafda026cb9a498874575, which became part of the 1.6.2 quick release. As penance to make sure I never repeat this same bug again, I offer this test case which exercises the XSetClipMask(NULL) path and hopefully simulates some 'typical' usage of cairo by GUI toolkits.
* [test] Add group-paintChris Wilson2008-04-081-0/+1
| | | | | | | | The experience of running the entire test suite under cairo_push_group() did at least reveal that there was a potential bug in the pdf backend. This test is just the simplest of drawing operations - simply filling the similar surface with solid blue, and then blitting that surface to the destination.
* [test] Add large-source to exercise handling of massive images.Chris Wilson2008-04-081-0/+1
| | | | | | | This test exercises https://bugzilla.mozilla.org/show_bug.cgi?id=424333. The test is expected to fail due to issues with pixman, but cairo should fail gracefully and neither crash nor cause XErrors.
* Add new filter-bilinear-extents testCarl Worth2008-04-041-0/+1
| | | | | | | | | | | This test exercises code that computes the extents of a surface pattern with CAIRO_FILTER_BILINEAR, (where the filtering effectively increases the extents of the pattern). The original bug was reported by Owen Taylor here: bad clipping with EXTEND_NONE http://bugs.freedesktop.org/show_bug.cgi?id=15349
* [test] Add bilevel image test case.Chris Wilson2008-04-041-0/+1
| | | | | Add a simple test to exercise the embedding of an image with a bilevel alpha channel into a postscript level 3 document.
* [test] Exercise "soft" masks.Chris Wilson2008-04-041-0/+7
| | | | | | PDF has a concept of "soft" masks, for which it is able to construct a mask out of PDF drawing operations. These tests exercise constructing various masks using the high level drawing operations.
* Add new ft-show-glyphs-table test to exercise recent glyph positioning bug fixCarl Worth2008-04-031-0/+1
| | | | | | | | Interestingly, this test case does demonstrate that cairo-pdf is fixed, (where without commit f6509933a4e0 the Y positions of the glyphs were inverted); however, cairo-ps is failing with this test, (all the glyphs are ending up on top of each other).