com php-src: Skip test for external GD because of not yet published bugfix: ext/gd/tests/bug67325.phpt

From: Date: Mon, 12 Sep 2016 10:34:11 +0000
Subject: com php-src: Skip test for external GD because of not yet published bugfix: ext/gd/tests/bug67325.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-94432@lists.php.net to get a copy of this message
Commit: fcdc30b34772c7d1087d7c9ac5ec75ae98b2fa9d Author: Christoph M. Becker <cmbecker69@gmx.de> Mon, 12 Sep 2016 12:34:11 +0200 Parents: 6d0e773292992726c9847421f0a8c9bbfa962b0d Branches: PHP-5.6 PHP-7..0 PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=fcdc30b34772c7d1087d7c9ac5ec75ae98b2fa9d Log: Skip test for external GD because of not yet published bugfix Changed paths: M ext/gd/tests/bug67325.phpt Diff: diff --git a/ext/gd/tests/bug67325.phpt b/ext/gd/tests/bug67325.phpt index dabc8b2..97072fe 100644 --- a/ext/gd/tests/bug67325.phpt +++ b/ext/gd/tests/bug67325.phpt @@ -3,7 +3,10 @@ Bug #67325 (imagetruecolortopalette: white is duplicated in palette) --SKIPIF-- <?php if (!extension_loaded('gd')) die('skip gd extension not available'); -if (!(imagetypes() & IMG_JPG)) die('skip JPEG support not available'); +if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.3', '<=')) { + die("skip test requires newer than GD 2.2.3"); +} + if (!(imagetypes() & IMG_JPG)) die('skip JPEG support not available'); ?> --FILE-- <?php

« previous php.cvs (#94432) next »