aboutsummaryrefslogtreecommitdiffstats
path: root/python/wpt/grouping_formatter.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/wpt/grouping_formatter.py')
-rw-r--r--python/wpt/grouping_formatter.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/python/wpt/grouping_formatter.py b/python/wpt/grouping_formatter.py
index 231c5b2c9e6..376ddce0804 100644
--- a/python/wpt/grouping_formatter.py
+++ b/python/wpt/grouping_formatter.py
@@ -327,7 +327,10 @@ class ServoFormatter(mozlog.formatters.base.BaseFormatter, ServoHandler):
output += u"Ran %i tests finished in %.1f seconds.\n" % (
self.completed_tests, (data["time"] - self.suite_start_time) / 1000)
- output += f" \u2022 {len(self.expected.values())} ran as expected.\n"
+
+ # Sum the number of expected test results from each category
+ expected_test_results = sum(self.expected.values())
+ output += f" \u2022 {expected_test_results} ran as expected.\n"
if self.number_skipped:
output += f" \u2022 {self.number_skipped} skipped.\n"