Changeset 72457 in webkit


Ignore:
Timestamp:
Nov 19, 2010 5:48:12 PM (13 years ago)
Author:
dpranke@chromium.org
Message:

2010-11-19 Dirk Pranke <dpranke@chromium.org>

Reviewed by Ojan Vafai.

Do some minor cleanup and bug fixing.

https://bugs.webkit.org/show_bug.cgi?id=49777

  • Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
Location:
trunk/WebKitTools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r72455 r72457  
     12010-11-19  Dirk Pranke  <dpranke@chromium.org>
     2
     3        Reviewed by Ojan Vafai.
     4
     5        Do some minor cleanup and bug fixing.
     6
     7        https://bugs.webkit.org/show_bug.cgi?id=49777
     8
     9        * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
     10        * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
     11
    1122010-11-19  Dirk Pranke  <dpranke@chromium.org>
    213
  • trunk/WebKitTools/Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py

    r72339 r72457  
    400400            self._num_tests += 1
    401401            if self._options.run_singly:
    402                 result = self._run_test_singly(test_input)
     402                result = self._run_test_in_another_thread(test_input)
    403403            else:
    404                 result = self._run_test(test_input)
     404                result = self._run_test_in_this_thread(test_input)
    405405
    406406            filename = test_input.filename
     
    432432                test_runner.update_summary(result_summary)
    433433
    434     def _run_test_singly(self, test_input):
     434    def _run_test_in_another_thread(self, test_input):
    435435        """Run a test in a separate thread, enforcing a hard time limit.
    436436
     
    444444        Returns:
    445445          A TestResult
    446 
    447446        """
    448447        worker = SingleTestThread(self._port,
     
    479478                       test_input.filename)
    480479            result = test_results.TestResult(test_input.filename, failures=[],
    481                 test_run_time=0, total_time_for_all_diffs=0, time_for_diffs=0)
     480                test_run_time=0, total_time_for_all_diffs=0, time_for_diffs={})
    482481
    483482        return result
    484483
    485     def _run_test(self, test_input):
     484    def _run_test_in_this_thread(self, test_input):
    486485        """Run a single test file using a shared DumpRenderTree process.
    487486
  • trunk/WebKitTools/Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py

    r72339 r72457  
    7878        args.extend(['passes',
    7979                     'http/tests',
    80                      'http/tests/websocket/tests',
     80                     'websocket/tests',
    8181                     'failures/expected/*'])
    8282    options, parsed_args = run_webkit_tests.parse_args(args)
     
    9797        args.extend(['passes',
    9898                     'http/tests',
    99                      'http/tests/websocket/tests',
     99                     'websocket/tests',
    100100                     'failures/expected/*'])
    101101    options, parsed_args = run_webkit_tests.parse_args(args)
Note: See TracChangeset for help on using the changeset viewer.