Skip to content

Commit b3e95f9

Browse files
committed
xfail test cases that fail on windows-2022
1 parent 2657fac commit b3e95f9

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

Zend/tests/bug70258.phpt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ Bug #70258 (Segfault if do_resize fails to allocated memory)
44
memory_limit=2M
55
--SKIPIF--
66
<?php
7+
if (PHP_OS_FAMILY === 'Windows') {
8+
die("xfail fails on Windows Server 2022 and newer.");
9+
}
710
$zend_mm_enabled = getenv("USE_ZEND_ALLOC");
811
if ($zend_mm_enabled === "0") {
912
die("skip Zend MM disabled");

Zend/tests/gh11189.phpt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
GH-11189: Exceeding memory limit in zend_hash_do_resize leaves the array in an invalid state (packed array)
33
--SKIPIF--
44
<?php
5+
if (PHP_OS_FAMILY === 'Windows') {
6+
die("xfail fails on Windows Server 2022 and newer.");
7+
}
58
if (getenv("USE_ZEND_ALLOC") === "0") die("skip ZMM is disabled");
69
?>
710
--INI--

Zend/tests/gh11189_1.phpt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
GH-11189: Exceeding memory limit in zend_hash_do_resize leaves the array in an invalid state (not packed array)
33
--SKIPIF--
44
<?php
5+
if (PHP_OS_FAMILY === 'Windows') {
6+
die("xfail fails on Windows Server 2022 and newer.");
7+
}
58
if (getenv("USE_ZEND_ALLOC") === "0") die("skip ZMM is disabled");
69
?>
710
--INI--

0 commit comments

Comments
 (0)