From 1aff31fd963bb139843574cd73158ac0c0a4a430 Mon Sep 17 00:00:00 2001 From: Mukilan Thiyagarajan Date: Thu, 29 Aug 2024 10:07:35 +0530 Subject: [PATCH] wpt: fix path to wpt-prefs.json (#33243) Signed-off-by: Mukilan Thiyagarajan --- tests/wpt/meta/MANIFEST.json | 2 +- .../tools/wptrunner/wptrunner/executors/executorservo.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/wpt/meta/MANIFEST.json b/tests/wpt/meta/MANIFEST.json index 6fb17b37a00..1657f9ac240 100644 --- a/tests/wpt/meta/MANIFEST.json +++ b/tests/wpt/meta/MANIFEST.json @@ -490314,7 +490314,7 @@ [] ], "executorservo.py": [ - "a0deac318d07dc802cff3e956ad254bb6b340587", + "d8bb47be5f9259f793902a3157ae96a8954f8fb6", [] ], "executorservodriver.py": [ diff --git a/tests/wpt/tests/tools/wptrunner/wptrunner/executors/executorservo.py b/tests/wpt/tests/tools/wptrunner/wptrunner/executors/executorservo.py index a0deac318d0..d8bb47be5f9 100644 --- a/tests/wpt/tests/tools/wptrunner/wptrunner/executors/executorservo.py +++ b/tests/wpt/tests/tools/wptrunner/wptrunner/executors/executorservo.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