Re: Concurrency support for run-tests
| From: | Michael Wallner | Date: | Tue, 08 Jul 2014 05:58:48 +0000 |
| Subject: | Re: Concurrency support for run-tests | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-75326@lists.php.net to get a copy of this message | ||
On 7 July 2014 17:07, Laruence <laruence@php.net> wrote:
> Hey:
>
> On Mon, Jul 7, 2014 at 9:53 PM, Michael Wallner <mike@php.net> wrote:
> > Hi!
> >
> > I also have a patch for run-tests sitting around for quite some time,
> which
> > adds concurrent test execution support. I already fixed a lot of non
> > re-entrant tests in the past, but there might still be quite some of
> them.
> >
> > Tests in ./Zend take 8 seconds instead of 30 on my box.
> >
> > Please find the hack attached. Thoughts, praises, death threats?
>
> seems it enable concurrency by default ? it's not configurable?
>
> maybe:
>
> TEST_PHP_ARGS="-c 3" make test
>
> means run 3 process
>
Actually it has a --concurrency switch. If you didn't know, you can pass
any run-tests argument to
make test with the TESTS variable:
$ make test TESTS="--concurrency 8 ~/src/php-master/Zend"
HTH
--
Regards,
Mike