diff options
author | Fabien Villepinte <fabien.villepinte@gmail.com> | 2019-09-28 21:29:54 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-09-30 17:51:41 +0200 |
commit | 0aa3acc6c420ef19a33ee80e65c4fb2f2ee128d0 (patch) | |
tree | 36221c1449522c7cbfb5426bf67374f1a59f54fb /ext/gd/tests | |
parent | 1f0ffece91f127f3f67d0738b279a712226a206b (diff) | |
download | php-git-0aa3acc6c420ef19a33ee80e65c4fb2f2ee128d0.tar.gz |
Fix borked SKIPIFs
Diffstat (limited to 'ext/gd/tests')
-rw-r--r-- | ext/gd/tests/bug77272.phpt | 2 | ||||
-rw-r--r-- | ext/gd/tests/imagepolygon_basic.phpt | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/ext/gd/tests/bug77272.phpt b/ext/gd/tests/bug77272.phpt index e3423da543..d3bfa24aaa 100644 --- a/ext/gd/tests/bug77272.phpt +++ b/ext/gd/tests/bug77272.phpt @@ -5,7 +5,7 @@ memory_limit=-1 --SKIPIF-- <?php if (!extension_loaded('gd')) die('skip gd extension not available'); -if (!GD_BUNGLED && version_compare(GD_VERSION, '2.2.5', '<=')) die('skip upstream fix not yet released'); +if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.5', '<=')) die('skip upstream fix not yet released'); if (getenv("SKIP_SLOW_TESTS")) die("skip slow test"); ?> --FILE-- diff --git a/ext/gd/tests/imagepolygon_basic.phpt b/ext/gd/tests/imagepolygon_basic.phpt index 21186e9ecc..5dfecfbf19 100644 --- a/ext/gd/tests/imagepolygon_basic.phpt +++ b/ext/gd/tests/imagepolygon_basic.phpt @@ -1,16 +1,15 @@ --TEST-- -imageploygon() +imagepolygon() --SKIPIF-- <?php if (!function_exists('imagepolygon')) die('skip imagepolygon() not available'); - require_once('skipif_imagetype.inc'); ?> --FILE-- <?php /* Prototype : bool imagepolygon ( resource $image , array $points , int $num_points , int $color ) * Description: Draws a polygon. - * Source code: ext/standard/image.c + * Source code: ext/gd/gd.c * Alias to functions: */ |