-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[import-w3c-tests] Get rid of all --src-dir differences
https://bugs.webkit.org/show_bug.cgi?id=260349 rdar://problem/114027584 Reviewed by Jonathan Bedard. At this point, there are almost no differences left between passing --src-dir and not: the only difference left is that we implicitly skip several directories with --src-dir. If we drop this difference, we can avoid the entire first copying step when running without --src-dir, as all the downloader has to do is create the WPT clone to import from, the same as if a WPT clone had been specified via --src-dir. * Tools/Scripts/webkitpy/w3c/test_downloader.py: (TestDownloader.update_import_expectations): (TestDownloader.download_tests): (TestDownloader._add_test_suite_paths): Deleted. (TestDownloader._empty_directory): Deleted. (TestDownloader.copy_tests): Deleted. (TestDownloader.copy_tests.longest_path): Deleted. (TestDownloader.copy_tests.should_copy_dir): Deleted. (TestDownloader.copy_tests.should_copy_file): Deleted. * Tools/Scripts/webkitpy/w3c/test_importer.py: (TestImporter.__init__): (TestImporter.do_import): (TestImporter.find_importable_tests): (TestImporter.find_importable_tests.should_keep_subdir): Deleted. * Tools/Scripts/webkitpy/w3c/test_importer_unittest.py: Canonical link: https://commits.webkit.org/267091@main
- Loading branch information
Showing
3 changed files
with
31 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters