diff options
author | Yves Duhem <yves.duhem@mongodb.com> | 2017-11-20 15:56:50 -0500 |
---|---|---|
committer | Yves Duhem <yves.duhem@mongodb.com> | 2017-11-20 15:56:50 -0500 |
commit | 2421e96fa4a5c888e75065fec653f1432f3bbb64 (patch) | |
tree | a2641031a18e08a3654770bead59f51c45e890e5 /buildscripts/resmoke.py | |
parent | c98068d7c836e2d36a862189733d903b24b02d9a (diff) | |
download | mongo-2421e96fa4a5c888e75065fec653f1432f3bbb64.tar.gz |
SERVER-29924 Display excluded tests in resmoke dry run
Diffstat (limited to 'buildscripts/resmoke.py')
-rwxr-xr-x | buildscripts/resmoke.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/buildscripts/resmoke.py b/buildscripts/resmoke.py index 1d5bc7be694..54572a95af6 100755 --- a/buildscripts/resmoke.py +++ b/buildscripts/resmoke.py @@ -36,14 +36,21 @@ def _execute_suite(suite): if resmokelib.config.DRY_RUN == "tests": sb = [] - sb.append("Tests that would be run for %ss in suite %s:" - % (suite.test_kind, suite.get_display_name())) + sb.append("Tests that would be run in suite %s:" % suite.get_display_name()) if len(suite.tests) > 0: for test in suite.tests: sb.append(test) else: sb.append("(no tests)") logger.info("\n".join(sb)) + sb = [] + sb.append("Tests that would be excluded from suite %s:" % suite.get_display_name()) + if len(suite.excluded) > 0: + for test in suite.excluded: + sb.append(test) + else: + sb.append("(no tests)") + logger.info("\n".join(sb)) # Set a successful return code on the test suite because we want to output the tests # that would get run by any other suites the user specified. |