summaryrefslogtreecommitdiff
path: root/buildscripts/resmokelib/reportfile.py
diff options
context:
space:
mode:
authorJonathan Abrahams <jonathan@mongodb.com>2017-05-26 13:59:32 -0400
committerJonathan Abrahams <jonathan@mongodb.com>2017-05-26 13:59:32 -0400
commitb6c1b6b6a9bfe17d3c21d87ee8516e069dadfa3c (patch)
treee05d63a53f72e96cf0456b7bb612eee69b8584ec /buildscripts/resmokelib/reportfile.py
parent90fd8a19000b5f96983f068e6380c1f6bd824b69 (diff)
downloadmongo-b6c1b6b6a9bfe17d3c21d87ee8516e069dadfa3c.tar.gz
SERVER-28302 resmoke.py parser should accept files that don't end in .js
Diffstat (limited to 'buildscripts/resmokelib/reportfile.py')
-rw-r--r--buildscripts/resmokelib/reportfile.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/buildscripts/resmokelib/reportfile.py b/buildscripts/resmokelib/reportfile.py
index 7bf288069e2..716f90d8cae 100644
--- a/buildscripts/resmokelib/reportfile.py
+++ b/buildscripts/resmokelib/reportfile.py
@@ -21,8 +21,7 @@ def write(suites):
reports = []
for suite in suites:
- for group in suite.test_groups:
- reports.extend(group.get_reports())
+ reports.extend(suite.test_group.get_reports())
combined_report_dict = _report.TestReport.combine(*reports).as_dict()
with open(config.REPORT_FILE, "w") as fp: