com php-src: test requires imagejpeg(); skip otherwise: ext/standard/tests/image/bug70096.phpt
| From: | Christoph Michael Becker | Date: | Fri, 31 Jul 2015 11:51:49 +0000 |
| Subject: | com php-src: test requires imagejpeg(); skip otherwise: ext/standard/tests/image/bug70096.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-88254@lists.php.net to get a copy of this message | ||
Commit: cdabbd9542a41bb2a1ce3b1d85b88003e0a1a19c
Author: Christoph M. Becker <cmb@php.net> Fri, 31 Jul 2015 13:51:49 +0200
Parents: d7f354fa573abfa7c54d397b3a7acae7f4ae6d29
Branches: PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=cdabbd9542a41bb2a1ce3b1d85b88003e0a1a19c
Log:
test requires imagejpeg(); skip otherwise
Changed paths:
M ext/standard/tests/image/bug70096..phpt
Diff:
diff --git a/ext/standard/tests/image/bug70096.phpt b/ext/standard/tests/image/bug70096.phpt
index 1674d07..0dd55cb 100644
--- a/ext/standard/tests/image/bug70096.phpt
+++ b/ext/standard/tests/image/bug70096.phpt
@@ -3,6 +3,7 @@ Bug #70096 (Repeated iptcembed() adds superfluous FF bytes)
--SKIPIF--
<?php
if (!extension_loaded('gd')) die('skip gd extension not available');
+if (!function_exists('imagejpeg')) die('skip imagejpeg not available');
?>
--FILE--
<?php