Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(987)

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py

Issue 2850433002: webkitpy: Change paths in lint-expectations warning messages (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py
index 62c523a3cbf96eb6eb5af9254e5f2f702d3830d3..8328a6331aace34addfbbbb7eea23696965f0d4d 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py
@@ -1097,9 +1097,8 @@ class TestExpectations(object):
def _shorten_filename(self, filename):
finder = WebKitFinder(self._port.host.filesystem)
- # TODO(tkent): Can we use path_from_layout_tests() instead?
- if filename.startswith(finder.path_from_webkit_base()):
- return self._port.host.filesystem.relpath(filename, finder.path_from_webkit_base())
+ if filename.startswith(finder.path_from_chromium_base()):
+ return self._port.host.filesystem.relpath(filename, finder.path_from_chromium_base())
return filename
def _report_warnings(self):
« no previous file with comments | « no previous file | third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698