Title: [234430] trunk/Tools
Revision
234430
Author
[email protected]
Date
2018-07-31 11:07:31 -0700 (Tue, 31 Jul 2018)

Log Message

server_process.py should print returncode in debug log if the process crashed
https://bugs.webkit.org/show_bug.cgi?id=188160

Reviewed by Konstantin Tokarev.

* Scripts/webkitpy/port/server_process.py:
(ServerProcess.has_crashed): Put self._proc.returncode into the debug log message.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (234429 => 234430)


--- trunk/Tools/ChangeLog	2018-07-31 17:52:27 UTC (rev 234429)
+++ trunk/Tools/ChangeLog	2018-07-31 18:07:31 UTC (rev 234430)
@@ -1,3 +1,13 @@
+2018-07-31  Fujii Hironori  <[email protected]>
+
+        server_process.py should print returncode in debug log if the process crashed
+        https://bugs.webkit.org/show_bug.cgi?id=188160
+
+        Reviewed by Konstantin Tokarev.
+
+        * Scripts/webkitpy/port/server_process.py:
+        (ServerProcess.has_crashed): Put self._proc.returncode into the debug log message.
+
 2018-07-31  Tomas Popela  <[email protected]>
 
         [WTF] String::formatWithArguments() is unused

Modified: trunk/Tools/Scripts/webkitpy/port/server_process.py (234429 => 234430)


--- trunk/Tools/Scripts/webkitpy/port/server_process.py	2018-07-31 17:52:27 UTC (rev 234429)
+++ trunk/Tools/Scripts/webkitpy/port/server_process.py	2018-07-31 18:07:31 UTC (rev 234430)
@@ -323,7 +323,7 @@
 
     def has_crashed(self):
         if not self._crashed and self.poll():
-            _log.debug('This test marked as a crash because of failure to poll the server process.')
+            _log.debug('This test marked as a crash because of failure to poll the server process (return code was %s).' % self._proc.returncode)
             self._crashed = True
             self._handle_possible_interrupt()
         return self._crashed
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to