summaryrefslogtreecommitdiff
path: root/tests/gdimagestringftex
Commit message (Collapse)AuthorAgeFilesLines
* Fix memory leaks in test casesChristoph M. Becker2016-08-271-0/+1
| | | | | We must not forget to call gdFontCacheShutdown() when we have used gdImageStringFT() and friends.
* tests: cmake: switch to list appendingMike Frysinger2016-06-151-1/+1
| | | | | | This makes it a bit cleaner when dealing with optional tests as we use the LIST(APPEND...) command everywhere instead of sometimes SET and sometimes LIST.
* tests: cmake: move feature tests to subdirsMike Frysinger2016-06-151-0/+2
| | | | | | | | This makes it better match the autotools which makes it easier to compare, and allows finer grain checks (since some subtests need more than one feature test). As an example, this makes it clear we were missing gdinterpolatedscale.
* tests: add helpers for accessing test dataMike Frysinger2016-06-031-2/+3
| | | | | | | | | | | A lot of tests want to read images/fonts that exist in tests/ for reading. Rather than construct these paths by hand in every single test file, add a few helper functions to quickly access them. The helper functions are slightly slower (due to the repeated calls to the strcat func), but they aren't terribly slow, especially relative to image loading that these tests perform. They also make writing/maintaining the tests a lot easier which is more important here.
* tests: gd2: add general read test helpers #208Mike Frysinger2016-04-301-1/+1
| | | | | | | | | Since we have random files we want to read & check, turn the two read programs into general tools. Then we have shell scripts to run against the right inputs. Most of the changes here are just shuffling variable names so we can add to check_PROGRAMS independently of TESTS.
* tests: split up makefile entriesMike Frysinger2016-04-301-0/+7
| | | | | This matches what we've done with cmake files, and it makes managing the subdirs much easier.
* tests: unify cmake test code into a single macroMike Frysinger2016-04-301-5/+1
| | | | | | | | | This makes the test code a lot easier to manage rather than copying & pasting the same boiler plate multiple times. Also take the opportunity to add a common prefix to each test name so we don't get collisions between subdirs if a test happens to use the same exact name.
* gitignore: split up test entriesMike Frysinger2016-04-301-0/+1
| | | | | This makes it easier to keep track of things. The single toplevel list can make it hard to notice when something is stale.
* Upgrade to long-syntax CMAKE add_test command to improve cross-platform ↵Nathanael Jones2015-01-071-2/+1
| | | | compatibility.
* Merge outstanding autotools changesOndřej Surý2013-04-081-3/+0
|
* GDTESTS_TARGET_LINK is just gdTestTakeshi Abe2013-02-221-1/+1
|
* fix -Wimplicit-function-declarationtabe2013-02-151-0/+1
|
* removed unused assignment to fontpathtabe2009-04-203-0/+34