Skip to content

Commit 1a370d3

Browse files
committed
Skip some tests under --preload
A genuine problem here is that we sometime get different class casing due interaction with the ZSTR CE cache. Ignore these for now.
1 parent 06cf4ff commit 1a370d3

File tree

11 files changed

+40
-4
lines changed

11 files changed

+40
-4
lines changed

Zend/tests/deprecation_to_exception_during_inheritance.phpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
--TEST--
22
Deprecation promoted to exception should result in fatal error during inheritance
3+
--SKIPIF--
4+
<?php
5+
if (getenv('SKIP_PRELOAD')) die('skip Error handler not active during preloading');
6+
?>
37
--FILE--
48
<?php
59

Zend/tests/objects_008.phpt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
--TEST--
22
method overloading with different method signature
3-
--INI--
4-
error_reporting=8191
3+
--SKIPIF--
4+
<?php
5+
if (getenv('SKIP_PRELOAD')) die('xfail Difference in class name casing');
6+
?>
57
--FILE--
68
<?php
79

ext/phar/tests/front.phar.phpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ default_charset=UTF-8
55
opcache.validate_timestamps=1
66
--EXTENSIONS--
77
phar
8+
--SKIPIF--
9+
<?php
10+
if (getenv('SKIP_PRELOAD')) die('skip Unknown failure');
11+
?>
812
--ENV--
913
SCRIPT_NAME=/front.phar.php
1014
REQUEST_URI=/front.phar.php/index.php

ext/reflection/tests/ReflectionClass_isSubclassOf_error2.phpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
--TEST--
22
ReflectionClass::isSubclassOf() - fixed crash for unbound anonymous class
3+
--SKIPIF--
4+
<?php
5+
if (getenv('SKIP_PRELOAD')) die('skip Anon class is linked during preloading');
6+
?>
37
--FILE--
48
<?php
59
class X {

ext/reflection/tests/bug76536.phpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
--TEST--
22
Bug #76536 (PHP crashes with core dump when throwing exception in error handler)
3+
--SKIPIF--
4+
<?php
5+
if (getenv('SKIP_PRELOAD')) die('skip Error handler not available during preloading');
6+
?>
37
--FILE--
48
<?php
59
class SomeConstants {const SOME_CONSTANT = "0foo" % 5; }

ext/reflection/tests/intersection_types.phpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
--TEST--
22
Intersection types in reflection
3+
--SKIPIF--
4+
<?php
5+
if (getenv('SKIP_PRELOAD')) die('xfail Difference in class name casing');
6+
?>
37
--FILE--
48
<?php
59

ext/reflection/tests/union_types.phpt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
--TEST--
22
Union types in reflection
3-
--INI--
4-
error_reporting=E_ALL&~E_DEPRECATED
3+
--SKIPIF--
4+
<?php
5+
if (getenv('SKIP_PRELOAD')) die('xfail Difference in class name casing');
6+
?>
57
--FILE--
68
<?php
79

ext/standard/tests/serialize/max_depth.phpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
--TEST--
22
Bug #78549: Stack overflow due to nested serialized input
3+
--SKIPIF--
4+
<?php
5+
if (getenv('SKIP_PRELOAD')) die('skip Different order of deprecation messages');
6+
?>
37
--FILE--
48
<?php
59

ext/tidy/tests/026.phpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
tidy.clean_output test
33
--EXTENSIONS--
44
tidy
5+
--SKIPIF--
6+
<?php
7+
if (getenv('SKIP_PRELOAD')) die('skip Output handler interferes');
8+
?>
59
--INI--
610
tidy.clean_output=1
711
--FILE--

ext/zend_test/tests/optimizer_register_pass.phpt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ zend_test
88
if (getenv("SKIP_REPEAT")) {
99
die("skip pass registration does not need repeat");
1010
}
11+
if (getenv("SKIP_PRELOAD")) {
12+
die("skip Not compatible with preload");
13+
}
1114
?>
1215
--INI--
1316
opcache.enable_cli=1

0 commit comments

Comments
 (0)