allow to skip slow tests

This commit is contained in:
Christoph M. Becker 2015-07-26 17:33:09 +02:00
parent e42a29bf81
commit 5be8872f44
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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);