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.4.0alpha1~205 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2c3b1fd9207d7408814018de8abe2a692fac26a0;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-- --SKIPIF-- --FILE--