diff options
author | Mukilan Thiyagarajan <mukilan@igalia.com> | 2024-08-27 13:34:12 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-27 08:04:12 +0000 |
commit | 173b6f183c6db86c68eb430b06a548f9e47264dc (patch) | |
tree | 9935fda34fff873761fbe907b6992ab67c1afeab /python/servo/platform/__init__.py | |
parent | 7fce24f9d54a015db7ee813fc16c74d2feacbb12 (diff) | |
download | servo-173b6f183c6db86c68eb430b06a548f9e47264dc.tar.gz servo-173b6f183c6db86c68eb430b06a548f9e47264dc.zip |
wpt: check for wpt-prefs.json in "./servo" sub-directory (#33202)
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>
Diffstat (limited to 'python/servo/platform/__init__.py')
0 files changed, 0 insertions, 0 deletions