mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
Skip test while zend mm is disabled
This commit is contained in:
parent
14cebefb05
commit
880a6cee00
@ -5,6 +5,9 @@ PECL Bug #10194 (segfault in Instant Client when memory_limit is reached inside
|
||||
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
||||
require(dirname(__FILE__).'/skipif.inc');
|
||||
if (getenv('SKIP_SLOW_TESTS')) die('skip slow tests excluded by request');
|
||||
if (getenv("USE_ZEND_ALLOC") === "0") {
|
||||
die("skip Zend MM disabled");
|
||||
}
|
||||
?>
|
||||
--INI--
|
||||
memory_limit=10M
|
||||
|
@ -6,6 +6,9 @@ $target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on t
|
||||
require(dirname(__FILE__).'/skipif.inc');
|
||||
if (getenv('SKIP_SLOW_TESTS')) die('skip slow tests excluded by request');
|
||||
if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platforms only");
|
||||
if (getenv("USE_ZEND_ALLOC") === "0") {
|
||||
die("skip Zend MM disabled");
|
||||
}
|
||||
?>
|
||||
--INI--
|
||||
memory_limit=6M
|
||||
|
@ -2,6 +2,11 @@
|
||||
Bug #45392 (ob_start()/ob_end_clean() and memory_limit)
|
||||
--INI--
|
||||
display_errors=stderr
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (getenv("USE_ZEND_ALLOC") === "0") {
|
||||
die("skip Zend MM disabled");
|
||||
}
|
||||
--FILE--
|
||||
<?php
|
||||
echo __LINE__ . "\n";
|
||||
|
Loading…
Reference in New Issue
Block a user