Re: [PATCH] make it possible to skip very slow tests

From: Date: Thu, 19 Jun 2008 11:56:11 +0000
Subject: Re: [PATCH] make it possible to skip very slow tests
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-38381@lists.php.net to get a copy of this message
I'd prefer a run-tests.php option that sets the timeout limit in seconds.
Nice idea, but I'm not sure it's achievable under CLI.
Yes, it is. Check the system_with_timeout() function in the run-tests.php script. There you've the timeout hardcoded ('$leak_check ? 300 : 60'). You would just need to make it configurable by some environment var. Nuno

« previous php.internals (#38381) next »