diff options
-rw-r--r-- | ext/pcre/tests/bug69864.phpt | 4 | ||||
-rw-r--r-- | ext/pcre/tests/cache_limit.phpt | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/ext/pcre/tests/bug69864.phpt b/ext/pcre/tests/bug69864.phpt index d84862aeda..d59aaab36e 100644 --- a/ext/pcre/tests/bug69864.phpt +++ b/ext/pcre/tests/bug69864.phpt @@ -1,5 +1,9 @@ --TEST--
Bug #69864 (Segfault in preg_replace_callback)
+--SKIPIF--
+<?php
+if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
+?>
--FILE--
<?php
const PREG_CACHE_SIZE = 4096; // this has to be >= the resp. constant in php_pcre.c
diff --git a/ext/pcre/tests/cache_limit.phpt b/ext/pcre/tests/cache_limit.phpt index bfe7f1b9a9..d6f3510e9d 100644 --- a/ext/pcre/tests/cache_limit.phpt +++ b/ext/pcre/tests/cache_limit.phpt @@ -1,5 +1,9 @@ --TEST-- Compiled regex cache limit +--SKIPIF-- +<?php +if (getenv("SKIP_SLOW_TESTS")) die("skip slow test"); +?> --FILE-- <?php define('PREG_CACHE_SIZE', 4096+1); |