mirror of
https://github.com/servo/servo.git
synced 2025-07-22 06:43:40 +01:00
Update scripts to reflect new WPT directory name
This commit is contained in:
parent
234d507234
commit
f017169ae4
21 changed files with 39 additions and 45 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue