mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
allow ./mach test
to run tests in tests/wpt/mozilla/
This commit is contained in:
parent
0c64e4a2c9
commit
a3eee70727
1 changed files with 5 additions and 4 deletions
|
@ -81,18 +81,19 @@ class MachCommands(CommandBase):
|
||||||
suites = OrderedDict([
|
suites = OrderedDict([
|
||||||
("tidy", {}),
|
("tidy", {}),
|
||||||
("ref", {"kwargs": {"kind": render_mode},
|
("ref", {"kwargs": {"kind": render_mode},
|
||||||
"path": path.abspath(path.join("tests", "ref")),
|
"paths": [path.abspath(path.join("tests", "ref"))],
|
||||||
"include_arg": "name"}),
|
"include_arg": "name"}),
|
||||||
("wpt", {"kwargs": {"release": release},
|
("wpt", {"kwargs": {"release": release},
|
||||||
"path": path.abspath(path.join("tests", "wpt", "web-platform-tests")),
|
"paths": [path.abspath(path.join("tests", "wpt", "web-platform-tests")),
|
||||||
|
path.abspath(path.join("tests", "wpt", "mozilla"))],
|
||||||
"include_arg": "include"}),
|
"include_arg": "include"}),
|
||||||
("css", {"kwargs": {"release": release},
|
("css", {"kwargs": {"release": release},
|
||||||
"path": path.abspath(path.join("tests", "wpt", "css-tests")),
|
"paths": [path.abspath(path.join("tests", "wpt", "css-tests"))],
|
||||||
"include_arg": "include"}),
|
"include_arg": "include"}),
|
||||||
("unit", {}),
|
("unit", {}),
|
||||||
])
|
])
|
||||||
|
|
||||||
suites_by_prefix = {v["path"]: k for k, v in suites.iteritems() if "path" in v}
|
suites_by_prefix = {path: k for k, v in suites.iteritems() if "paths" in v for path in v["paths"]}
|
||||||
|
|
||||||
selected_suites = OrderedDict()
|
selected_suites = OrderedDict()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue