mirror of
https://github.com/servo/servo.git
synced 2025-08-20 12:55:33 +01:00
Update web-platform-tests to revision 388ba3a049a3473b1945b9f8f81e9d6e342a249e
This commit is contained in:
parent
43e21dc845
commit
bdaf11b099
139 changed files with 3089 additions and 807 deletions
|
@ -76,6 +76,7 @@ def browser_kwargs(test_type, run_info_data, config, **kwargs):
|
|||
"certutil_binary": kwargs["certutil_binary"],
|
||||
"ca_certificate_path": config.ssl_config["ca_cert_path"],
|
||||
"e10s": kwargs["gecko_e10s"],
|
||||
"lsan_dir": kwargs["lsan_dir"],
|
||||
"stackfix_dir": kwargs["stackfix_dir"],
|
||||
"binary_args": kwargs["binary_args"],
|
||||
"timeout_multiplier": get_timeout_multiplier(test_type,
|
||||
|
@ -181,7 +182,7 @@ class FirefoxBrowser(Browser):
|
|||
|
||||
def __init__(self, logger, binary, prefs_root, test_type, extra_prefs=None, debug_info=None,
|
||||
symbols_path=None, stackwalk_binary=None, certutil_binary=None,
|
||||
ca_certificate_path=None, e10s=False, stackfix_dir=None,
|
||||
ca_certificate_path=None, e10s=False, lsan_dir=None, stackfix_dir=None,
|
||||
binary_args=None, timeout_multiplier=None, leak_check=False, asan=False,
|
||||
stylo_threads=1, chaos_mode_flags=None, config=None, headless=None, **kwargs):
|
||||
Browser.__init__(self, logger)
|
||||
|
@ -210,6 +211,7 @@ class FirefoxBrowser(Browser):
|
|||
self.init_timeout = self.init_timeout * timeout_multiplier
|
||||
|
||||
self.asan = asan
|
||||
self.lsan_dir = lsan_dir
|
||||
self.lsan_allowed = None
|
||||
self.lsan_max_stack_depth = None
|
||||
self.leak_check = leak_check
|
||||
|
@ -243,7 +245,7 @@ class FirefoxBrowser(Browser):
|
|||
env = test_environment(xrePath=os.path.dirname(self.binary),
|
||||
debugger=self.debug_info is not None,
|
||||
log=self.logger,
|
||||
lsanPath=self.prefs_root)
|
||||
lsanPath=self.lsan_dir)
|
||||
|
||||
env["STYLO_THREADS"] = str(self.stylo_threads)
|
||||
if self.chaos_mode_flags is not None:
|
||||
|
|
|
@ -479,7 +479,7 @@ class PackedResultList(object):
|
|||
prop = prop_intern.get((packed & 0xF000) >> 12)
|
||||
|
||||
value_idx = (packed & 0x0F00) >> 8
|
||||
if value_idx is 0:
|
||||
if value_idx == 0:
|
||||
value = self.raw_data[idx]
|
||||
else:
|
||||
value = status_intern.get(value_idx)
|
||||
|
|
|
@ -256,6 +256,8 @@ scheme host and port.""")
|
|||
help="Run tests without electrolysis preferences")
|
||||
gecko_group.add_argument("--stackfix-dir", dest="stackfix_dir", action="store",
|
||||
help="Path to directory containing assertion stack fixing scripts")
|
||||
gecko_group.add_argument("--lsan-dir", dest="lsan_dir", action="store",
|
||||
help="Path to directory containing LSAN suppressions file")
|
||||
gecko_group.add_argument("--setpref", dest="extra_prefs", action='append',
|
||||
default=[], metavar="PREF=VALUE",
|
||||
help="Defines an extra user preference (overrides those in prefs_root)")
|
||||
|
@ -527,6 +529,9 @@ def check_args(kwargs):
|
|||
if kwargs["reftest_internal"] is None:
|
||||
kwargs["reftest_internal"] = True
|
||||
|
||||
if kwargs["lsan_dir"] is None:
|
||||
kwargs["lsan_dir"] = kwargs["prefs_root"]
|
||||
|
||||
return kwargs
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue