Parallel execution of unittests

w0rp via Digitalmars-d digitalmars-d at puremagic.com
Thu May 1 23:57:45 PDT 2014


On Friday, 2 May 2014 at 04:28:26 UTC, Ola Fosheim Grøstad wrote:
> On Friday, 2 May 2014 at 03:04:39 UTC, Jason Spencer wrote:
>> If we don't want to consider how we can accommodate both camps 
>> here, then I must at least support Jonathan's modest 
>> suggestion that parallel UTs require active engagement rather 
>> than being the default.
>
> Use chroot() and fork(). Solves all problems.

You know, executing batches of tests in multiple processes could 
be a good compromise. You might still run into filesystem issues, 
but if you run a series of tests with a number of processes at 
the same time, you can at least guarantee that you won't run into 
shared memory issues.


More information about the Digitalmars-d mailing list