diff options
author | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2015-06-22 20:18:10 -0400 |
---|---|---|
committer | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2015-06-22 20:18:10 -0400 |
commit | 8c8ee1840327ccc35af3ebac0ab4f6e0dd37593f (patch) | |
tree | 9243c37e0b602ed788f6c5f34cc31d90c2f5efa1 /buildscripts/resmoke.py | |
parent | 2fb814c60c065cb78e271b5a6da8d2ec2637a475 (diff) | |
download | mongo-8c8ee1840327ccc35af3ebac0ab4f6e0dd37593f.tar.gz |
SERVER-18756 Write all executions to the report.json file.
Makes it so that a link to the logs for every test that ran is present
in the sidebar of the Evergreen UI. Multiple entries will appear for
the same test file when --repeat is used.
This also fixes an issue where the number of tests skipped would be
incorrect if the same test file was included multiple times in the
"roots" key.
Diffstat (limited to 'buildscripts/resmoke.py')
-rwxr-xr-x | buildscripts/resmoke.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/buildscripts/resmoke.py b/buildscripts/resmoke.py index d7c3aff27e9..9275b87f6fe 100755 --- a/buildscripts/resmoke.py +++ b/buildscripts/resmoke.py @@ -120,9 +120,7 @@ def _write_report_file(suites, pathname): reports = [] for suite in suites: for group in suite.test_groups: - report = group.get_latest_report() - if report is not None: - reports.append(report) + reports.extend(group.get_reports()) combined_report_dict = resmokelib.testing.report.TestReport.combine(*reports).as_dict() with open(pathname, "w") as fp: |