diff options
author | Jonathan Abrahams <jonathan@mongodb.com> | 2017-05-26 13:59:32 -0400 |
---|---|---|
committer | Jonathan Abrahams <jonathan@mongodb.com> | 2017-05-26 13:59:32 -0400 |
commit | b6c1b6b6a9bfe17d3c21d87ee8516e069dadfa3c (patch) | |
tree | e05d63a53f72e96cf0456b7bb612eee69b8584ec /buildscripts/resmokelib/reportfile.py | |
parent | 90fd8a19000b5f96983f068e6380c1f6bd824b69 (diff) | |
download | mongo-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.py | 3 |
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: |