]> granicus.if.org Git - php/commitdiff
Mark failing tests as XFAIL for now
authorChristoph M. Becker <cmbecker69@gmx.de>
Sat, 20 Jun 2020 09:06:38 +0000 (11:06 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Sat, 20 Jun 2020 09:07:57 +0000 (11:07 +0200)
These test fail on Window since some recent changes to JIT; we mark
them as XFAIL until the issues are resolved.

Zend/tests/bug31098.phpt
Zend/tests/bug44660.phpt
ext/opcache/tests/jit/fetch_obj_001.phpt

index 4d01d36cd8673e220d08bdb402209062faadc0af..325ed177272a540cfc5f2286542fc89869d290fa 100644 (file)
@@ -1,5 +1,11 @@
 --TEST--
 Bug #31098 (isset() / empty() incorrectly returns true in dereference of a wrong type)
+--SKIPIF--
+<?php
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+    die('xfail unresolved issues with JIT on Windows');
+}
+?>
 --FILE--
 <?php
 $a = '';
index 5097fa7518389ba9f7ee92427cb38fe42fa1e31f..08de20db011bc958f7197c68ebbe0d4d87def8c1 100644 (file)
@@ -1,5 +1,11 @@
 --TEST--
 Bug #44660 (Indexed and reference assignment to property of non-object don't trigger warning)
+--SKIPIF--
+<?php
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+    die('xfail unresolved issues with JIT on Windows');
+}
+?>
 --FILE--
 <?php
 $s = "hello";
index 49de772b66c9fd831ff5971ada6c34f9f1f0c5c5..666bd02d48a2b8c49e1eb567d1805d2721a37553 100644 (file)
@@ -7,6 +7,11 @@ opcache.file_update_protection=0
 opcache.jit_buffer_size=1M
 --SKIPIF--
 <?php require_once('skipif.inc'); ?>
+<?php
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+    die('xfail unresolved issues with JIT on Windows');
+}
+?>
 --FILE--
 <?php
 function foo(&$a) {