[webkit-changes] [WebKit/WebKit] b696c8: [import-w3c-tests] Be stricter about argument parsing
Sam Sneddon
noreply at github.com
Fri Aug 4 10:02:02 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b696c86a2c8603e09be22fd3ffd1d84e531090ac
https://github.com/WebKit/WebKit/commit/b696c86a2c8603e09be22fd3ffd1d84e531090ac
Author: Sam Sneddon <gsnedders at apple.com>
Date: 2023-08-04 (Fri, 04 Aug 2023)
Changed paths:
M Tools/Scripts/webkitpy/w3c/test_importer.py
M Tools/Scripts/webkitpy/w3c/test_importer_unittest.py
Log Message:
-----------
[import-w3c-tests] Be stricter about argument parsing
https://bugs.webkit.org/show_bug.cgi?id=259750
rdar://problem/113293027
Reviewed by Jonathan Bedard.
This moves us to using argparse.ArgumentParser.parse_args instead of
argparse.ArgumentParser.parse_known_args, thereby resulting in unknown
arguments causing an error.
Additionally, add an error when you pass a test_path that doesn't
start with web-platform-test/, as this is practically required.
* Tools/Scripts/webkitpy/w3c/test_importer.py:
(TestImporter.do_import):
* Tools/Scripts/webkitpy/w3c/test_importer_unittest.py:
Canonical link: https://commits.webkit.org/266587@main
More information about the webkit-changes
mailing list