Bug 1480454 - Part a: Add a wasm setting to the wpt .ini expectation files; r=jgraham

This commit is contained in:
Ms2ger 2018-08-07 10:18:31 +02:00
Родитель dcd7d4327c
Коммит 82d9496d6a
2 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -295,7 +295,7 @@ def parse_args():
return (options, prefix, requested_paths, excluded_paths)
def load_wpt_tests(requested_paths, excluded_paths, debug):
def load_wpt_tests(requested_paths, excluded_paths, debug, wasm):
"""Return a list of `RefTestCase` objects for the jsshell testharness.js
tests filtered by the given paths and debug-ness."""
repo_root = abspath(os.path.join(here, "..", "..", ".."))
@ -340,6 +340,7 @@ def load_wpt_tests(requested_paths, excluded_paths, debug):
"metadata_root": os.path.join(wp, "meta"),
"gecko_e10s": False,
"verify": False,
"wasm": wasm,
}
wptcommandline.set_from_config(kwargs)
test_paths = kwargs["test_paths"]

Просмотреть файл

@ -136,6 +136,7 @@ def env_options():
def run_info_extras(**kwargs):
return {"e10s": kwargs["gecko_e10s"],
"wasm": kwargs.get("wasm", True),
"verify": kwargs["verify"],
"headless": "MOZ_HEADLESS" in os.environ}