com php-src: Skip regression test for issue that has not yet been released in libgd: ext/gd/tests/bug53156.phpt
| From: | Christoph Michael Becker | Date: | Mon, 12 Sep 2016 11:21:34 +0000 |
| Subject: | com php-src: Skip regression test for issue that has not yet been released in libgd: ext/gd/tests/bug53156.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-94433@lists.php.net to get a copy of this message | ||
Commit: 0cbf634657dbaf5a49ba1c9f2d479d05c2e806d6
Author: Christoph M. Becker <cmbecker69@gmx.de> Mon, 12 Sep 2016 13:21:34 +0200
Parents: fcdc30b34772c7d1087d7c9ac5ec75ae98b2fa9d
Branches: PHP-5.6 PHP-7..0 PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=0cbf634657dbaf5a49ba1c9f2d479d05c2e806d6
Log:
Skip regression test for issue that has not yet been released in libgd
<https://github.com/libgd/libgd/issues/177>
has been assessed as enhancement,
so most likely it will be released with GD 2.3.
Changed paths:
M ext/gd/tests/bug53156.phpt
Diff:
diff --git a/ext/gd/tests/bug53156.phpt b/ext/gd/tests/bug53156.phpt
index 24db802..9e1fec8 100644
--- a/ext/gd/tests/bug53156.phpt
+++ b/ext/gd/tests/bug53156.phpt
@@ -3,6 +3,9 @@ Bug #53156 (imagerectangle problem with point ordering)
--SKIPIF--
<?php
if (!extension_loaded('gd')) die('skip gd extension not available');
+if (!GD_BUNDLED && version_compare(GD_VERSION, '2.3', '<')) {
+ die("skip test requires GD 2.3 or newer");
+}
?>
--FILE--
<?php