summaryrefslogtreecommitdiff
path: root/ext/oci8/tests/pecl_bug10194.phpt
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2012-07-29 13:25:31 +0800
committerXinchen Hui <laruence@php.net>2012-07-29 13:25:31 +0800
commit880a6cee0068e980fd1eed735675d9b7d37968a0 (patch)
tree8a9a9bc7a85a7545bffc390949c201b5a07a001d /ext/oci8/tests/pecl_bug10194.phpt
parent14cebefb058ec4f78d61a5a520da699b121fb306 (diff)
downloadphp-git-880a6cee0068e980fd1eed735675d9b7d37968a0.tar.gz
Skip test while zend mm is disabled
Diffstat (limited to 'ext/oci8/tests/pecl_bug10194.phpt')
-rw-r--r--ext/oci8/tests/pecl_bug10194.phpt3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/oci8/tests/pecl_bug10194.phpt b/ext/oci8/tests/pecl_bug10194.phpt
index 9947e15dbc..3c1c7887c2 100644
--- a/ext/oci8/tests/pecl_bug10194.phpt
+++ b/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