diff options
author | Yves Duhem <yves.duhem@mongodb.com> | 2017-05-30 17:04:07 -0400 |
---|---|---|
committer | Yves Duhem <yves.duhem@mongodb.com> | 2017-06-05 14:13:07 -0400 |
commit | 0347baa06a6040af11752047fb8503c77c71c61a (patch) | |
tree | 36e0c5370b2434cafd82f46f9dc91df62fb3d131 /buildscripts/combine_reports.py | |
parent | 89e48e22ba667caad7223eaa2b6ee92868323268 (diff) | |
download | mongo-0347baa06a6040af11752047fb8503c77c71c61a.tar.gz |
SERVER-29192 Prevent 'silentfail' status for dynamic tests
Diffstat (limited to 'buildscripts/combine_reports.py')
-rwxr-xr-x | buildscripts/combine_reports.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/buildscripts/combine_reports.py b/buildscripts/combine_reports.py index 94f5494a0c0..2248d98d21c 100755 --- a/buildscripts/combine_reports.py +++ b/buildscripts/combine_reports.py @@ -27,16 +27,12 @@ def report_exit(combined_test_report): """The exit code of this script is based on the following: 0: All tests have status "pass", or only non-dynamic tests have status "silentfail". 31: At least one test has status "fail" or "timeout". - 32: At least one dynamic test has status "silentfail", - but no tests have status "fail" or "timeout". Note: A test can be considered dynamic if its name contains a ":" character.""" ret = 0 for test in combined_test_report.test_infos: if test.status in ["fail", "timeout"]: return 31 - if test.dynamic and test.status == "silentfail": - ret = 32 return ret |