Implement 3 different runner for tests (threads, sequential and processes).
authorsylvain.le-gall@polytechnique.org
local dateSat, 23 Mar 2013 00:48:49
dateFri, 22 Mar 2013 23:48:49
hash20130322234849-4d692-faf5ac417afc820a5164127cd599f5e98c47ff6d.gz
Implement 3 different runner for tests (threads, sequential and processes).

Ignore-this: eedc6a1aacb663a5ad6cb6f08ed3ab9e

Split the runner from OUnitCore. We have now the choice of runner:
- seq(uential): the default runner,
- threads: a runner that uses threads, don't improve speed expect when a lot of
I/O or external programs involved.
- processes: a process based runner that should increase parallelism of
testing.

Thanks to Thomas Wickham for its patch, which has been used and reworked for
this commit.
13 file(s) changed:
_oasis +10 -0
_tags +5 -1
myocamlbuild.ml +19 -9
setup.ml +39 -3
src/META +11 -1
src/oUnit.mllib +3 -1
src/oUnitCore.ml +6 -66
src/oUnitRunnerProcesses.ml [added]
src/oUnitRunnerSeq.ml [added]
src/oUnitRunnerThreads.ml [added]
src/oUnitThreads.ml [added]
src/oUnitThreads.mllib [added]
src/oUnitWorker.ml [added]