On 5 Feb 2007, at 19:48, Chris Dolan wrote:
A solution might be to use File::Temp::tempdir(CLEANUP => 1) in that case. You can build the whole tree of files per-test and wipe clean upon exit. It seems to me that writing temp files to the build dir should be discouraged.

Absolutely. The problem would be the thousands of existing tests that do. And of course it's not /just/ files. Tests that use temporary databases and tests for client code that needs to run against a test server running on a particular port would break also - to name but two.

There'd have to be some metadata to describe which tests could be run in parallel I think. In the absence of such data tests would run sequentially as normal.

--
Andy Armstrong, hexten.net

Reply via email to