From: Raphael Geissert Date: Thu, 11 Mar 2010 05:49:50 +0000 (+0000) Subject: Properly skip tests that require the bundled gd lib when the external is used X-Git-Tag: php-5.2.14RC1~92 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c15857413c9769426caa75c2f4ed383b7afbf782;p=php Properly skip tests that require the bundled gd lib when the external is used --- diff --git a/ext/gd/tests/bug42434.phpt b/ext/gd/tests/bug42434.phpt index cede1ac17f..bc0790ede4 100644 --- a/ext/gd/tests/bug42434.phpt +++ b/ext/gd/tests/bug42434.phpt @@ -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-- --SKIPIF-- --FILE-- --SKIPIF-- --FILE-- --SKIPIF-- --FILE-- --SKIPIF-- --FILE-- --SKIPIF-- --FILE--