Skip to content

Commit 75bc344

Browse files
committed
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.
1 parent be559e6 commit 75bc344

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+98
-0
lines changed

ext/opcache/tests/block_pass_001.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Block pass: Bugs in BOOL/QM_ASSIGN elision
3+
--SKIPIF--
4+
<?php require_once('skipif.inc'); ?>
35
--FILE--
46
<?php
57
(bool) (true ? $x : $y);

ext/opcache/tests/block_removal_with_duplicate_successors.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Removing a block that has duplicate successors
3+
--SKIPIF--
4+
<?php require_once('skipif.inc'); ?>
35
--FILE--
46
<?php
57
function test($foo) {

ext/opcache/tests/bool_cp_in_pass1.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Incorrect constant propagation on BOOL in pass 1
3+
--SKIPIF--
4+
<?php require_once('skipif.inc'); ?>
35
--FILE--
46
<?php
57
function test($foo) {

ext/opcache/tests/bug70423.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ open_basedir=.
55
opcache.enabled=1
66
opcache.enable_cli=1
77
opcache.log_verbosity_level=2
8+
--SKIPIF--
9+
<?php require_once('skipif.inc'); ?>
810
--FILE--
911
<?php
1012

ext/opcache/tests/bug72762.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #72762: Infinite loop while parsing a file with opcache enabled
3+
--SKIPIF--
4+
<?php require_once('skipif.inc'); ?>
35
--FILE--
46
<?php
57

ext/opcache/tests/bug73654.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #73654: Segmentation fault in zend_call_function
3+
--SKIPIF--
4+
<?php require_once('skipif.inc'); ?>
35
--FILE--
46
<?php
57
echo xyz();

ext/opcache/tests/bug73668.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #73668: "SIGFPE Arithmetic exception" in opcache when divide by minus 1
3+
--SKIPIF--
4+
<?php require_once('skipif.inc'); ?>
35
--FILE--
46
<?php
57
$a/-1;

ext/opcache/tests/bug73746.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #73746 (Method that returns string returns UNKNOWN:0 instead)
3+
--SKIPIF--
4+
<?php require_once('skipif.inc'); ?>
35
--FILE--
46
<?php
57
namespace Core\Bundle\Service\Property\Room\Rooms;

ext/opcache/tests/bug73789.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #73789 (Strange behavior of class constants in switch/case block)
3+
--SKIPIF--
4+
<?php require_once('skipif.inc'); ?>
35
--FILE--
46
<?php
57
class Lexer

ext/opcache/tests/bug73847.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #73847: Recursion when a variable is redefined as array
3+
--SKIPIF--
4+
<?php require_once('skipif.inc'); ?>
35
--FILE--
46
<?php
57
function test() {

0 commit comments

Comments
 (0)