Title: [263897] trunk/Tools
Revision
263897
Author
clo...@igalia.com
Date
2020-07-03 08:00:49 -0700 (Fri, 03 Jul 2020)

Log Message

[WPE][webkitpy] Use headless driver instead of wayland driver
https://bugs.webkit.org/show_bug.cgi?id=213914

Reviewed by Philippe Normand.

WPE now supports running tests completely headless, but we are
still using the webkitpy WaylandDriver to run the tests.
This causes an error if the environment doesn't have defined the
WAYLAND_DISPLAY or WAYLAND_SOCKET environment variables.
Switch the driver to HeadlessDriver.

* Scripts/webkitpy/port/wpe.py:
(WPEPort._driver_class):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (263896 => 263897)


--- trunk/Tools/ChangeLog	2020-07-03 14:55:10 UTC (rev 263896)
+++ trunk/Tools/ChangeLog	2020-07-03 15:00:49 UTC (rev 263897)
@@ -1,3 +1,19 @@
+2020-07-03  Carlos Alberto Lopez Perez  <clo...@igalia.com>
+
+        [WPE][webkitpy] Use headless driver instead of wayland driver
+        https://bugs.webkit.org/show_bug.cgi?id=213914
+
+        Reviewed by Philippe Normand.
+
+        WPE now supports running tests completely headless, but we are
+        still using the webkitpy WaylandDriver to run the tests.
+        This causes an error if the environment doesn't have defined the
+        WAYLAND_DISPLAY or WAYLAND_SOCKET environment variables.
+        Switch the driver to HeadlessDriver.
+
+        * Scripts/webkitpy/port/wpe.py:
+        (WPEPort._driver_class):
+
 2020-07-03  Carlos Garcia Campos  <cgar...@igalia.com>
 
         REGRESSION(r261779): [GTK][WPE] http/tests/resourceLoadStatistics/third-party-cookie-blocking-ephemeral.html is failing

Modified: trunk/Tools/Scripts/webkitpy/port/wpe.py (263896 => 263897)


--- trunk/Tools/Scripts/webkitpy/port/wpe.py	2020-07-03 14:55:10 UTC (rev 263896)
+++ trunk/Tools/Scripts/webkitpy/port/wpe.py	2020-07-03 15:00:49 UTC (rev 263897)
@@ -32,7 +32,6 @@
 from webkitpy.port.base import Port
 from webkitpy.port.headlessdriver import HeadlessDriver
 from webkitpy.port.linux_get_crash_log import GDBCrashLogGenerator
-from webkitpy.port.waylanddriver import WaylandDriver
 
 
 class WPEPort(Port):
@@ -70,7 +69,7 @@
 
     @memoized
     def _driver_class(self):
-        return WaylandDriver
+        return HeadlessDriver
 
     def setup_environ_for_server(self, server_name=None):
         environment = super(WPEPort, self).setup_environ_for_server(server_name)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to