summaryrefslogtreecommitdiff
path: root/test/ps-eps.c
Commit message (Collapse)AuthorAgeFilesLines
* Drop the conditional inclusion of config.hEmmanuele Bassi2021-05-011-2/+0
| | | | | | | | | | | | We *always* generate this file, and we depend on its existence. The idea behind HAVE_CONFIG_H was being able to include random files from different projects, back in a time where "libraries" were literally just random files instead of actual shared objects. Since we're not in the '80s any more, and our build system(s) define HAVE_CONFIG_H *and* generate the config.h header file, we don't need a conditional guard around its inclusion.
* test: Handle error in fgets call in ps-eps testBryce Harrington2014-01-311-1/+5
| | | | | | | | | | | Most likely this is just a theoretical problem since we just checked feof, but this quells the following warning: ps-eps.c:216:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] Signed-off-by: Bryce Harrington <b.harrington@samsung.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
* test: Ensure output dirs exist, falling back to current dir if neededBryce W. Harrington2013-09-091-19/+1
| | | | | | | | | | | | | | This change makes several tests behave more like ps-eps.c, et al by making them attempt to mkdir "output", and in case of trouble use "." instead. filenames are now allocated at runtime due to this change, so ensure the corresponding free()'s are in place as well. This should facilitate running the test suite with a relative path outside cairo's source tree, such as when employing the CAIRO_REF_DIR environment variable. Signed-off-by: Bryce Harrington <b.harrington@samsung.com> Signed-off-by: Uli Schlachter <psychon@znc.in>
* boilerplate: Remove unused thread id parameterAndrea Canciani2011-11-121-1/+0
| | | | | The thread id is not used anymore (it is always == 0), so it can be removed.
* Automate error checking for ps-eps testAdrian Johnson2010-11-231-27/+311
|
* Add EPS testAdrian Johnson2009-09-241-0/+85
This test demonstrates a regression in the EPS output since 1.8.8. The ps-eps.ref.eps was created with 1.8.8.