aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-09-14 23:32:40 -0500
committerGitHub <noreply@github.com>2017-09-14 23:32:40 -0500
commit1677a2b34c041735544e7180dfb04183b28e70d5 (patch)
tree40ea25d5106730a363b5d29153e38c9d1e202dc6
parentdb689094f1413f542961cbe0d19a3ed82a11f682 (diff)
parent5876ac83f92480ff757c61461531c2e16bf6cffb (diff)
downloadservo-1677a2b34c041735544e7180dfb04183b28e70d5.tar.gz
servo-1677a2b34c041735544e7180dfb04183b28e70d5.zip
Auto merge of #18505 - mrobinson:test-count, r=jgraham
Fix the test count in the WPT formatter This was broken by a change in the test harness. <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because this just fixes an issue in the test formatter. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18505) <!-- Reviewable:end -->
-rw-r--r--tests/wpt/grouping_formatter.py2
1 files changed, 1 insertions, 1 deletions
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: