Skip to content

Commit fbb1001

Browse files
committed
Add SKIPIF for ZendMM for observer_fiber_functions_03.phpt
This test uses memory_limit, so it fails when using USE_ZEND_ALLOC=0.
1 parent a9dada2 commit fbb1001

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ext/zend_test/tests/observer_fiber_functions_03.phpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ zend_test.observer.fiber_init=1
1010
zend_test.observer.fiber_switch=1
1111
zend_test.observer.fiber_destroy=1
1212
memory_limit=100M
13+
--SKIPIF--
14+
<?php
15+
if (getenv("USE_ZEND_ALLOC") === "0") die("skip requires ZendMM because it uses the memory limit");
16+
?>
1317
--FILE--
1418
<?php
1519

0 commit comments

Comments
 (0)