mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Fix the test count in the WPT grouping_formatter
The internal WPT API seems to have changed again, so we must revert the previous change here to get the correct test count.
This commit is contained in:
parent
2a5121357a
commit
618fd27a3d
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 = sum(len(tests) for tests in data["tests"].itervalues())
|
||||
self.number_of_tests = len(data["tests"])
|
||||
self.start_time = data["time"]
|
||||
|
||||
if self.number_of_tests == 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue