diff options
author | Martin Robinson <mrobinson@igalia.com> | 2023-06-24 09:22:18 +0200 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2023-06-26 10:48:02 +0200 |
commit | f017169ae482effc446384050e79b752bd9ddfe5 (patch) | |
tree | 90bc38a792825b615100f112e14838523ccb7577 /python/mach_bootstrap.py | |
parent | 234d50723463159400ee4bf25fa130011e9f72ef (diff) | |
download | servo-f017169ae482effc446384050e79b752bd9ddfe5.tar.gz servo-f017169ae482effc446384050e79b752bd9ddfe5.zip |
Update scripts to reflect new WPT directory name
Diffstat (limited to 'python/mach_bootstrap.py')
-rw-r--r-- | python/mach_bootstrap.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/python/mach_bootstrap.py b/python/mach_bootstrap.py index 2d3d5ce8a4f..448b8d00749 100644 --- a/python/mach_bootstrap.py +++ b/python/mach_bootstrap.py @@ -136,20 +136,14 @@ def wpt_path(is_firefox, topdir, *paths): def wptrunner_path(is_firefox, topdir, *paths): wpt_root = wpt_path(is_firefox, topdir) - if is_firefox: - rel = os.path.join(wpt_root, "tests", "tools", "wptrunner") - else: - rel = os.path.join(wpt_root, "web-platform-tests", "tools", "wptrunner") + rel = os.path.join(wpt_root, "tests", "tools", "wptrunner") return os.path.join(topdir, rel, *paths) def wptserve_path(is_firefox, topdir, *paths): wpt_root = wpt_path(is_firefox, topdir) - if is_firefox: - rel = os.path.join(wpt_root, "tests", "tools", "wptserve") - else: - rel = os.path.join(wpt_root, "web-platform-tests", "tools", "wptserve") + rel = os.path.join(wpt_root, "tests", "tools", "wptserve") return os.path.join(topdir, rel, *paths) |