Title: [112337] trunk/Tools
Revision
112337
Author
[email protected]
Date
2012-03-27 17:12:57 -0700 (Tue, 27 Mar 2012)

Log Message

new-run-webkit-tests: suppress debug output from run-safari on results file
https://bugs.webkit.org/show_bug.cgi?id=82400

Reviewed by Ryosuke Niwa.

Send the run-safari output to /dev/null rather than the console.

* Scripts/webkitpy/layout_tests/port/mac.py:
(MacPort.show_results_html_file):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (112336 => 112337)


--- trunk/Tools/ChangeLog	2012-03-28 00:12:30 UTC (rev 112336)
+++ trunk/Tools/ChangeLog	2012-03-28 00:12:57 UTC (rev 112337)
@@ -1,3 +1,15 @@
+2012-03-27  Dirk Pranke  <[email protected]>
+
+        new-run-webkit-tests: suppress debug output from run-safari on results file
+        https://bugs.webkit.org/show_bug.cgi?id=82400
+
+        Reviewed by Ryosuke Niwa.
+
+        Send the run-safari output to /dev/null rather than the console.
+
+        * Scripts/webkitpy/layout_tests/port/mac.py:
+        (MacPort.show_results_html_file):
+
 2012-03-27  Simon Fraser  <[email protected]>
 
         Improve error reporting in run-_javascript_core-tests

Modified: trunk/Tools/Scripts/webkitpy/layout_tests/port/mac.py (112336 => 112337)


--- trunk/Tools/Scripts/webkitpy/layout_tests/port/mac.py	2012-03-28 00:12:30 UTC (rev 112336)
+++ trunk/Tools/Scripts/webkitpy/layout_tests/port/mac.py	2012-03-28 00:12:57 UTC (rev 112337)
@@ -27,6 +27,7 @@
 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 import logging
+import os
 import re
 import subprocess
 import time
@@ -146,7 +147,8 @@
         # We don't use self._run_script() because we don't want to wait for the script
         # to exit and we want the output to show up on stdout in case there are errors
         # launching the browser.
-        self._executive.popen([self._config.script_path('run-safari')] + self._arguments_for_configuration() + ['--no-saved-state', '-NSOpen', results_filename], cwd=self._config.webkit_base_dir())
+        self._executive.popen([self._config.script_path('run-safari')] + self._arguments_for_configuration() + ['--no-saved-state', '-NSOpen', results_filename],
+            cwd=self._config.webkit_base_dir(), stdout=file(os.devnull), stderr=file(os.devnull))
 
     # FIXME: The next two routines turn off the http locking in order
     # to work around failures on the bots caused when the slave restarts.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to