Re: Concurrency support for run-tests

From: Date: Mon, 07 Jul 2014 17:13:15 +0000
Subject: Re: Concurrency support for run-tests
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-75324@lists.php.net to get a copy of this message
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.

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.).

cheers,
-- 
Pierre

@pierrejoye | http://www.libgd.org


Thread (20 messages)

« previous php.internals (#75324) next »