Browse Source

Skip test while zend mm is disabled

PHP-5.3.16
Xinchen Hui 14 years ago
parent
commit
880a6cee00
  1. 3
      ext/oci8/tests/pecl_bug10194.phpt
  2. 3
      ext/oci8/tests/pecl_bug10194_blob_64.phpt
  3. 5
      tests/lang/bug45392.phpt

3
ext/oci8/tests/pecl_bug10194.phpt

@ -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

3
ext/oci8/tests/pecl_bug10194_blob_64.phpt

@ -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

5
tests/lang/bug45392.phpt

@ -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…
Cancel
Save