RESOLVED FIXED303792
css/background-origin/ tests are not seen by run-webkit-tests
https://bugs.webkit.org/show_bug.cgi?id=303792
Summary css/background-origin/ tests are not seen by run-webkit-tests
Karl Dubost
Reported 2025-12-08 17:16:41 PST
When trying to run the tests script on a folder, the tests are not found, even if they are here. Maybe it's happening for some other folders. (Bug discovered by Joanne) ``` % run-webkit-tests --no-build imported/w3c/web-platform-tests/css/css-backgrounds/background-origin/origin-border-box_with_radius.html […] Found 0 tests; running 0, skipping 0. All tests skipped. ``` or ``` % run-webkit-tests --no-build imported/w3c/web-platform-tests/css/css-backgrounds/background-origin/ […] Found 0 tests; running 0, skipping 0. All tests skipped. ``` ``` % ls -1 LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/background-origin origin-border-box_with_position-expected.html origin-border-box_with_position.html origin-border-box_with_radius-expected.html origin-border-box_with_radius.html origin-border-box_with_size-expected.html origin-border-box_with_size.html origin-border-box-expected.html origin-border-box.html origin-content-box_with_position-expected.html origin-content-box_with_position.html origin-content-box_with_radius-expected.html origin-content-box_with_radius.html origin-content-box_with_size-expected.html origin-content-box_with_size.html origin-content-box-expected.html origin-content-box.html origin-padding-box_with_position-expected.html origin-padding-box_with_position.html origin-padding-box_with_radius-expected.html origin-padding-box_with_radius.html origin-padding-box_with_size-expected.html origin-padding-box_with_size.html origin-padding-box-expected.html origin-padding-box.html support w3c-import.log ```
Attachments
Karl Dubost
Comment 1 2025-12-08 17:17:06 PST
Radar WebKit Bug Importer
Comment 2 2025-12-08 17:21:24 PST
Alexey Proskuryakov
Comment 3 2025-12-09 08:24:22 PST
Reproduces with 301409@main reverted, as well.
Sam Sneddon [:gsnedders]
Comment 4 2025-12-16 17:39:03 PST
Looking at `imported/w3c/web-platform-tests/css/css-backgrounds/background-origin/origin-border-box_with_radius.html` specifically: It was originally imported in https://github.com/WebKit/WebKit/commit/8bc8dbb216de5e1156baa248abc4b219383f265e, which also added it to `LayoutTests/imported/w3c/resources/resource-files.json` (and any file listed in that JSON file is considered a resource file and not a test). Then https://github.com/WebKit/WebKit/commit/1d17a36423416c2aac970aea382939dbe53994fa re-imported it, which also changed it from a visual test to a reftest (which means we could actually run it!), but didn't remove it from `resource-files.json`. An obvious first question to investigate is "does the importer ever remove things from `resource-files.json`?".
Karl Dubost
Comment 5 2025-12-16 21:17:14 PST
@sam is there a way to know automatically if the file is a reftest or a visual test?
Sam Sneddon [:gsnedders]
Comment 6 2025-12-18 15:41:44 PST
EWS
Comment 7 2026-01-13 13:41:57 PST
Committed 305533@main (aafee1bd8c1d): <https://commits.webkit.org/305533@main> Reviewed commits have been landed. Closing PR #55657 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.