Skip to content

Commit db714b3

Browse files
committed
fix other tests for Windows x86 build - phpGH-9744
1 parent 349d2dd commit db714b3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

ext/gd/tests/bug77269.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Bug #77269 (Potential unsigned underflow in gdImageScale)
44
<?php
55
if (!extension_loaded('gd')) die('skip gd extension not available');
66
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
7+
if (substr(PHP_OS, 0, 3) == 'WIN' && PHP_INT_SIZE === 4) die("skip not for Windows x86");
78
?>
89
--INI--
910
memory_limit=2G

ext/gd/tests/bug77272.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ memory_limit=-1
77
if (!extension_loaded('gd')) die('skip gd extension not available');
88
if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.5', '<=')) die('skip upstream fix not yet released');
99
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
10+
if (substr(PHP_OS, 0, 3) == 'WIN' && PHP_INT_SIZE === 4) die("skip not for Windows x86");
1011
?>
1112
--FILE--
1213
<?php

0 commit comments

Comments
 (0)