mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Fix the test count in grouping formatter
Now that the WPT update has settled a bit, it seems safe to make sure that the grouping_formatter properly consumes the data structure provided.
This commit is contained in:
parent
a296e386af
commit
4e9dfe3ec2
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ class GroupingFormatter(base.BaseFormatter):
|
|||
return new_display + "No tests running.\n"
|
||||
|
||||
def suite_start(self, data):
|
||||
self.number_of_tests = len(data["tests"])
|
||||
self.number_of_tests = sum(len(tests) for tests in data["tests"].itervalues())
|
||||
self.start_time = data["time"]
|
||||
|
||||
if self.number_of_tests == 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue