Title: [87946] trunk/Tools
Revision
87946
Author
[email protected]
Date
2011-06-02 13:01:02 -0700 (Thu, 02 Jun 2011)

Log Message

2011-06-02  Hao Zheng  <[email protected]>

        Reviewed by Dirk Pranke.

        Call cleanup() explicitly at the end of worker.run().
        https://bugs.webkit.org/show_bug.cgi?id=61847

        * Scripts/webkitpy/layout_tests/layout_package/worker.py:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (87945 => 87946)


--- trunk/Tools/ChangeLog	2011-06-02 19:59:17 UTC (rev 87945)
+++ trunk/Tools/ChangeLog	2011-06-02 20:01:02 UTC (rev 87946)
@@ -1,3 +1,12 @@
+2011-06-02  Hao Zheng  <[email protected]>
+
+        Reviewed by Dirk Pranke.
+
+        Call cleanup() explicitly at the end of worker.run().
+        https://bugs.webkit.org/show_bug.cgi?id=61847
+
+        * Scripts/webkitpy/layout_tests/layout_package/worker.py:
+
 2011-06-02  Dimitri Glazkov  <[email protected]>
 
         Unreviewed, rolling out r87926.

Modified: trunk/Tools/Scripts/webkitpy/layout_tests/layout_package/worker.py (87945 => 87946)


--- trunk/Tools/Scripts/webkitpy/layout_tests/layout_package/worker.py	2011-06-02 19:59:17 UTC (rev 87945)
+++ trunk/Tools/Scripts/webkitpy/layout_tests/layout_package/worker.py	2011-06-02 20:01:02 UTC (rev 87946)
@@ -110,6 +110,7 @@
                 self._worker_connection.post_message('exception',
                     (exception_type, exception_value, None))
             self._worker_connection.post_message('done')
+            self.cleanup()
 
     def handle_test_list(self, src, list_name, test_list):
         if list_name == "tests_to_http_lock":
@@ -144,6 +145,7 @@
         self.clean_up_after_test(test_input, result)
 
     def cleanup(self):
+        _log.debug("Cleaning up %s" % self._name)
         if self._driver:
             self.kill_driver()
         if self._has_http_lock:
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to