On 5 Feb 2007, at 11:41, Adam Kennedy wrote:
Short of running each test in some sort of transactional file system (do such things exist? Are they common?) or cloning the build directory before each test, the only solution I can imagine is some sort of thing in the (Makefile|Build).PL that explicitly states that the tests are allowed to run in parallel, which can then be passed on to the testing process...

I can't remember whether it's mod_perl or CGI.pm that launches Apache a few times during testing but I imagine there might be a problem with multiple Apaches trying to bind to the same port in that case too. Ditto anything that tests against a live database.

Unfortunately that disqualifies a whole category of I/O bound tests that would otherwise benefit the most.

So yes, it's far too fraught to be on by default. Still worth experimenting with as an option though.

--
Andy Armstrong, hexten.net

Reply via email to