wpt: fix path to wpt-prefs.json (#33243)

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
This commit is contained in:
Mukilan Thiyagarajan 2024-08-29 10:07:35 +05:30 committed by GitHub
parent c69acd1848
commit 1aff31fd96
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -490314,7 +490314,7 @@
[]
],
"executorservo.py": [
"a0deac318d07dc802cff3e956ad254bb6b340587",
"d8bb47be5f9259f793902a3157ae96a8954f8fb6",
[]
],
"executorservodriver.py": [

View file

@ -71,9 +71,9 @@ class ServoExecutor(ProcessTestExecutor):
# The cwd is the servo repo for `./mach test-wpt`, but on WPT runners
# it is the WPT repo. The nightly tar is extracted inside the python
# virtual environment within the repo. This means that on WPT runners,
# the cwd has the `_venv/servo` directory inside which we find the
# the cwd has the `_venv3/servo` directory inside which we find the
# binary and the 'resources' directory.
for dir in [".", "./_venv/servo"]:
for dir in [".", "./_venv3/servo"]:
candidate = os.path.abspath(os.path.join(dir, default_path))
if os.path.isfile(candidate):
return candidate