1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Dynamically xfail test case which fails on CI

This is a stop-gap measure for GH-15709 to keep CI green.
This commit is contained in:
Christoph M. Becker
2024-10-23 13:11:12 +02:00
parent 5892991941
commit bdde797159

View File

@@ -2,6 +2,17 @@
GH-16508: Missing lineno in inheritance errors of delayed early bound classes GH-16508: Missing lineno in inheritance errors of delayed early bound classes
--EXTENSIONS-- --EXTENSIONS--
opcache opcache
--SKIPIF--
<?php
$tracing = extension_loaded("Zend OPcache")
&& ($conf = opcache_get_configuration()["directives"])
&& array_key_exists("opcache.jit", $conf)
&& $conf["opcache.jit"] === "tracing";
if (PHP_OS_FAMILY === "Windows" && PHP_INT_SIZE == 8 && $tracing) {
$url = "https://github.com/php/php-src/pull/14919#issuecomment-2259003979";
die("xfail Test fails on Windows x64 (VS17) and tracing JIT; see $url");
}
?>
--INI-- --INI--
opcache.enable_cli=1 opcache.enable_cli=1
--FILE-- --FILE--