Skip to content

Commit e48a5c1

Browse files
committed
Add zend_test.observer.enabled=0 to opcache tests asserting specific TMP count
Necessary to succeed when tests are run with zend_test.observer.enabled=1.
1 parent 6f8bda0 commit e48a5c1

38 files changed

+38
-0
lines changed

ext/opcache/tests/match/001.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Match expression string jump table
44
opcache.enable=1
55
opcache.enable_cli=1
66
opcache.opt_debug_level=0x20000
7+
zend_test.observer.enabled=0
78
--EXTENSIONS--
89
opcache
910
--FILE--

ext/opcache/tests/match/002.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Test match jump table optimizer
44
opcache.enable=1
55
opcache.enable_cli=1
66
opcache.opt_debug_level=0x20000
7+
zend_test.observer.enabled=0
78
--EXTENSIONS--
89
opcache
910
--FILE--

ext/opcache/tests/match/003.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Match expression long jump table
44
opcache.enable=1
55
opcache.enable_cli=1
66
opcache.opt_debug_level=0x20000
7+
zend_test.observer.enabled=0
78
--EXTENSIONS--
89
opcache
910
--FILE--

ext/opcache/tests/match/004.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Match expression mixed jump table
44
opcache.enable=1
55
opcache.enable_cli=1
66
opcache.opt_debug_level=0x20000
7+
zend_test.observer.enabled=0
78
--EXTENSIONS--
89
opcache
910
--FILE--

ext/opcache/tests/opt/coalesce.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ opcache.enable=1
55
opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
8+
zend_test.observer.enabled=0
89
--EXTENSIONS--
910
opcache
1011
--FILE--

ext/opcache/tests/opt/dce_001.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

ext/opcache/tests/opt/dce_002.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

ext/opcache/tests/opt/dce_003.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

ext/opcache/tests/opt/dce_004.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

ext/opcache/tests/opt/dce_005.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

ext/opcache/tests/opt/dce_006.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

ext/opcache/tests/opt/dce_007.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

ext/opcache/tests/opt/dce_008.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

ext/opcache/tests/opt/dce_009.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

ext/opcache/tests/opt/gh11245_1.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=0x7FFFBFFF
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

ext/opcache/tests/opt/gh11245_2.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=0x7FFFBFFF
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

ext/opcache/tests/opt/jmp_001.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ opcache.enable=1
55
opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
8+
zend_test.observer.enabled=0
89
--EXTENSIONS--
910
opcache
1011
--FILE--

ext/opcache/tests/opt/nullsafe_001.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Nullsafe basic optimization
44
opcache.enable=1
55
opcache.enable_cli=1
66
opcache.opt_debug_level=0x20000
7+
zend_test.observer.enabled=0
78
--EXTENSIONS--
89
opcache
910
--FILE--

ext/opcache/tests/opt/sccp_001.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

ext/opcache/tests/opt/sccp_002.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

ext/opcache/tests/opt/sccp_003.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

ext/opcache/tests/opt/sccp_004.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

ext/opcache/tests/opt/sccp_005.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

ext/opcache/tests/opt/sccp_006.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

ext/opcache/tests/opt/sccp_007.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

ext/opcache/tests/opt/sccp_008.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

ext/opcache/tests/opt/sccp_009.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

ext/opcache/tests/opt/sccp_010.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

ext/opcache/tests/opt/sccp_011.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

ext/opcache/tests/opt/sccp_012.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

ext/opcache/tests/opt/sccp_016.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

ext/opcache/tests/opt/sccp_017.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

ext/opcache/tests/opt/sccp_019.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

ext/opcache/tests/opt/sccp_022.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

ext/opcache/tests/opt/sccp_024.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

ext/opcache/tests/opt/sccp_026.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

ext/opcache/tests/opt/sccp_031.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

ext/opcache/tests/opt/sccp_032.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.opt_debug_level=0x20000
88
opcache.preload=
9+
zend_test.observer.enabled=0
910
--EXTENSIONS--
1011
opcache
1112
--FILE--

0 commit comments

Comments
 (0)