Merge branch 'PHP-5.4'

* PHP-5.4:
  Skip test while zend_mm is disabled
This commit is contained in:
Xinchen Hui 2012-07-29 12:20:05 +08:00
commit 32c05f772e

View File

@ -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') {