summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorGeert Bosch <geert@mongodb.com>2018-01-04 14:10:19 -0500
committerGeert Bosch <geert@mongodb.com>2018-01-11 18:26:06 -0500
commitc16959f19705772d01e1053899048869aafe4537 (patch)
treea699f3d3e91d7f3b8ebd984e13a4ea95cbdec14a /buildscripts
parentf803bdacee6bf60589e6478e43f17b5e4b856a8f (diff)
downloadmongo-c16959f19705772d01e1053899048869aafe4537.tar.gz
SERVER-32546 Don't fail when no modified tests and no test_list_outfile
Diffstat (limited to 'buildscripts')
-rw-r--r--buildscripts/burn_in_tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildscripts/burn_in_tests.py b/buildscripts/burn_in_tests.py
index a78c905f974..69cf37e0f38 100644
--- a/buildscripts/burn_in_tests.py
+++ b/buildscripts/burn_in_tests.py
@@ -381,7 +381,8 @@ def main():
# If there are no changed tests, exit cleanly.
if not changed_tests:
print "No new or modified tests found."
- _write_report_file({}, values.test_list_outfile)
+ if values.test_list_outfile is not None:
+ _write_report_file({}, values.test_list_outfile)
sys.exit(0)
suites = resmokelib.parser.get_suites(values, changed_tests)
tests_by_executor = create_executor_list(suites, exclude_suites)