mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Fix CI for windows-2022
This is a continuation of GH-18927 to fix CI for windows-2022
This commit is contained in:
@@ -4,6 +4,9 @@ Bug #40770 (Apache child exits when PHP memory limit reached)
|
|||||||
memory_limit=8M
|
memory_limit=8M
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
if (PHP_OS_FAMILY === 'Windows' && version_compare(PHP_VERSION, '8.4', '<')) {
|
||||||
|
die("xfail fails on Windows Server 2022 and newer.");
|
||||||
|
}
|
||||||
$zend_mm_enabled = getenv("USE_ZEND_ALLOC");
|
$zend_mm_enabled = getenv("USE_ZEND_ALLOC");
|
||||||
if ($zend_mm_enabled === "0") {
|
if ($zend_mm_enabled === "0") {
|
||||||
die("skip Zend MM disabled");
|
die("skip Zend MM disabled");
|
||||||
|
|||||||
@@ -2,6 +2,9 @@
|
|||||||
GH-12073: Freeing of non-ZMM pointer of incompletely allocated closure
|
GH-12073: Freeing of non-ZMM pointer of incompletely allocated closure
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
if (PHP_OS_FAMILY === 'Windows' && version_compare(PHP_VERSION, '8.4', '<')) {
|
||||||
|
die("xfail fails on Windows Server 2022 and newer.");
|
||||||
|
}
|
||||||
if (getenv("USE_ZEND_ALLOC") === "0" && getenv("USE_TRACKED_ALLOC") !== "1") {
|
if (getenv("USE_ZEND_ALLOC") === "0" && getenv("USE_TRACKED_ALLOC") !== "1") {
|
||||||
die("skip Zend MM disabled");
|
die("skip Zend MM disabled");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
--TEST--
|
--TEST--
|
||||||
GH-13177 (PHP 8.3.2: final private constructor not allowed when used in trait)
|
GH-13177 (PHP 8.3.2: final private constructor not allowed when used in trait)
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
if (PHP_OS_FAMILY === 'Windows' && version_compare(PHP_VERSION, '8.4', '<')) {
|
||||||
|
die("xfail fails on Windows Server 2022 and newer.");
|
||||||
|
}
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,9 @@
|
|||||||
Timeout within while loop
|
Timeout within while loop
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
if (PHP_OS_FAMILY === 'Windows' && version_compare(PHP_VERSION, '8.4', '<')) {
|
||||||
|
die("xfail fails on Windows Server 2022 and newer.");
|
||||||
|
}
|
||||||
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
|
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
|
||||||
?>
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
|
|||||||
@@ -2,6 +2,9 @@
|
|||||||
Timeout within for loop
|
Timeout within for loop
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
if (PHP_OS_FAMILY === 'Windows' && version_compare(PHP_VERSION, '8.4', '<')) {
|
||||||
|
die("xfail fails on Windows Server 2022 and newer.");
|
||||||
|
}
|
||||||
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
|
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
|
||||||
?>
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
|
|||||||
@@ -2,6 +2,9 @@
|
|||||||
Testing register_shutdown_function() with timeout. (Bug: #21513)
|
Testing register_shutdown_function() with timeout. (Bug: #21513)
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
if (PHP_OS_FAMILY === 'Windows' && version_compare(PHP_VERSION, '8.4', '<')) {
|
||||||
|
die("xfail fails on Windows Server 2022 and newer.");
|
||||||
|
}
|
||||||
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
|
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
|
||||||
?>
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
|
|||||||
@@ -2,6 +2,9 @@
|
|||||||
Bug #45392 (ob_start()/ob_end_clean() and memory_limit)
|
Bug #45392 (ob_start()/ob_end_clean() and memory_limit)
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
if (PHP_OS_FAMILY === 'Windows' && version_compare(PHP_VERSION, '8.4', '<')) {
|
||||||
|
die("xfail fails on Windows Server 2022 and newer.");
|
||||||
|
}
|
||||||
if (getenv("USE_ZEND_ALLOC") === "0") {
|
if (getenv("USE_ZEND_ALLOC") === "0") {
|
||||||
die("skip Zend MM disabled");
|
die("skip Zend MM disabled");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user