Re: [PATCH] make it possible to skip very slow tests
| From: | Christopher Jones | Date: | Thu, 19 Jun 2008 03:46:57 +0000 |
| Subject: | Re: [PATCH] make it possible to skip very slow tests | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-38374@lists.php.net to get a copy of this message | ||
Steph Fox wrote:
Hi again, I'm using this locally because two of our tests take over 10 minutes each to run on my laptop, and I run the relevant bits of test suite every time I make a change. All it does is adds another option, -x, to run-tests.php. This sets an environmental variable which can then be checked for in the SKIPIF section of very slow-running tests. Any objections if I commit it in 5_3/HEAD?I'd prefer a run-tests.php option that sets the timeout limit in seconds. Chris -- Christopher Jones, Oracle Email: christopher.jones@oracle.com Tel: +1 650 506 8630 Blog: http://blogs.oracle.com/opal/ Free PHP Book: http://tinyurl.com/f8jad