Skip to content

Commit 015ee3b

Browse files
committed
Skip test while zend_mm is disabled
1 parent b477a84 commit 015ee3b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Zend/tests/bug55509.phpt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ Bug #55509 (segfault on x86_64 using more than 2G memory)
55
if (PHP_INT_SIZE == 4) {
66
die('skip Not for 32-bits OS');
77
}
8+
9+
$zend_mm_enabled = getenv("USE_ZEND_ALLOC");
10+
if ($zend_mm_enabled === "0") {
11+
die("skip Zend MM disabled");
12+
}
13+
814
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
915
// check the available memory
1016
if (PHP_OS == 'Linux') {

0 commit comments

Comments
 (0)