mirror of
https://github.com/servo/servo.git
synced 2025-08-08 23:15:33 +01:00
Upgrade wptrunner (tests/wpt/harness) to latest version
This commit is contained in:
parent
5478c7c24b
commit
759c52d7eb
28 changed files with 164 additions and 146 deletions
|
@ -57,7 +57,7 @@ def get_run_info(metadata_root, product, **kwargs):
|
|||
|
||||
|
||||
class RunInfo(dict):
|
||||
def __init__(self, metadata_root, product, debug):
|
||||
def __init__(self, metadata_root, product, debug, extras=None):
|
||||
self._update_mozinfo(metadata_root)
|
||||
self.update(mozinfo.info)
|
||||
self["product"] = product
|
||||
|
@ -66,6 +66,8 @@ class RunInfo(dict):
|
|||
elif "debug" not in self:
|
||||
# Default to release
|
||||
self["debug"] = False
|
||||
if extras is not None:
|
||||
self.update(extras)
|
||||
|
||||
def _update_mozinfo(self, metadata_root):
|
||||
"""Add extra build information from a mozinfo.json file in a parent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue