summaryrefslogtreecommitdiff
path: root/buildscripts/burn_in_tests.py
diff options
context:
space:
mode:
authorYves Duhem <yves.duhem@mongodb.com>2018-02-23 18:22:33 -0500
committerYves Duhem <yves.duhem@mongodb.com>2018-02-23 18:23:48 -0500
commit649502fd5942d5a572c6a55cfbca61ce1c9611d0 (patch)
tree4428c847c6c2b4a97d11e0bea2d7fe0cd7c2cb87 /buildscripts/burn_in_tests.py
parenta430d6886290129605dde5ed86589dffb84345e1 (diff)
downloadmongo-649502fd5942d5a572c6a55cfbca61ce1c9611d0.tar.gz
SERVER-33397 New suitesconfig module
Diffstat (limited to 'buildscripts/burn_in_tests.py')
-rw-r--r--buildscripts/burn_in_tests.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/buildscripts/burn_in_tests.py b/buildscripts/burn_in_tests.py
index 69cf37e0f38..fa37a810190 100644
--- a/buildscripts/burn_in_tests.py
+++ b/buildscripts/burn_in_tests.py
@@ -243,7 +243,7 @@ def find_tests_by_executor(suites):
"""
memberships = {}
- test_membership = resmokelib.parser.create_test_membership_map()
+ test_membership = resmokelib.suitesconfig.create_test_membership_map()
for suite in suites:
for test in suite.tests:
memberships[test] = test_membership[test]
@@ -258,7 +258,7 @@ def create_executor_list(suites, exclude_suites):
"""
memberships = collections.defaultdict(list)
- test_membership = resmokelib.parser.create_test_membership_map()
+ test_membership = resmokelib.suitesconfig.create_test_membership_map()
for suite in suites:
for test in suite.tests:
for executor in set(test_membership[test]) - set(exclude_suites):
@@ -384,7 +384,9 @@ def main():
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)
+ suites = resmokelib.suitesconfig.get_suites(
+ suite_files=values.suite_files.split(","),
+ test_files=changed_tests)
tests_by_executor = create_executor_list(suites, exclude_suites)
tests_by_task = create_task_list(evergreen_conf,
values.buildvariant,