Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: b70287103be9d7a826cb2697e7a951536dc2a04b https://github.com/WebKit/WebKit/commit/b70287103be9d7a826cb2697e7a951536dc2a04b Author: Sam Sneddon <gsnedd...@apple.com> Date: 2024-04-18 (Thu, 18 Apr 2024)
Changed paths: M Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner.py M Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner_unittest.py A Tools/Scripts/webkitpy/thirdparty/wpt/LICENSE.md A Tools/Scripts/webkitpy/thirdparty/wpt/__init__.py A Tools/Scripts/webkitpy/thirdparty/wpt/gitignore/__init__.py A Tools/Scripts/webkitpy/thirdparty/wpt/gitignore/gitignore.py A Tools/Scripts/webkitpy/thirdparty/wpt/manifest/XMLParser.py A Tools/Scripts/webkitpy/thirdparty/wpt/manifest/__init__.py A Tools/Scripts/webkitpy/thirdparty/wpt/manifest/catalog/xhtml.dtd A Tools/Scripts/webkitpy/thirdparty/wpt/manifest/download.py A Tools/Scripts/webkitpy/thirdparty/wpt/manifest/item.py A Tools/Scripts/webkitpy/thirdparty/wpt/manifest/jsonlib.py A Tools/Scripts/webkitpy/thirdparty/wpt/manifest/log.py A Tools/Scripts/webkitpy/thirdparty/wpt/manifest/manifest.py A Tools/Scripts/webkitpy/thirdparty/wpt/manifest/sourcefile.py A Tools/Scripts/webkitpy/thirdparty/wpt/manifest/testpaths.py A Tools/Scripts/webkitpy/thirdparty/wpt/manifest/typedata.py A Tools/Scripts/webkitpy/thirdparty/wpt/manifest/update.py A Tools/Scripts/webkitpy/thirdparty/wpt/manifest/utils.py A Tools/Scripts/webkitpy/thirdparty/wpt/manifest/vcs.py M Tools/Scripts/webkitpy/w3c/test_parser.py M Tools/Scripts/webkitpy/w3c/test_parser_unittest.py Log Message: ----------- [import-w3c-tests] Make TestParser use the WPT SourceFile https://bugs.webkit.org/show_bug.cgi?id=263673 Reviewed by Jonathan Bedard. Rather than reimplementing all this logic ourselves, we should just use the upstream WPT code to classify files. This does vendor a new (partial) copy (from upstream f54724aafa), to pull in the last version of the WPT tools prior to them dropping Python 2 support. This vastly reduces the amount of logic webkitpy.w3c.test_parser has in it, though we maintain our own copy of fuzzy_metadata (now directly in webkitpy.layout_tests.controllers.single_test_runner), given we need different semantics when running tests (specifically: we want it to find fuzzy data for tests WPT doesn't believe are reftests). * Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner.py: (SingleTestRunner._fuzzy_metadata_for_file): (SingleTestRunner._fuzzy_tolerance_for_reference): * Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner_unittest.py: (SingleTestRunnerTest): (test_nameless_fuzzy_data): (test_range_fuzzy_data): (test_nameless_range_fuzzy_data): (test_per_ref_fuzzy_data): * Tools/Scripts/webkitpy/thirdparty/wpt: Added, from upstream f54724aafa. Canonical link: https://commits.webkit.org/277673@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes