mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Fix the test count in the WPT formatter
This was broken by a change in the test harness.
This commit is contained in:
parent
988728e9d5
commit
5876ac83f9
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