Re: [PHP-DEV] multi-jobs run-tests.php

2010-02-22 Thread Johannes Schlüter
On Mon, 2010-02-22 at 10:50 -0600, Raphael Geissert wrote: > Ah, I see, great. > >From a quick look at the code it looks like it also uses pcntl. > > Is there any plan to switch to that other implementation? > > No work has been done in something like the threads extension, has there? Why would

Re: [PHP-DEV] multi-jobs run-tests.php

2010-02-22 Thread Jess Portnoy
Hello all, While on the subject of run-tests.php, any plans for it to support web server SAPIs and not just CLI/CGI? I've looked at http://qa.php.net/projects.php and saw no such bullet but I thought asking anyhow won't hurt. Thanks, May the source be with you, Best regards, Jess Portnoy

Re: [PHP-DEV] multi-jobs run-tests.php

2010-02-22 Thread Raphael Geissert
Hi Pierre, Pierre Joye wrote: > There is an on-going work on run-test (which began as part of last > year GSoC). I would begin there instead of working on the current > run-test.php. Parallel testing is part of the new features as well, in > a portable way (like not only where pcntl is available).

Re: [PHP-DEV] multi-jobs run-tests.php

2010-02-22 Thread Pierre Joye
forgot to add the link to the repo: http://svn.php.net/viewvc/php/phpruntests/ On Mon, Feb 22, 2010 at 9:20 AM, Pierre Joye wrote: > hi, > > There is an on-going work on run-test (which began as part of last > year GSoC). I would begin there instead of working on the current > run-test.php. Para

Re: [PHP-DEV] multi-jobs run-tests.php

2010-02-22 Thread Pierre Joye
hi, There is an on-going work on run-test (which began as part of last year GSoC). I would begin there instead of working on the current run-test.php. Parallel testing is part of the new features as well, in a portable way (like not only where pcntl is available). Thanks for your work, Cheers, -

[PHP-DEV] multi-jobs run-tests.php

2010-02-21 Thread Raphael Geissert
Hi, I've spent the last hours working on making run-tests.php be able to run tests in parallel. The main reason being the time it takes to run the whole testsuite even on multicore CPUs. Attached is the first set of changes needed. It uses pcntl's fork and sysvmsg to send some of the results b