[Webkit-unassigned] [Bug 259750] New: [import-w3c-tests] invalid options/arguments don't cause an error
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 2 15:02:03 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=259750
Bug ID: 259750
Summary: [import-w3c-tests] invalid options/arguments don't
cause an error
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: gsnedders at apple.com
Running:
```
./Tools/Scripts/import-w3c-tests web-platform-tests/css/selectors --clear-dest-dir -a -t
```
Doesn't result in any error.
However, `--clear-dest-dir` isn't the name of an option—`--clean-dest-dir` is. I'd expect, in typical shell fashion, the unknown option to cause an error, not be treated as an argument.
We should probably also make:
```
./Tools/Scripts/import-w3c-tests nonsense/foo/bar
```
Fail, as we practically require the string to start with web-platform-tests.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230802/09a4d3ab/attachment.htm>
More information about the webkit-unassigned
mailing list