Commit Graph

12 Commits (master)

Author SHA1 Message Date
Mike Frysinger fd06f7f83c clean up trailing whitespace/newlines
This is preparation for adding some linting checks for new commits from
people.  Shouldn't be any functional changes here (tests still pass!).
2018-06-21 22:47:42 -04:00
Christoph M. Becker 7ae5b15d7d Remove unused argc/argv parameters from main() in tests 2016-07-13 02:20:38 +02:00
Mike Frysinger 3bb6aac422 tests: cmake: switch to list appending
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.
2016-06-15 15:02:13 -04:00
Mike Frysinger 75c38f6b32 fix various gcc/clang warnings found with -Wall 2016-05-13 22:19:26 -04:00
David Drysdale 05d70f6a07 tests: fix leaks in test code
Ensure all images etc. are freed so that we can enable leak checking
across the tests and not get any false positives.
2016-05-01 01:45:48 -04:00
Mike Frysinger 0315e441ec tests: gd2: add general read test helpers #208
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.
2016-04-30 21:52:45 -04:00
Mike Frysinger 613e8c93e3 tests: split up makefile entries
This matches what we've done with cmake files, and it makes managing
the subdirs much easier.
2016-04-30 21:02:45 -04:00
Mike Frysinger adc8598dcb tests: unify cmake test code into a single macro
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.
2016-04-30 21:02:45 -04:00
Mike Frysinger 3b0eabf71d tests: add missing cmake files gdimagefile/gdimagefilter 2016-04-30 15:52:30 -04:00
Mike Frysinger 4c6a07b263 gitignore: split up test entries
This makes it easier to keep track of things.  The single toplevel list
can make it hard to notice when something is stale.
2016-04-30 13:56:19 -04:00
Pierre Joye 999b5d2578 add sanity check and fix leak on exit 2015-01-14 02:29:40 +01:00
Chris Reuter b20cdef19f Added a test case for gdImageCopyGaussianBlurred().
This change is relatively thorough.  It confirms that the blurring
process succeeds and that the result is at least somewhat blurry.
2013-12-10 19:17:28 -05:00