]> granicus.if.org Git - php/commitdiff
allocating more than 2GB memory is slow.
authorFerenc Kovacs <tyrael@php.net>
Tue, 1 Nov 2011 21:27:57 +0000 (21:27 +0000)
committerFerenc Kovacs <tyrael@php.net>
Tue, 1 Nov 2011 21:27:57 +0000 (21:27 +0000)
Zend/tests/bug55509.phpt

index 3f8657facd1d167176274bc9944d1b6b35357846..212cc9bbc080ae82155174723860a2c7a84a4db1 100644 (file)
@@ -5,6 +5,7 @@ Bug #55509 (segfault on x86_64 using more than 2G memory)
 if (PHP_INT_SIZE == 4) {\r
   die('skip Not for 32-bits OS');\r
 }\r
+if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");\r
 // check the available memory\r
 if (PHP_OS == 'Linux') {\r
   $lines = file('/proc/meminfo');\r