mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Update to latest wptrunner (036c9931).
This commit is contained in:
parent
88d9c1b257
commit
f837e575fe
33 changed files with 709 additions and 229 deletions
|
@ -190,8 +190,6 @@ class EqualTimeChunker(TestChunker):
|
|||
|
||||
class TestFilter(object):
|
||||
def __init__(self, test_manifests, include=None, exclude=None, manifest_path=None):
|
||||
test_manifests = test_manifests
|
||||
|
||||
if manifest_path is not None and include is None:
|
||||
self.manifest = manifestinclude.get_manifest(manifest_path)
|
||||
else:
|
||||
|
@ -355,7 +353,7 @@ class TestLoader(object):
|
|||
|
||||
for test_path, test_type, test in self.iter_tests():
|
||||
enabled = not test.disabled()
|
||||
if not self.include_https and test.protocol == "https":
|
||||
if not self.include_https and test.environment["protocol"] == "https":
|
||||
enabled = False
|
||||
key = "enabled" if enabled else "disabled"
|
||||
tests[key][test_type].append(test)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue