libgd/tests
مهدي شينون (Mehdi Chinoune) 7efcf4f935
Some fixes for MINGW (#828)
* Enable webpng on MINGW

* Detect GD version using cmake language

* Use _aligned_malloc instead of posix_memalign on Windows

* Include missing "errno.h"

* Fix finding WEBP on MINGW

* Fix finding XPM on MINGW

* Use PkgConfig to find packages on MINGW

* CI: Enable more options  for MINGW
2022-04-15 15:34:24 +07:00
..
avif docs: Fix a few typos 2021-09-23 01:13:40 -04:00
bmp Fix some memory leakage in test cases 2020-03-21 10:59:33 +08:00
fontconfig tests: add more checks for libpng (and other deps) 2017-02-23 17:31:41 -05:00
freetype clean up trailing whitespace/newlines 2018-06-21 22:47:42 -04:00
gd tests: Correct some test depend errors 2020-01-02 20:27:29 +08:00
gd2 Fix tests based on coverity reports (#819) 2022-02-01 15:09:01 +07:00
gdcolormaplookup skip on Windows, no X11 to initialize 2021-08-27 00:30:52 +07:00
gdimagearc tests: sync feature enable lists in cmake files #382 2017-02-15 11:14:25 -05:00
gdimagebrightness convert all files to native line encodings 2018-06-21 21:44:54 -04:00
gdimageclone Fix potential NULL pointer dereference in gdImageClone() 2019-12-20 17:19:54 +01:00
gdimagecolor convert all files to native line encodings 2018-06-21 21:44:54 -04:00
gdimagecolorclosest Bug/818 (#821) 2022-02-01 22:25:03 +07:00
gdimagecolorclosesthwb add testcase for gdImageColorClosestHWB 2019-11-28 13:28:41 -05:00
gdimagecolordeallocate tests: cmake: switch to list appending 2016-06-15 15:02:13 -04:00
gdimagecolorexact Bug/818 (#821) 2022-02-01 22:25:03 +07:00
gdimagecolormatch Fix #497: gdImageColorMatch Out Of Bounds Write on Heap (CVE-2019-6977) 2019-12-20 10:12:04 +08:00
gdimagecolorreplace tests: Correct some test depend errors 2020-01-02 20:27:29 +08:00
gdimagecolorresolve tests: Correct some test depend errors 2020-01-02 20:27:29 +08:00
gdimagecolortransparent fix test 2021-08-25 19:41:30 +07:00
gdimagecompare Add testcase for gdimagecompare() 2020-03-07 23:17:40 +08:00
gdimagecontrast convert all files to native line encodings 2018-06-21 21:44:54 -04:00
gdimageconvolution Fixed #369: fix new_a init error in gdImageConvolution() 2019-12-13 10:54:25 +01:00
gdimagecopy tests: sync feature enable lists in cmake files #382 2017-02-15 11:14:25 -05:00
gdimagecopymerge add testcase for gdImageCopyMerge 2019-11-27 01:33:26 -05:00
gdimagecopymergegray add testcase for gdImageCopyMergeGray 2019-11-28 00:04:08 -05:00
gdimagecopyresampled disable these two on Graviton2, specific during runs it seems. Building&Running the tests manually 100s never fail 2021-08-30 04:09:16 +07:00
gdimagecopyresized add testcase gdImageCopyResized 2020-01-23 16:59:35 +08:00
gdimagecopyrotated Fix #320, should not convert the source to palette 2021-09-01 14:05:56 +07:00
gdimagecreate tests: cmake: list appending instead of set( 2019-02-09 13:17:25 -05:00
gdimagecrop revert unneeded test change in previous commit 2021-03-03 02:19:32 -05:00
gdimageellipse Fixed #169: update var type to hold bigger w&h for ellipse (#565) 2020-02-09 22:13:26 +08:00
gdimagefile Fixed test case build configure error in issue #626 2020-04-13 15:09:51 +08:00
gdimagefill Fix tests based on coverity reports (#819) 2022-02-01 15:09:01 +07:00
gdimagefilledarc Remove trailing whitespace 2019-01-16 19:52:54 +01:00
gdimagefilledellipse Fixed #169: update var type to hold bigger w&h for ellipse (#565) 2020-02-09 22:13:26 +08:00
gdimagefilledpolygon convert all files to native line encodings 2018-06-21 21:44:54 -04:00
gdimagefilledrectangle clean up trailing whitespace/newlines 2018-06-21 22:47:42 -04:00
gdimagefilltoborder tests: Correct some test depend errors 2020-01-02 20:27:29 +08:00
gdimagefilter clean up trailing whitespace/newlines 2018-06-21 22:47:42 -04:00
gdimageflip convert all files to native line encodings 2018-06-21 21:44:54 -04:00
gdimagegrayscale disable these two on Graviton2, specific during runs it seems. Building&Running the tests manually 100s never fail 2021-08-30 04:09:16 +07:00
gdimageline tests/gdimageline/gdimageline_bug5: add im null judgement (#624) 2020-05-20 19:29:23 +08:00
gdimagenegate convert all files to native line encodings 2018-06-21 21:44:54 -04:00
gdimageopenpolygon tests: sync feature enable lists in cmake files #382 2017-02-15 11:14:25 -05:00
gdimagepixelate Partially implement #220: tests: replace all printf error messages with gdTestErrorMsg 2016-07-15 14:59:21 +02:00
gdimagepolygon tests: sync feature enable lists in cmake files #382 2017-02-15 11:14:25 -05:00
gdimagerectangle tests: add more checks for libpng (and other deps) 2017-02-23 17:31:41 -05:00
gdimagerotate Fixed #596: gdTransformAffineCopy run error 2020-03-21 15:31:40 +08:00
gdimagescale Fix some memory leakage in test cases 2020-03-21 10:59:33 +08:00
gdimagescatterex Fix tests based on coverity reports (#819) 2022-02-01 15:09:01 +07:00
gdimagesetinterpolationmethod Fix #584: gdImageSetInterpolationMethod(im, GD_DEFAULT) inconsistent 2020-01-04 19:06:51 +01:00
gdimagesetpixel convert all files to native line encodings 2018-06-21 21:44:54 -04:00
gdimagesquaretocircle Fix two build configure errors in tests (#616) 2020-03-28 22:29:35 +08:00
gdimagestring add testcase for gdimagestring 2019-11-27 13:46:38 -05:00
gdimagestring16 Improve test cases for gdImageString16 and gdImageStringUp16 (#625) 2020-04-15 00:25:01 +08:00
gdimagestringft #797 possible leak on png error, returns from setjmp lost the row_poi… (#802) 2022-01-23 11:57:49 +07:00
gdimagestringftex Fix memory leaks in test cases 2016-08-27 16:41:29 +02:00
gdimagestringup add testcase for gdimagestringup 2019-11-28 11:23:51 -05:00
gdimagestringup16 Improve test cases for gdImageString16 and gdImageStringUp16 (#625) 2020-04-15 00:25:01 +08:00
gdimagetruecolortopalette tests: cmake: list appending instead of set( 2019-02-09 13:17:25 -05:00
gdinterpolatedscale let see which one failed here 2021-08-20 14:51:58 +07:00
gdmatrix return 0 on success 2021-08-26 22:45:15 +07:00
gdnewfilectx tests: cmake: switch to list appending 2016-06-15 15:02:13 -04:00
gdtest Some fixes for MINGW (#828) 2022-04-15 15:34:24 +07:00
gdtiled clean up trailing whitespace/newlines 2018-06-21 22:47:42 -04:00
gdtransformaffineboundingbox Fixed #596: gdTransformAffineCopy run error 2020-03-21 15:31:40 +08:00
gdtransformaffinecopy Fixed #596: gdTransformAffineCopy run error 2020-03-21 15:31:40 +08:00
gif fix #415, the same is needed in the other section, add test 2021-08-25 17:48:03 +07:00
heif #788 fix bug in HEIF usage, stride is require (#801) 2022-01-22 17:29:04 +07:00
jpeg fix warning 2021-09-10 04:51:57 +07:00
png merge conflict 2021-09-10 04:57:22 +07:00
source HEIF support through libheif (#670) 2021-03-02 12:32:03 -05:00
tga Fix tests based on coverity reports (#819) 2022-02-01 15:09:01 +07:00
tiff partial #818, fix again that logic. I need to find something more generic and convenient to handle errors, assert and free used resources on fail assert 2022-02-01 22:58:21 +07:00
wbmp tests: Correct some test depend errors 2020-01-02 20:27:29 +08:00
webp WebP: Fix memory leak in test and avoid possible memory leak if size is not correct (ie. passing 0 size will leak). Min size is the WebP sign (3x32bits) 2021-08-13 21:14:36 +07:00
xbm tests: Correct some test depend errors 2020-01-02 20:27:29 +08:00
xpm Remove useless SVN Ids 2016-07-15 16:34:47 +02:00
.gitignore tests: drop test_config.h 2016-07-21 20:25:29 +05:30
CMakeLists.txt Fix #402, negative determinant fails, only 0 or not finite should fail 2021-08-26 22:40:15 +07:00
Makefile.am Merge pull request #636 from willson-chen/mv_gd_color_map_test_to_tests 2021-08-26 19:11:15 +07:00
gdhelpers.c tests: fix distclean errors 2016-04-30 21:02:45 -04:00