github web-platform-tests/wpt merge_pr_47805

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
12 months ago

wpt: check for wpt-prefs.json in "./servo" sub-directory

The current working directory when running on WPT runners is not the
folder with the servo binary, but a parent folder into which the servo
nightly tar is extracted. This means the binary is $PWD/servo/servo
and resources directory in in $PWD/servo/resources, so the current
hardcoded relative path resources/wpt-prefs.json will not work on WPT
runners.

This is causing crashes in WPT runner:

https://github.com/web-platform-tests/wpt/runs/29284407168
https://community-tc.services.mozilla.com/tasks/J7MqNwJGQRSkIWlvB5ktPQ/runs/0/logs/live/public/logs/live.log

Signed-off-by: Mukilan Thiyagarajan mukilan@igalia.com

Don't miss a new wpt release

NewReleases is sending notifications on new releases.