From 5876ac83f92480ff757c61461531c2e16bf6cffb Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Thu, 14 Sep 2017 16:03:19 +0200 Subject: [PATCH] Fix the test count in the WPT formatter This was broken by a change in the test harness. --- tests/wpt/grouping_formatter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/wpt/grouping_formatter.py b/tests/wpt/grouping_formatter.py index a02714b7068..48bbd2532bd 100644 --- a/tests/wpt/grouping_formatter.py +++ b/tests/wpt/grouping_formatter.py @@ -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: