2010-12-22 Dirk Pranke <dpranke@chromium.org>
Reviewed by Ojan Vafai.
This change splits out the TestRunner class into its own file.
When we fork the code for message passing, we will create a new
TestRunner, and this change will allow that to be more modular.
While we're at it, split out TestInput and ResultSummary into
their own files, to reduce the size of run_webkit_tests to
something more managable.
https://bugs.webkit.org/show_bug.cgi?id=51092
* Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
* Scripts/webkitpy/layout_tests/layout_package/result_summary.py:
* Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
* Scripts/webkitpy/layout_tests/layout_package/test_runner_unittest.py:
* Scripts/webkitpy/layout_tests/layout_package/test_input.py:
* Scripts/webkitpy/layout_tests/run_webkit_tests.py:
* Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
2010-12-22 Dirk Pranke <dpranke@chromium.org>
Reviewed by Ojan Vafai.
nrwt multiprocessing - start over, prepare to fork the code
This code cleans up the signatures and implementation of the
TestRunner class so we can easily fork it to run either the
stable implementation or the new, unstable message-passing
implementation. The two variants will have different
implementations of the run_tests() method. We will switch
between the two based on the setting for the '--worker-model'
switch. We rename the two currently valid values to 'old-inline'
and 'old-threads'.
https://bugs.webkit.org/show_bug.cgi?id=51081
* Scripts/webkitpy/layout_tests/run_webkit_tests.py:
* Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74525
268f45cc-cd09-0410-ab3c-
d52691b4dbfc