mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Add missing SKIPIFs
All these tests are meant to run with OPcache available, and some will even fail inevitably without it, so we add OPcache as SKIPIF requirement.
This commit is contained in:
parent
be559e6c37
commit
75bc3446f8
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Block pass: Bugs in BOOL/QM_ASSIGN elision
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
(bool) (true ? $x : $y);
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Removing a block that has duplicate successors
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
function test($foo) {
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Incorrect constant propagation on BOOL in pass 1
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
function test($foo) {
|
||||
|
@ -5,6 +5,8 @@ open_basedir=.
|
||||
opcache.enabled=1
|
||||
opcache.enable_cli=1
|
||||
opcache.log_verbosity_level=2
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Bug #72762: Infinite loop while parsing a file with opcache enabled
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Bug #73654: Segmentation fault in zend_call_function
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
echo xyz();
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Bug #73668: "SIGFPE Arithmetic exception" in opcache when divide by minus 1
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
$a/-1;
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Bug #73746 (Method that returns string returns UNKNOWN:0 instead)
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
namespace Core\Bundle\Service\Property\Room\Rooms;
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Bug #73789 (Strange behavior of class constants in switch/case block)
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
class Lexer
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Bug #73847: Recursion when a variable is redefined as array
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
function test() {
|
||||
|
@ -4,6 +4,8 @@ Bug #74431 - foreach infinite loop
|
||||
opcache.enable=1
|
||||
opcache.enable_cli=1
|
||||
opcache.optimization_level=0xffffffff
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
function test(){
|
||||
|
@ -2,6 +2,8 @@
|
||||
Bug #74442: Opcached version produces a nested array
|
||||
--CREDITS--
|
||||
Eric Norris <erictnorris@gmail.com>
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
class Schema_Base {
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Bug #74623: Infinite loop in type inference when using HTMLPurifier
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Bug #75255 (Request hangs and not finish)
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
function generatePlanImage() {
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Bug #75570 ("Narrowing occurred during type inference" error)
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
function renderRawGraph(array $parents) {
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Bug #75608 ("Narrowing occurred during type inference" error)
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
class ReactionRatingService
|
||||
|
@ -3,6 +3,8 @@ Bug #75893: file_get_contents $http_response_header variable bugged with opcache
|
||||
--INI--
|
||||
opcache.enable_cli=1
|
||||
track_errors=1
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Bug #75938: Modulus value not stored in variable
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
function borken($columns) {
|
||||
|
@ -3,6 +3,8 @@ Bug #75969: Assertion failure in live range DCE due to block pass misoptimizatio
|
||||
--INI--
|
||||
opcache.enable_cli=1
|
||||
opcache.optimization_level=-1
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Bug #76074 (opcache corrupts variable in for-loop)
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -4,6 +4,8 @@ Bug #76275: Assertion failure in file cache when unserializing empty try_catch_a
|
||||
opcache.enabled=1
|
||||
opcache.enable_cli=1
|
||||
opcache.file_cache={TMP}
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Bug #76281: Opcache causes incorrect "undefined variable" errors
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -5,6 +5,8 @@ opcache.enable=1
|
||||
opcache.enable_cli=1
|
||||
opcache.optimization_level=-1
|
||||
disable_functions=strpos
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Bug #77058: Type inference in opcache causes side effects
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -3,6 +3,8 @@ Bug #77092: array_diff_key() - segmentation fault
|
||||
--INI--
|
||||
opcache.enable_cli=1
|
||||
opcache.optimization_level=-1
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
function test() {
|
||||
|
@ -3,6 +3,8 @@ Bug #77215: CFG assertion failure on multiple finalizing switch frees in one blo
|
||||
--INI--
|
||||
opcache.enable_cli=1
|
||||
opcache.optimization_level=-1
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Bug #77691: Opcache passes wrong value for inline array push assignments
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Bug #77743: Incorrect pi node insertion for jmpznz with identical successors
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Bug #78106: Path resolution fails if opcache disabled during request
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -5,6 +5,8 @@ opcache.enable_cli=1
|
||||
opcache.optimization_level=-1
|
||||
opcache.file_cache={PWD}
|
||||
opcache.file_cache_only=1
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
if (substr(PHP_OS, 0, 3) !== 'WIN') {
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Don't add array value type is key type is illegal
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Edge-cases in elimination of JMPZ JMP with same target
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Literal compaction should take method calls on literals into account
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Incorrect negative range inference
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Don't create FETCH_DIM_R with UNUSED op2
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Type inference of SEND_UNPACK with empty array
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
function test() {
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
SSA constrution for CFG with unreachable basic blocks
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
class X {
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Incorrect NOP removal on jump to NOP
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Incorrect elision of return type checks
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Assign elision exception safety: ICALL
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Assign elision exception safety: UCALL
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Incorrect optimization of $i = $i++
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Incorrect CFG/SSA construction for SWITCH with few identical successors
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
function render($properties) {
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Incorrect CFG/SSA reconstruction
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
if (!is_int($info = gc_collect_cycles()) || ($info < 100)) {
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Incorrect type inference
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
class PHP_CodeCoverage
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Wrong assertion
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
function foo($parts, $a, $b) {
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Switch where all targets, including default, coincide
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Incorrect liveness computation for verify-return
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
function test($foo): string
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Inlining of functions with ref arguments
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user