mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
allow to skip slow tests
This commit is contained in:
parent
e42a29bf81
commit
5be8872f44
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user