summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReeze Xia <reeze.xia@gmail.com>2012-08-11 00:34:37 +0800
committerReeze Xia <reeze.xia@gmail.com>2012-08-11 00:34:37 +0800
commit02394379036eb535290f9d4216e2b5be3efb12c6 (patch)
treee931972d3977d2354c10de4aa4378158ad15d6ac
parentc4b26cc1b0b0521c75e653fffec2a9e3b4bf8cbb (diff)
downloadphp-git-02394379036eb535290f9d4216e2b5be3efb12c6.tar.gz
Skip tests reply on Zend MM turned on
Those two tests have expect memory exhausted fatal error
-rw-r--r--ext/oci8/tests/pecl_bug10194_blob.phpt3
-rw-r--r--ext/standard/tests/strings/str_pad_variation5.phpt3
2 files changed, 6 insertions, 0 deletions
diff --git a/ext/oci8/tests/pecl_bug10194_blob.phpt b/ext/oci8/tests/pecl_bug10194_blob.phpt
index faf87ab3c1..96f94bcf4c 100644
--- a/ext/oci8/tests/pecl_bug10194_blob.phpt
+++ b/ext/oci8/tests/pecl_bug10194_blob.phpt
@@ -6,6 +6,9 @@ $target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on t
require(dirname(__FILE__).'/skipif.inc');
if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platforms only");
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=3M
diff --git a/ext/standard/tests/strings/str_pad_variation5.phpt b/ext/standard/tests/strings/str_pad_variation5.phpt
index 4b300c4717..cd979a1c8b 100644
--- a/ext/standard/tests/strings/str_pad_variation5.phpt
+++ b/ext/standard/tests/strings/str_pad_variation5.phpt
@@ -5,6 +5,9 @@ memory_limit=128M
--SKIPIF--
<?php
if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only");
+if (getenv("USE_ZEND_ALLOC") === "0") {
+ die("skip Zend MM disabled");
+}
?>
--FILE--
<?php