Title: [173798] trunk/Tools
Revision
173798
Author
[email protected]
Date
2014-09-21 13:30:10 -0700 (Sun, 21 Sep 2014)

Log Message

run-webkit-tests should count tests submitted as absolute paths once
https://bugs.webkit.org/show_bug.cgi?id=136848

Patch by Youenn Fablet <[email protected]> on 2014-09-21
Reviewed by Darin Adler.

* Scripts/webkitpy/port/base.py:
(Port._expanded_paths): In case of absolute path, do not search for platform specific tests.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (173797 => 173798)


--- trunk/Tools/ChangeLog	2014-09-21 19:18:40 UTC (rev 173797)
+++ trunk/Tools/ChangeLog	2014-09-21 20:30:10 UTC (rev 173798)
@@ -1,3 +1,13 @@
+2014-09-21  Youenn Fablet  <[email protected]>
+
+        run-webkit-tests should count tests submitted as absolute paths once
+        https://bugs.webkit.org/show_bug.cgi?id=136848
+
+        Reviewed by Darin Adler.
+
+        * Scripts/webkitpy/port/base.py:
+        (Port._expanded_paths): In case of absolute path, do not search for platform specific tests.
+
 2014-09-19  Joseph Pecoraro  <[email protected]>
 
         JSStringRef leak on the leaks bot allocation under selectTextWithCriteriaCallback

Modified: trunk/Tools/Scripts/webkitpy/port/base.py (173797 => 173798)


--- trunk/Tools/Scripts/webkitpy/port/base.py	2014-09-21 19:18:40 UTC (rev 173797)
+++ trunk/Tools/Scripts/webkitpy/port/base.py	2014-09-21 20:30:10 UTC (rev 173798)
@@ -535,7 +535,7 @@
         all_platform_dirs = [path for path in fs.glob(fs.join(self.layout_tests_dir(), 'platform', '*')) if fs.isdir(path)]
         for path in paths:
             expanded_paths.append(path)
-            if self.test_isdir(path) and not path.startswith('platform'):
+            if self.test_isdir(path) and not path.startswith('platform') and not fs.isabs(path):
                 for platform_dir in all_platform_dirs:
                     if fs.isdir(fs.join(platform_dir, path)) and platform_dir in self.baseline_search_path():
                         expanded_paths.append(self.relative_test_filename(fs.join(platform_dir, path)))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to