Reviewers: Jakob,
Message:
PTAL
Description:
Introduce a dynamic process pool for the local test driver
The new process pool allows adding jobs after testing has been started. It
will
also allow to restructure building the job queue (in a follow up CL), so
that
testing can start instantly while the queue is being built.
Also attempts to clean up the keyboard-interrupt logic. Idea: Only catch
keyboard interrupt once per process at the outermost level. Use
proper "finally"
clauses to clean up everywhere where a keyboard interrupt might occur. Never
turn named exceptions into none-exceptions using anonymous "raise".
TEST=python -m unittest pool_unittest
Please review this at
https://codereview.chromium.org/275093002/
SVN Base:
https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+271, -134 lines):
M tools/run-tests.py
M tools/testrunner/local/commands.py
M tools/testrunner/local/execution.py
A tools/testrunner/local/pool.py
A tools/testrunner/local/pool_unittest.py