com php-src: Don't disable opcache for generic tests: Zend/tests/bug69871.phpt Zend/tests/bug70089.phpt Zend/tests/bug71067.phpt
Zend/tests/bug72594.phpt Zend/tests/bug76754.phpt Zend/tests/bug78379.phpt Zend/tests/return_types/029.phpt Zend/tests/return _types/bug70557.phpt
Zend/tests/return_types/ bug71092.phpt
| From: | Nikita Popov | Date: | Wed, 04 Nov 2020 10:12:12 +0000 |
| Subject: | com php-src: Don't disable opcache for generic tests: Zend/tests/bug69871.phpt Zend/tests/bug70089.phpt Zend/tests/bug71067.phpt Zend/tests/bug72594.phpt Zend/tests/bug76754.phpt Zend/tests/bug78379.phpt Zend/tests/return_types/029.phpt Zend/tests/return _types/bug70557.phpt Zend/tests/return_types/ bug71092.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-114058@lists.php.net to get a copy of this message | ||
Commit: 9ed2f4898bc0d53c57b2ebd5871d68e74811a46d
Author: Nikita Popov <nikita.ppv@gmail.com> Wed, 4 Nov 2020 11:11:14 +0100
Parents: c6563dddacb39be6d0716738c2538d0aa8622da3
Branches: PHP-8.0 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9ed2f4898bc0d53c57b2ebd5871d68e74811a46d
Log:
Don't disable opcache for generic tests
Even if the original issue only reproduces without opcache, we
should still allow running them with and without opcache.
Changed paths:
M Zend/tests/bug69871.phpt
M Zend/tests/bug70089.phpt
M Zend/tests/bug71067.phpt
M Zend/tests/bug72594.phpt
M Zend/tests/bug76754.phpt
M Zend/tests/bug78379.phpt
M Zend/tests/return_types/029.phpt
M Zend/tests/return_types/bug70557.phpt
M Zend/tests/return_types/bug71092.phpt
Diff:
diff --git a/Zend/tests/bug69871.phpt b/Zend/tests/bug69871.phpt
index 705d12e4887..937cee796ac 100644
--- a/Zend/tests/bug69871.phpt
+++ b/Zend/tests/bug69871.phpt
@@ -1,7 +1,5 @@
--TEST--
Bug #69871 (Short-circuiting failure with smart_branch)
---INI--
-opcache.enable=0
--FILE--
<?php
diff --git a/Zend/tests/bug70089.phpt b/Zend/tests/bug70089.phpt
index 657c5326225..d2bf14fb7ec 100644
--- a/Zend/tests/bug70089.phpt
+++ b/Zend/tests/bug70089.phpt
@@ -1,7 +1,5 @@
--TEST--
Bug #70089 (segfault in PHP 7 at ZEND_FETCH_DIM_W_SPEC_VAR_CONST_HANDLER ())
---INI--
-opcache.enable=0
--FILE--
<?php
function dummy($a) {
diff --git a/Zend/tests/bug71067.phpt b/Zend/tests/bug71067.phpt
index efad6e4c116..9528f1fec91 100644
--- a/Zend/tests/bug71067.phpt
+++ b/Zend/tests/bug71067.phpt
@@ -1,7 +1,6 @@
--TEST--
Bug #71067 (Local object in class method stays in memory for each call)
--INI--
-opcache.enable=0
error_reporting=0
--FILE--
<?php
diff --git a/Zend/tests/bug72594.phpt b/Zend/tests/bug72594.phpt
index 5ffbe1ef344..42ac1f38a13 100644
--- a/Zend/tests/bug72594.phpt
+++ b/Zend/tests/bug72594.phpt
@@ -1,7 +1,5 @@
--TEST--
Bug #72594 (Calling an earlier instance of an included anonymous class fatals)
---INI--
-opcache.enable=0
--FILE--
<?php
if (isset($runtime)) {
diff --git a/Zend/tests/bug76754.phpt b/Zend/tests/bug76754.phpt
index 5cdac04fcf2..d36d98b3692 100644
--- a/Zend/tests/bug76754.phpt
+++ b/Zend/tests/bug76754.phpt
@@ -1,8 +1,5 @@
--TEST--
Bug #76754 (parent private constant in extends class memory leak)
---INI--
-opcache.enable=0
-opcache.enable_cli=0
--FILE--
<?php
diff --git a/Zend/tests/bug78379.phpt b/Zend/tests/bug78379.phpt
index ebe0d1e329c..0f8d216bd31 100644
--- a/Zend/tests/bug78379.phpt
+++ b/Zend/tests/bug78379.phpt
@@ -1,7 +1,5 @@
--TEST--
Bug #78379 (Cast to object confuses GC, causes crash)
---INI--
-opcache.enable=0
--FILE--
<?php
class C {
diff --git a/Zend/tests/return_types/029.phpt b/Zend/tests/return_types/029.phpt
index 1d17b5d770e..c6fb4432158 100644
--- a/Zend/tests/return_types/029.phpt
+++ b/Zend/tests/return_types/029.phpt
@@ -1,7 +1,5 @@
--TEST--
return type with finally
---INI--
-opcache.enable=0
--FILE--
<?php
diff --git a/Zend/tests/return_types/bug70557.phpt b/Zend/tests/return_types/bug70557.phpt
index 60da2d52636..1795a2a26a7 100644
--- a/Zend/tests/return_types/bug70557.phpt
+++ b/Zend/tests/return_types/bug70557.phpt
@@ -1,7 +1,5 @@
--TEST--
Bug #70557 (Memleak on return type verifying failed).
---INI--
-opcache.enable=0
--FILE--
<?php
diff --git a/Zend/tests/return_types/bug71092.phpt b/Zend/tests/return_types/bug71092.phpt
index e7ca36f475f..f8f622e0c4f 100644
--- a/Zend/tests/return_types/bug71092.phpt
+++ b/Zend/tests/return_types/bug71092.phpt
@@ -1,7 +1,5 @@
--TEST--
Bug #71092 (Segmentation fault with return type hinting)
---INI--
-opcache.enable=0
--FILE--
<?php