Re: Concurrency support for run-tests
| From: | Michael Wallner | Date: | Tue, 08 Jul 2014 06:02:44 +0000 |
| Subject: | Re: Concurrency support for run-tests | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-75328@lists.php.net to get a copy of this message | ||
On 7 July 2014 19:13, Pierre Joye <pierre.php@gmail.com> wrote:
> On Mon, Jul 7, 2014 at 5:07 PM, 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
>
> sounds too make specific, a simple concurrency argument would do it.
>
Yes, there's a --concurrency switch in run-tests.php
>
> About the need of a flag for the tests, it would be useful as well.
> Many tests can't be in run in parallel, like many mysql tests (or
> other databases f.e.).
>
Why can't those tests use unique (to them) names?
--
Regards,
Mike