From cfcef9b8da354b02a6617cf0afef59fef0c4adbd Mon Sep 17 00:00:00 2001 From: Mukilan Thiyagarajan Date: Thu, 29 Aug 2024 04:09:13 +0000 Subject: [PATCH] wpt: fix path to wpt-prefs.json Signed-off-by: Mukilan Thiyagarajan --- tools/wptrunner/wptrunner/executors/executorservo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/wptrunner/wptrunner/executors/executorservo.py b/tools/wptrunner/wptrunner/executors/executorservo.py index a0deac318d07dc..d8bb47be5f9259 100644 --- a/tools/wptrunner/wptrunner/executors/executorservo.py +++ b/tools/wptrunner/wptrunner/executors/executorservo.py @@ -71,9 +71,9 @@ def find_wpt_prefs(self): # 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