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] Explicitly list all directories we're not importin…
…g as skip https://bugs.webkit.org/show_bug.cgi?id=214006 Reviewed by Jonathan Bedard. Add a new value to import-expectations.json: "skip-new-directories". "skip-new-directories" is mostly treated the same as "skip" (i.e., everything under it is skipped, unless marked as "import"). However, unlike "skip", child files are imported, and child directories are added to import-expectations.json as "skip" (thus the name). We apply this to both "web-platform-tests" and "web-platform-tests/css", to avoid importing new test suites for (presumably new) specifications. By doing this, as opposed to applying "skip" directly to those directories, we gain visibility to new test suites being added, as these now cause a "skip" line to be added when doing a full import. * LayoutTests/imported/w3c/resources/import-expectations.json: * Tools/Scripts/webkitpy/style/checkers/jsonchecker.py: (JSONImportExpectationsChecker.check): * Tools/Scripts/webkitpy/w3c/test_downloader.py: (TestDownloader.__init__): (TestDownloader._init_paths_from_expectations): (TestDownloader.update_import_expectations): * Tools/Scripts/webkitpy/w3c/test_importer.py: (TestImporter.__init__): (TestImporter.do_import): (TestImporter.should_skip_path): Canonical link: https://commits.webkit.org/272109@main
- Loading branch information
Showing
5 changed files
with
215 additions
and
29 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
Oops, something went wrong.