Bug 274932 - Script `import-w3c-tests` fails to import WPT tests
Summary: Script `import-w3c-tests` fails to import WPT tests
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-05-30 16:51 PDT by David Choi
Modified: 2024-06-06 16:52 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>