Skip to content

Commit 873c087

Browse files
committed
Mark tests as XFAIL on Windows
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] <817ae41> [2] <817ae41#commitcomment-42227420>
1 parent 3854234 commit 873c087

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

ext/session/tests/session_decode_basic.phpt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
Test session_decode() function : basic functionality
33
--SKIPIF--
44
<?php include('skipif.inc'); ?>
5+
<?php
6+
if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
7+
die('xfail issues with JIT on Windows');
8+
}
9+
?>
510
--FILE--
611
<?php
712

ext/session/tests/session_decode_basic_serialize.phpt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
Test session_decode() function : basic functionality
33
--SKIPIF--
44
<?php include('skipif.inc'); ?>
5+
<?php
6+
if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
7+
die('xfail issues with JIT on Windows');
8+
}
9+
?>
510
--FILE--
611
<?php
712

0 commit comments

Comments
 (0)