com php-src: allow to skip slow tests: ext/pcre/tests/bug69864.phpt ext/pcre/tests/cache_limit.phpt

From: Date: Sun, 26 Jul 2015 15:33:09 +0000
Subject: com php-src: allow to skip slow tests: ext/pcre/tests/bug69864.phpt ext/pcre/tests/cache_limit.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-88163@lists.php.net to get a copy of this message
Commit: 5be8872f4444019cfc6a3b9ec2e385f2fffaa278 Author: Christoph M. Becker <cmb@php.net> Sun, 26 Jul 2015 17:33:09 +0200 Parents: e42a29bf818e0c88085191547b7dceb19292a069 Branches: PHP-5.6 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=5be8872f4444019cfc6a3b9ec2e385f2fffaa278 Log: allow to skip slow tests Changed paths: M ext/pcre/tests/bug69864.phpt M ext/pcre/tests/cache_limit.phpt Diff: diff --git a/ext/pcre/tests/bug69864.phpt b/ext/pcre/tests/bug69864.phpt index d84862a..d59aaab 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 bfe7f1b..d6f3510 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);

« previous php.cvs (#88163) next »