[webkit-changes] [WebKit/WebKit] 97f8f5: WPT lint tool fails if run from outside the repo.
mattwoodrow
noreply at github.com
Wed Sep 13 14:10:52 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 97f8f55121164c5fc2b8f7630c1360a22c8f88cf
https://github.com/WebKit/WebKit/commit/97f8f55121164c5fc2b8f7630c1360a22c8f88cf
Author: Matt Woodrow <mattwoodrow at apple.com>
Date: 2023-09-13 (Wed, 13 Sep 2023)
Changed paths:
M Tools/Scripts/webkitpy/w3c/wpt_linter.py
Log Message:
-----------
WPT lint tool fails if run from outside the repo.
https://bugs.webkit.org/show_bug.cgi?id=261488
<rdar://115400766>
Reviewed by Tim Nguyen.
Running export-w3c-tests fails for me with a bunch of lint errors of the form 'file matches an ignore filter in .gitignore'.
It seems that for some reason it ends up passing our new test files to `git check-ignore --stdin' such that the contents of the test file is interpreted as a list of files to check against the ignore list.
Using the web-platform-tests directory as the CWD fixes this issue.
* Tools/Scripts/webkitpy/w3c/wpt_linter.py:
(WPTLinter.__init__):
(WPTLinter.lint):
Canonical link: https://commits.webkit.org/267967@main
More information about the webkit-changes
mailing list