]> granicus.if.org Git - php/commitdiff
Mark tests as XFAIL on Windows
authorChristoph M. Becker <cmbecker69@gmx.de>
Sun, 13 Sep 2020 13:35:22 +0000 (15:35 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Sun, 13 Sep 2020 13:38:57 +0000 (15:38 +0200)
These tests segfault with tracing JIT on Windows as of a recent
commit[1].  A link to a backtrace is available in a comment[2].  For
now, we mark these tests as XFAIL, to keep AppVeyor CI helpful.

[1] <https://github.com/php/php-src/commit/817ae414962480d133ed76618b88b3e7ba482718>
[2] <https://github.com/php/php-src/commit/817ae414962480d133ed76618b88b3e7ba482718#commitcomment-42227420>

ext/session/tests/session_decode_basic.phpt
ext/session/tests/session_decode_basic_serialize.phpt

index 60354e00241b8c0ee98d112477085ae790a4f59a..716dba0433fa9b64ecc7e60d57b551520d3460c6 100644 (file)
@@ -2,6 +2,11 @@
 Test session_decode() function : basic functionality
 --SKIPIF--
 <?php include('skipif.inc'); ?>
+<?php
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+    die('xfail issues with JIT on Windows');
+}
+?>
 --FILE--
 <?php
 
index 12f0f20570544770e81f47a71cbea4141ac606bf..33e101afe9ff6ca31d11b037234253537615afe6 100644 (file)
@@ -2,6 +2,11 @@
 Test session_decode() function : basic functionality
 --SKIPIF--
 <?php include('skipif.inc'); ?>
+<?php
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+    die('xfail issues with JIT on Windows');
+}
+?>
 --FILE--
 <?php