Bug 261488

Summary: WPT lint tool fails if run from outside the repo
Product: WebKit Reporter: Matt Woodrow <mattwoodrow>
Component: Tools / TestsAssignee: Matt Woodrow <mattwoodrow>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Matt Woodrow
Reported 2023-09-12 18:38:27 PDT
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.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-09-12 18:38:37 PDT
Matt Woodrow
Comment 2 2023-09-12 18:39:43 PDT
EWS
Comment 3 2023-09-13 14:10:43 PDT
Committed 267967@main (97f8f5512116): <https://commits.webkit.org/267967@main> Reviewed commits have been landed. Closing PR #17718 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.