Skip to content

Commit 49247de

Browse files
orlitzkyGirgias
authored andcommitted
ext/gd/tests: fix three misleading die() messages
Three of our gd tests could be skipped with a message about requiring bundled GD, but those tests don't actually require bundled GD. We update the messages to mention the specific functions that are required.
1 parent 37d5bee commit 49247de

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ext/gd/tests/bug24155.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Bug #24155 (gdImageRotate270 rotation problem).
44
gd
55
--SKIPIF--
66
<?php
7-
if (!function_exists("imagerotate")) die("skip requires bundled GD library\n");
7+
if (!function_exists("imagerotate")) die("skip requires imagerotate function");
88
?>
99
--FILE--
1010
<?php

ext/gd/tests/bug39366.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Bug #39366 (imagerotate does not respect alpha with angles>45)
44
gd
55
--SKIPIF--
66
<?php
7-
if (!function_exists("imagerotate")) die("skip requires bundled GD library\n");
7+
if (!function_exists("imagerotate")) die("skip requires imagerotate function");
88
?>
99
--FILE--
1010
<?php

ext/gd/tests/imagefilter.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ imagefilter() function test
44
gd
55
--SKIPIF--
66
<?php
7-
if (!function_exists("imagefilter")) die("skip requires bundled GD library\n");
7+
if (!function_exists("imagefilter")) die("skip requires imagefilter function");
88
?>
99
--FILE--
1010
<?php

0 commit comments

Comments
 (0)