Dynamically xfail test case which fails on CI

This is a stop-gap measure for GH-15709 to keep CI green.

Sorry, xfailed the wrong test case previously.
This commit is contained in:
Christoph M. Becker 2024-10-23 13:55:09 +02:00
parent bdde797159
commit 7cc327fd5a
No known key found for this signature in database
GPG key ID: D66C9593118BCCB6
2 changed files with 11 additions and 11 deletions

View file

@ -2,17 +2,6 @@
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--

View file

@ -1,5 +1,16 @@
--TEST--
GH-16509: Incorrect lineno reported for function redeclaration
--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");
}
?>
--FILE--
<?php