Skip to content

Commit 7106c77

Browse files
committed
Fix tests on 32-bit Windows OS
1 parent 0df2886 commit 7106c77

File tree

7 files changed

+2
-31
lines changed

7 files changed

+2
-31
lines changed

ext/gd/tests/bug77269.phpt

Lines changed: 0 additions & 18 deletions
This file was deleted.

ext/gd/tests/bug77272.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ memory_limit=-1
55
--SKIPIF--
66
<?php
77
if (!extension_loaded('gd')) die('skip gd extension not available');
8+
if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only");
89
if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.5', '<=')) die('skip upstream fix not yet released');
910
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
1011
?>

ext/sysvshm/tests/bug72858.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Bug #72858 shm_attach null dereference
33
--SKIPIF--
44
<?php
55
if (!extension_loaded("sysvshm")){ print 'skip'; }
6-
if (4 < PHP_INT_SIZE) { print "skip 32-bit only"; }
6+
if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only");
77
if (substr(PHP_OS, 0, 3) != "WIN") { print "skip windows only"; }
88
?>
99
--FILE--

sapi/phpdbg/tests/watch_001.phpt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
Test simple recursive watchpoint
33
--SKIPIF--
44
<?php
5-
if (PHP_INT_SIZE == 4) {
6-
die("xfail There may be flaws in the implementation of watchpoints that cause failures");
7-
}
85
if (getenv('SKIP_ASAN')) {
96
die("skip intentionally causes segfaults");
107
}

sapi/phpdbg/tests/watch_002.phpt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
Test simple array watchpoint with replace
33
--SKIPIF--
44
<?php
5-
if (PHP_INT_SIZE == 4) {
6-
die("xfail There may be flaws in the implementation of watchpoints that cause failures");
7-
}
85
if (getenv('SKIP_ASAN')) {
96
die("skip intentionally causes segfaults");
107
}

sapi/phpdbg/tests/watch_003.phpt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
Test simple watchpoint with replace
33
--SKIPIF--
44
<?php
5-
if (PHP_INT_SIZE == 4) {
6-
die("xfail There may be flaws in the implementation of watchpoints that cause failures");
7-
}
85
if (getenv('SKIP_ASAN')) {
96
die("skip intentionally causes segfaults");
107
}

sapi/phpdbg/tests/watch_004.phpt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
Test detection of inline string manipulations on zval watch
33
--SKIPIF--
44
<?php
5-
if (PHP_INT_SIZE == 4) {
6-
die("xfail There may be flaws in the implementation of watchpoints that cause failures");
7-
}
85
if (getenv('SKIP_ASAN')) {
96
die("skip intentionally causes segfaults");
107
}

0 commit comments

Comments
 (0)