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

Unified Diff: Tools/Scripts/webkitpy/w3c/test_importer.py

Issue 727883002: update-w3c-deps import using blink 7f8c8ee3e30dc15b7b821c627fc7ac32331d2253: (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 1 month 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 | « LayoutTests/imported/web-platform-tests/server-side.md ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/Scripts/webkitpy/w3c/test_importer.py
diff --git a/Tools/Scripts/webkitpy/w3c/test_importer.py b/Tools/Scripts/webkitpy/w3c/test_importer.py
index 8e4a5415866d7cc293092cd0e6206f97ccf6988b..66dd0db21a3b6fa0603ec5b5cfdfe1cfe32e496d 100644
--- a/Tools/Scripts/webkitpy/w3c/test_importer.py
+++ b/Tools/Scripts/webkitpy/w3c/test_importer.py
@@ -219,7 +219,8 @@ class TestImporter(object):
for filename in files:
path_full = self.filesystem.join(root, filename)
- path_base = path_full.replace(self.layout_tests_dir + '/', '')
+ path_base = path_full.replace(directory + '/', '')
+ path_base = self.destination_directory.replace(self.layout_tests_dir + '/', '') + '/' + path_base
if path_base in paths_to_skip:
if not self.options.dry_run and self.import_in_place:
_log.info(" pruning %s" % path_base)
« no previous file with comments | « LayoutTests/imported/web-platform-tests/server-side.md ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698