diff options
Diffstat (limited to 'ext/gd/tests/xbm2png.phpt')
-rw-r--r-- | ext/gd/tests/xbm2png.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/gd/tests/xbm2png.phpt b/ext/gd/tests/xbm2png.phpt index 6edebc0b8d..7eaabc410b 100644 --- a/ext/gd/tests/xbm2png.phpt +++ b/ext/gd/tests/xbm2png.phpt @@ -1,7 +1,7 @@ --TEST-- xbm --> png conversion test --SKIPIF-- -<?php +<?php if (!extension_loaded('gd')) { die("skip gd extension not available."); } @@ -19,7 +19,7 @@ xbm --> png conversion test echo "XBM to PNG conversion: "; echo imagepng(imagecreatefromxbm($cwd . "/conv_test.xbm"), $cwd . "/test_xbm.png") ? 'ok' : 'failed'; echo "\n"; - + @unlink($cwd . "/test_xbm.png"); ?> --EXPECT-- |