Skip to content

Commit ea6a7a9

Browse files
committed
Fix CI for windows-2022
This is a continuation of GH-18927 to fix CI for windows-2022
1 parent 91f2458 commit ea6a7a9

File tree

6 files changed

+18
-0
lines changed

6 files changed

+18
-0
lines changed

Zend/tests/bug40770.phpt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ Bug #40770 (Apache child exits when PHP memory limit reached)
44
memory_limit=8M
55
--SKIPIF--
66
<?php
7+
if (PHP_OS_FAMILY === 'Windows' && version_compare(PHP_VERSION, '8.4', '<')) {
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/gh12073.phpt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
GH-12073: Freeing of non-ZMM pointer of incompletely allocated closure
33
--SKIPIF--
44
<?php
5+
if (PHP_OS_FAMILY === 'Windows' && version_compare(PHP_VERSION, '8.4', '<')) {
6+
die("xfail fails on Windows Server 2022 and newer.");
7+
}
58
if (getenv("USE_ZEND_ALLOC") === "0" && getenv("USE_TRACKED_ALLOC") !== "1") {
69
die("skip Zend MM disabled");
710
}

tests/basic/timeout_variation_0.phpt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
Timeout within while loop
33
--SKIPIF--
44
<?php
5+
if (PHP_OS_FAMILY === 'Windows' && version_compare(PHP_VERSION, '8.4', '<')) {
6+
die("xfail fails on Windows Server 2022 and newer.");
7+
}
58
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
69
?>
710
--FILE--

tests/basic/timeout_variation_7.phpt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
Timeout within for loop
33
--SKIPIF--
44
<?php
5+
if (PHP_OS_FAMILY === 'Windows' && version_compare(PHP_VERSION, '8.4', '<')) {
6+
die("xfail fails on Windows Server 2022 and newer.");
7+
}
58
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
69
?>
710
--FILE--

tests/func/005a.phpt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
Testing register_shutdown_function() with timeout. (Bug: #21513)
33
--SKIPIF--
44
<?php
5+
if (PHP_OS_FAMILY === 'Windows' && version_compare(PHP_VERSION, '8.4', '<')) {
6+
die("xfail fails on Windows Server 2022 and newer.");
7+
}
58
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
69
?>
710
--FILE--

tests/lang/bug45392.phpt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
Bug #45392 (ob_start()/ob_end_clean() and memory_limit)
33
--SKIPIF--
44
<?php
5+
if (PHP_OS_FAMILY === 'Windows' && version_compare(PHP_VERSION, '8.4', '<')) {
6+
die("xfail fails on Windows Server 2022 and newer.");
7+
}
58
if (getenv("USE_ZEND_ALLOC") === "0") {
69
die("skip Zend MM disabled");
710
}

0 commit comments

Comments
 (0)