Commit:    015ee3b2c88d3e7bf984c7414b4de6c2a465b6a9
Author:    Xinchen Hui <larue...@php.net>         Sun, 29 Jul 2012 12:17:43 
+0800
Parents:   b477a84026a39a58452af9676b4b74607e83e2f8
Branches:  PHP-5.3

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=015ee3b2c88d3e7bf984c7414b4de6c2a465b6a9

Log:
Skip test while zend_mm is disabled

Changed paths:
  M  Zend/tests/bug55509.phpt


Diff:
diff --git a/Zend/tests/bug55509.phpt b/Zend/tests/bug55509.phpt
index b78fceb..5268789 100644
--- a/Zend/tests/bug55509.phpt
+++ b/Zend/tests/bug55509.phpt
@@ -5,6 +5,12 @@ Bug #55509 (segfault on x86_64 using more than 2G memory)
 if (PHP_INT_SIZE == 4) {
   die('skip Not for 32-bits OS');
 }
+
+$zend_mm_enabled = getenv("USE_ZEND_ALLOC");
+if ($zend_mm_enabled === "0") {
+    die("skip Zend MM disabled");
+}
+
 if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
 // check the available memory
 if (PHP_OS == 'Linux') {


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to