Bug 274932

Summary: Script `import-w3c-tests` fails to import WPT tests
Product: WebKit Reporter: David Choi <david_choi5>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: eoconnor, gsnedders, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description David Choi 2024-05-30 16:51:21 PDT
Attempting to run:
> import-w3c-tests -t web-platform-tests/css/css-anchor-position

results in the following output:
"
Downloading W3C test repositories
Cloning https://github.com/web-platform-tests/wpt.git into /Users/davidchoi/Code/OpenSource/WebKitBuild/w3c-tests/web-platform-tests...
Checking out revision origin/master
Scanning /Users/davidchoi/Code/OpenSource/WebKitBuild/w3c-tests/web-platform-tests/css/css-anchor-position/...
Scanning /Users/davidchoi/Code/OpenSource/WebKitBuild/w3c-tests/web-platform-tests/css/css-anchor-position/support...
Scanning /Users/davidchoi/Code/OpenSource/WebKitBuild/w3c-tests/web-platform-tests/css/css-anchor-position/parsing...
Scanning /Users/davidchoi/Code/OpenSource/WebKitBuild/w3c-tests/web-platform-tests/css/css-anchor-position/reference...
Import complete
IMPORTED 0 TOTAL TESTS
Imported 0 reftests
Imported 0 JS tests
Imported 0 Crash tests
Imported 0 pixel/manual tests

Properties needing prefixes (by count):

Property values needing prefixes (by count):

--------- Please include the following in your commit message: ---------

Upstream commit: https://github.com/web-platform-tests/wpt/commit/302696854a153a3f476c50574aab87685f402f22
------------------------------------------------------------------------
"

It does not copy any tests to the LayoutTest subdirectories.

The problem is also resolved by adding the `--all` flag.

WebKit commit hash: be0cf29026ecf3333adab408199cdb6436060f89
Comment 1 Radar WebKit Bug Importer 2024-06-06 16:52:15 PDT
<rdar://problem/129370630>