Title: [224759] trunk/Tools
Revision
224759
Author
[email protected]
Date
2017-11-13 10:55:20 -0800 (Mon, 13 Nov 2017)

Log Message

[Windows] Make the port's normalize_test_name() method platform independent.
https://bugs.webkit.org/show_bug.cgi?id=179572

Patch by Basuke Suzuki <[email protected]> on 2017-11-13
Reviewed by Alexey Proskuryakov.

* Scripts/webkitpy/port/base.py:
(Port.normalize_test_name):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (224758 => 224759)


--- trunk/Tools/ChangeLog	2017-11-13 18:32:00 UTC (rev 224758)
+++ trunk/Tools/ChangeLog	2017-11-13 18:55:20 UTC (rev 224759)
@@ -1,3 +1,13 @@
+2017-11-13  Basuke Suzuki  <[email protected]>
+
+        [Windows] Make the port's normalize_test_name() method platform independent.
+        https://bugs.webkit.org/show_bug.cgi?id=179572
+
+        Reviewed by Alexey Proskuryakov.
+
+        * Scripts/webkitpy/port/base.py:
+        (Port.normalize_test_name):
+
 2017-11-13  Wenson Hsieh  <[email protected]>
 
         [Attachment Support] Implement SPI for clients to request data for a given attachment

Modified: trunk/Tools/Scripts/webkitpy/port/base.py (224758 => 224759)


--- trunk/Tools/Scripts/webkitpy/port/base.py	2017-11-13 18:32:00 UTC (rev 224758)
+++ trunk/Tools/Scripts/webkitpy/port/base.py	2017-11-13 18:55:20 UTC (rev 224759)
@@ -680,10 +680,10 @@
 
     def normalize_test_name(self, test_name):
         """Returns a normalized version of the test name or test directory."""
-        if test_name.endswith('/'):
+        if test_name.endswith(os.path.sep):
             return test_name
         if self.test_isdir(test_name):
-            return test_name + '/'
+            return test_name + os.path.sep
         return test_name
 
     def driver_cmd_line_for_logging(self):
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to