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