com php-src: Skip tests reply on Zend MM turned on: ext/oci8/tests/pecl_bug10194_blob.phpt ext/ standard/tests/strings/str_pad_variation5.phpt
| From: | Xinchen Hui | Date: | Fri, 10 Aug 2012 16:34:37 +0000 |
| Subject: | com php-src: Skip tests reply on Zend MM turned on: ext/oci8/tests/pecl_bug10194_blob.phpt ext/ standard/tests/strings/str_pad_variation5.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-69826@lists.php.net to get a copy of this message | ||
Commit: 02394379036eb535290f9d4216e2b5be3efb12c6
Author: Reeze Xia <reeze.xia@gmail.com> Sat, 11 Aug 2012 00:34:37 +0800
Parents: c4b26cc1b0b0521c75e653fffec2a9e3b4bf8cbb
Branches: PHP-5.3
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=02394379036eb535290f9d4216e2b5be3efb12c6
Log:
Skip tests reply on Zend MM turned on
Those two tests have expect memory exhausted fatal error
Changed paths:
M ext/oci8/tests/pecl_bug10194_blob.phpt
M ext/standard/tests/strings/str_pad_variation5.phpt
Diff:
diff --git a/ext/oci8/tests/pecl_bug10194_blob.phpt b/ext/oci8/tests/pecl_bug10194_blob.phpt
index faf87ab..96f94bc 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 4b300c4..cd979a1 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