Title: [289133] trunk/Tools
Revision
289133
Author
[email protected]
Date
2022-02-04 11:46:22 -0800 (Fri, 04 Feb 2022)

Log Message

Unreviewed, reverting r289067.
https://bugs.webkit.org/show_bug.cgi?id=236149

Broke WinCairo LayoutTests

Reverted changeset:

"REGRESSION(r288878)
webkitpy.layout_tests.controllers.layout_test_finder_legacy_unittest.LayoutTestFinderTests
tests are failing with Windows Python"
https://bugs.webkit.org/show_bug.cgi?id=236043
https://commits.webkit.org/r289067

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (289132 => 289133)


--- trunk/Tools/ChangeLog	2022-02-04 19:36:13 UTC (rev 289132)
+++ trunk/Tools/ChangeLog	2022-02-04 19:46:22 UTC (rev 289133)
@@ -1,3 +1,18 @@
+2022-02-04  Commit Queue  <[email protected]>
+
+        Unreviewed, reverting r289067.
+        https://bugs.webkit.org/show_bug.cgi?id=236149
+
+        Broke WinCairo LayoutTests
+
+        Reverted changeset:
+
+        "REGRESSION(r288878)
+        webkitpy.layout_tests.controllers.layout_test_finder_legacy_unittest.LayoutTestFinderTests
+        tests are failing with Windows Python"
+        https://bugs.webkit.org/show_bug.cgi?id=236043
+        https://commits.webkit.org/r289067
+
 2022-02-04  Alexander Mikhaylenko  <[email protected]>
 
         [GTK] Crash when starting DND on touchscreen

Modified: trunk/Tools/Scripts/webkitpy/port/base.py (289132 => 289133)


--- trunk/Tools/Scripts/webkitpy/port/base.py	2022-02-04 19:36:13 UTC (rev 289132)
+++ trunk/Tools/Scripts/webkitpy/port/base.py	2022-02-04 19:46:22 UTC (rev 289133)
@@ -718,7 +718,8 @@
     def relative_test_filename(self, filename):
         """Returns a test_name a relative unix-style path for a filename under the LayoutTests
         directory. Ports may legitimately return abspaths here if no relpath makes sense."""
-        filename = filename.replace(self.host.filesystem.sep, self.TEST_PATH_SEPARATOR)
+        # Ports that run on windows need to override this method to deal with
+        # filenames with backslashes in them.
         if filename.startswith(self.layout_tests_dir()):
             return self.host.filesystem.relpath(filename, self.layout_tests_dir()).replace(self.host.filesystem.sep, self.TEST_PATH_SEPARATOR)
         else:
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to