Bug 245938

Summary: run-webkit-tests cannot find tests when passed a path starting with ./
Product: WebKit Reporter: Ryan Reno <rreno>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Ryan Reno
Reported 2022-10-01 20:31:27 PDT
run-webkit-tests --no-build ./LayoutTests/imported/w3c/web-platform-tests should run the entire WPT suite. Instead it finds 0 tests. Found 0 tests; running 0, skipping 0. All tests skipped. run-webkit-tests --no-build LayoutTests/imported/w3c/web-platform-tests/ does find and run all of WPT that's imported in our tree. Found 32130 tests; running 26816, skipping 5314. It seems like the leading ./ is confusing the code that searches for tests. Trailing / work ok when trying to run all tests in a directory.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-10-01 20:31:59 PDT
Alexey Proskuryakov
Comment 2 2022-10-02 16:03:34 PDT
I think that this is basically by design - it takes either a LayoutTests relative path or WebKit relative path, but not cwd relative.
Note You need to log in before you can comment on or make changes to this bug.