Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py

Issue 2836403003: Add Xvfb debugging code to run-webkit-tests. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py
index f3d5b322ed5a4b5aa28ae9e786cfd216c7282b04..b553e8e9b8511739f0ed5e116edc1be68a5ae779 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py
@@ -357,6 +357,7 @@ class Port(object):
def error_handler(script_error):
local_error.exit_code = script_error.exit_code
+ _log.warn('DISPLAY = %s', self.host.environ['DISPLAY'])
mithro 2017/04/26 01:58:33 This needs to be self.host.environ.get('DISPLAY',
Dirk Pranke 2017/04/26 02:03:00 ah, yeah :).
output = self._executive.run_command(cmd, error_handler=error_handler)
if local_error.exit_code:
_log.error('System dependencies check failed.')

Powered by Google App Engine
This is Rietveld 408576698