mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision 85e8612e81c8b478c8cac7260436646e48d3f7ae
This commit is contained in:
parent
a14b952fa3
commit
87dcce0f06
66 changed files with 697 additions and 266 deletions
|
@ -160,7 +160,7 @@ def all_tests(data):
|
|||
for UA, results in data.iteritems():
|
||||
for result in results["results"]:
|
||||
id = test_id(result["test"])
|
||||
tests[id] |= set(subtest["name"] for subtest in result["subtests"])
|
||||
tests[id] |= {subtest["name"] for subtest in result["subtests"]}
|
||||
return tests
|
||||
|
||||
|
||||
|
@ -179,7 +179,7 @@ def group_results(data):
|
|||
|
||||
def result():
|
||||
return {
|
||||
"harness": dict((UA, (None, None)) for UA in UAs),
|
||||
"harness": {UA: (None, None) for UA in UAs},
|
||||
"subtests": None # init this later
|
||||
}
|
||||
|
||||
|
@ -191,9 +191,9 @@ def group_results(data):
|
|||
result = results_by_test[id]
|
||||
|
||||
if result["subtests"] is None:
|
||||
result["subtests"] = dict(
|
||||
(name, dict((UA, (None, None)) for UA in UAs)) for name in tests[id]
|
||||
)
|
||||
result["subtests"] = {
|
||||
name: {UA: (None, None) for UA in UAs} for name in tests[id]
|
||||
}
|
||||
|
||||
result["harness"][UA] = (test_data["status"], test_data["message"])
|
||||
for subtest in test_data["subtests"]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue