summaryrefslogtreecommitdiff
path: root/buildscripts/combine_reports.py
diff options
context:
space:
mode:
authorYves Duhem <yves.duhem@mongodb.com>2017-05-30 17:04:07 -0400
committerYves Duhem <yves.duhem@mongodb.com>2017-06-05 14:13:07 -0400
commit0347baa06a6040af11752047fb8503c77c71c61a (patch)
tree36e0c5370b2434cafd82f46f9dc91df62fb3d131 /buildscripts/combine_reports.py
parent89e48e22ba667caad7223eaa2b6ee92868323268 (diff)
downloadmongo-0347baa06a6040af11752047fb8503c77c71c61a.tar.gz
SERVER-29192 Prevent 'silentfail' status for dynamic tests
Diffstat (limited to 'buildscripts/combine_reports.py')
-rwxr-xr-xbuildscripts/combine_reports.py4
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