diff options
author | Ondřej Surý <ondrej@sury.org> | 2012-08-20 08:34:35 +0200 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2012-08-20 08:34:35 +0200 |
commit | 45c0aa447e02c80bd21a23245574231a110cf5a1 (patch) | |
tree | b801de455f164afbf40fbbc995ab9751163eee84 /ext/oci8/tests | |
parent | 3365f28adf90110ca7475df889720fc244820f4b (diff) | |
download | php-45c0aa447e02c80bd21a23245574231a110cf5a1.tar.gz |
Imported Upstream version 5.4.6upstream/5.4.6
Diffstat (limited to 'ext/oci8/tests')
-rw-r--r-- | ext/oci8/tests/pecl_bug10194.phpt | 3 | ||||
-rw-r--r-- | ext/oci8/tests/pecl_bug10194_blob_64.phpt | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ext/oci8/tests/pecl_bug10194.phpt b/ext/oci8/tests/pecl_bug10194.phpt index 9947e15db..3c1c7887c 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 diff --git a/ext/oci8/tests/pecl_bug10194_blob_64.phpt b/ext/oci8/tests/pecl_bug10194_blob_64.phpt index 45788a41b..e1a4cc034 100644 --- a/ext/oci8/tests/pecl_bug10194_blob_64.phpt +++ b/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 |