mirror of
https://github.com/php/php-src.git
synced 2024-11-27 20:03:40 +08:00
Properly skip tests that require the bundled gd lib when the external is used
This commit is contained in:
parent
78cf85ab44
commit
2c3b1fd920
@ -5,6 +5,7 @@ Bug #42434 (ImageLine w/ antialias = 1px shorter)
|
||||
if (!extension_loaded('gd')) {
|
||||
die('skip gd extension not available');
|
||||
}
|
||||
if (!GD_BUNDLED) die("skip requires bundled GD library\n");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
@ -6,6 +6,7 @@ Guilherme Blanco <guilhermeblanco [at] hotmail [dot] com>
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded("gd")) die("skip GD not present");
|
||||
if (!GD_BUNDLED) die("skip requires bundled GD library\n");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
@ -6,6 +6,7 @@ Guilherme Blanco <guilhermeblanco [at] hotmail [dot] com>
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded("gd")) die("skip GD not present");
|
||||
if (!GD_BUNDLED) die("skip requires bundled GD library\n");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
@ -6,7 +6,7 @@ Rafael Dohms <rdohms [at] gmail [dot] com>
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded("gd")) die("skip GD not present");
|
||||
if (!GD_BUNDLED) die('function only available in bundled, external GD detected');
|
||||
if (!GD_BUNDLED) die('skip function only available in bundled, external GD detected');
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
@ -6,7 +6,7 @@ Rafael Dohms <rdohms [at] gmail [dot] com>
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded("gd")) die("skip GD not present");
|
||||
if (!GD_BUNDLED) die('function only available in bundled, external GD detected');
|
||||
if (!GD_BUNDLED) die('skip function only available in bundled, external GD detected');
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
@ -6,7 +6,7 @@ Rafael Dohms <rdohms [at] gmail [dot] com>
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded("gd")) die("skip GD not present");
|
||||
if (!GD_BUNDLED) die('function only available in bundled, external GD detected');
|
||||
if (!GD_BUNDLED) die('skip function only available in bundled, external GD detected');
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
@ -6,7 +6,7 @@ Rafael Dohms <rdohms [at] gmail [dot] com>
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded("gd")) die("skip GD not present");
|
||||
if (!GD_BUNDLED) die('function only available in bundled, external GD detected');
|
||||
if (!GD_BUNDLED) die('skip function only available in bundled, external GD detected');
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
Loading…
Reference in New Issue
Block a user