commit 74e1e36e1b8399085da339de6fea9338c34588a3
parent 7bb08bc70a2d1e8461d79b5b56086f87ef7bcbfb
Author: Alexandra Borovova <aborovova@mozilla.com>
Date: Tue, 28 Oct 2025 08:02:12 +0000
Bug 1996254 - Fix "mach wpt-test-paths" command. r=jgraham,mach-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D269960
Diffstat:
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/testing/web-platform/mach_commands.py b/testing/web-platform/mach_commands.py
@@ -349,6 +349,7 @@ class WebPlatformTestsTestPathsRunner(MozbuildObject):
)
import logging
+ import localpaths # noqa: F401
import manifestupdate
from manifest import testpaths
from wptrunner import wptcommandline
@@ -372,15 +373,11 @@ class WebPlatformTestsTestPathsRunner(MozbuildObject):
)
results = {}
for url_base, paths in test_paths.items():
- if "manifest_path" not in paths:
- paths["manifest_path"] = os.path.join(
- paths["metadata_path"], "MANIFEST.json"
- )
results.update(
testpaths.get_paths(
- path=paths["manifest_path"],
+ path=paths.manifest_path,
src_root=src_root,
- tests_root=paths["tests_path"],
+ tests_root=paths.tests_path,
update=kwargs["update"],
rebuild=kwargs["rebuild"],
url_base=url_base,