mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
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:
parent
bdde797159
commit
7cc327fd5a
2 changed files with 11 additions and 11 deletions
|
@ -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--
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue