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:
@@ -2,6 +2,17 @@
|
||||
GH-16508: Missing lineno in inheritance errors of delayed early bound classes
|
||||
--EXTENSIONS--
|
||||
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--
|
||||
opcache.enable_cli=1
|
||||
--FILE--
|
||||
|
||||
Reference in New Issue
Block a user