Title: [221214] trunk
Revision
221214
Author
[email protected]
Date
2017-08-25 16:58:57 -0700 (Fri, 25 Aug 2017)

Log Message

WPT server should not need to copy test harness files
https://bugs.webkit.org/show_bug.cgi?id=175938

Patch by Youenn Fablet <[email protected]> on 2017-08-25
Reviewed by Alexey Proskuryakov.

LayoutTests/imported/w3c:

* resources/config.json: Use aliases to load testharness.css and testharnessreport.js

Tools:

* Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
(WebPlatformTestServer.__init__): Stopping explicit resource files copy when launching the WPT server.
Use aliases instead.

Modified Paths

Diff

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (221213 => 221214)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2017-08-25 23:42:02 UTC (rev 221213)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2017-08-25 23:58:57 UTC (rev 221214)
@@ -1,3 +1,12 @@
+2017-08-25  Youenn Fablet  <[email protected]>
+
+        WPT server should not need to copy test harness files
+        https://bugs.webkit.org/show_bug.cgi?id=175938
+
+        Reviewed by Alexey Proskuryakov.
+
+        * resources/config.json: Use aliases to load testharness.css and testharnessreport.js
+
 2017-08-25  Ms2ger  <[email protected]>
 
         Import track-element/cloneNode.html from web-platform-tests.

Modified: trunk/LayoutTests/imported/w3c/resources/config.json (221213 => 221214)


--- trunk/LayoutTests/imported/w3c/resources/config.json	2017-08-25 23:42:02 UTC (rev 221213)
+++ trunk/LayoutTests/imported/w3c/resources/config.json	2017-08-25 23:58:57 UTC (rev 221214)
@@ -2,6 +2,9 @@
  "ports":{"http":[8800, 8801],
           "https":[9443],
           "ws":[49001]},
+ "aliases": [
+          {"url-path": "/resources/testharnessreport.js", "local-dir":"../../../resources/"},
+          {"url-path": "/resources/testharness.css", "local-dir":"../../../resources/"}],
  "check_subdomains": false,
  "log_level":"debug",
  "bind_hostname": false,

Modified: trunk/Tools/ChangeLog (221213 => 221214)


--- trunk/Tools/ChangeLog	2017-08-25 23:42:02 UTC (rev 221213)
+++ trunk/Tools/ChangeLog	2017-08-25 23:58:57 UTC (rev 221214)
@@ -1,3 +1,14 @@
+2017-08-25  Youenn Fablet  <[email protected]>
+
+        WPT server should not need to copy test harness files
+        https://bugs.webkit.org/show_bug.cgi?id=175938
+
+        Reviewed by Alexey Proskuryakov.
+
+        * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
+        (WebPlatformTestServer.__init__): Stopping explicit resource files copy when launching the WPT server.
+        Use aliases instead.
+
 2017-08-25  Eric Carlson  <[email protected]>
 
         Add String::format variant that takes va_args

Modified: trunk/Tools/Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py (221213 => 221214)


--- trunk/Tools/Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py	2017-08-25 23:42:02 UTC (rev 221213)
+++ trunk/Tools/Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py	2017-08-25 23:58:57 UTC (rev 221214)
@@ -92,7 +92,7 @@
         self._layout_root = port_obj.layout_tests_dir()
         self._doc_root = self._filesystem.join(self._layout_root, doc_root(port_obj))
 
-        self._resources_files_to_copy = ['testharness.css', 'testharnessreport.js']
+        self._resources_files_to_copy = []
 
         current_dir_path = self._filesystem.abspath(self._filesystem.split(__file__)[0])
         self._start_cmd = ["python", self._filesystem.join(current_dir_path, "web_platform_test_launcher.py"), self._servers_file]
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to