mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
wpt: fix path to wpt-prefs.json (#33243)
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
This commit is contained in:
parent
c69acd1848
commit
1aff31fd96
2 changed files with 3 additions and 3 deletions
2
tests/wpt/meta/MANIFEST.json
vendored
2
tests/wpt/meta/MANIFEST.json
vendored
|
@ -490314,7 +490314,7 @@
|
|||
[]
|
||||
],
|
||||
"executorservo.py": [
|
||||
"a0deac318d07dc802cff3e956ad254bb6b340587",
|
||||
"d8bb47be5f9259f793902a3157ae96a8954f8fb6",
|
||||
[]
|
||||
],
|
||||
"executorservodriver.py": [
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue