[fpc-pascal] FPCUnit - parallel test suite execution

Michael Van Canneyt michael at freepascal.org
Thu Mar 19 12:27:31 CET 2015



On Thu, 19 Mar 2015, Jonas Maebe wrote:

>
> Graeme Geldenhuys wrote on Thu, 19 Mar 2015:
>
>> On 2015-03-19 08:10, Mark Morgan Lloyd wrote:
>>> In any event the output would need to be presented in a reproducible
>>> sequence.
>> 
>> A good point, but thinking about it I don't think it would be that hard.
>> The text output might be a bit more tricky, but not impossible.
>
> Most OS kernels have a lot of smp optimisations, probably way better than any 
> of us could every write (or even would want to bother to write and maintain 
> for something like a testing harness). I very much doubt a multi-threaded 
> implementation of the dotest program, apart from the work this would entail, 
> could outperform the current approach without several weeks or even months of 
> work.
>


While all what you say is correct, writing a test program per test is simply not an option.
For e.g. database tests the performance hit alone would be prohibitive.

Michael.



More information about the fpc-pascal mailing list