Title: [91374] trunk/Tools
- Revision
- 91374
- Author
- commit-qu...@webkit.org
- Date
- 2011-07-20 09:33:27 -0700 (Wed, 20 Jul 2011)
Log Message
[Gtk] [NRWT] Xvfb produces a lot of stderr output
https://bugs.webkit.org/show_bug.cgi?id=64669
Patch by Zan Dobersek <zandober...@gmail.com> on 2011-07-20
Reviewed by Philippe Normand.
Redirect the stderr output of the driver's Xvfb process
to /dev/null to suppress unneeded output.
* Scripts/webkitpy/layout_tests/port/gtk.py:
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (91373 => 91374)
--- trunk/Tools/ChangeLog 2011-07-20 16:07:28 UTC (rev 91373)
+++ trunk/Tools/ChangeLog 2011-07-20 16:33:27 UTC (rev 91374)
@@ -1,3 +1,15 @@
+2011-07-20 Zan Dobersek <zandober...@gmail.com>
+
+ [Gtk] [NRWT] Xvfb produces a lot of stderr output
+ https://bugs.webkit.org/show_bug.cgi?id=64669
+
+ Reviewed by Philippe Normand.
+
+ Redirect the stderr output of the driver's Xvfb process
+ to /dev/null to suppress unneeded output.
+
+ * Scripts/webkitpy/layout_tests/port/gtk.py:
+
2011-07-19 Eric Seidel <e...@webkit.org>
parse-malloc-history always exits 1, causing NRWT to fail
Modified: trunk/Tools/Scripts/webkitpy/layout_tests/port/gtk.py (91373 => 91374)
--- trunk/Tools/Scripts/webkitpy/layout_tests/port/gtk.py 2011-07-20 16:07:28 UTC (rev 91373)
+++ trunk/Tools/Scripts/webkitpy/layout_tests/port/gtk.py 2011-07-20 16:33:27 UTC (rev 91374)
@@ -43,7 +43,9 @@
def start(self):
display_id = self._worker_number + 1
run_xvfb = ["Xvfb", ":%d" % (display_id), "-screen", "0", "800x600x24", "-nolisten", "tcp"]
- self._xvfb_process = subprocess.Popen(run_xvfb)
+ devnull = open(os.devnull, 'w')
+ self._xvfb_process = subprocess.Popen(run_xvfb, stderr=devnull)
+ devnull.close()
server_name = self._port.driver_name()
environment = self._port.setup_environ_for_server(server_name)
# We must do this here because the DISPLAY number depends on _worker_number
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes