diff options
author | Lydia Stepanek <lydia.stepanek@mongodb.com> | 2020-06-24 11:03:26 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-06-24 15:30:56 +0000 |
commit | c848b16c777e78fa3b21d7b0ad538ee2072346d4 (patch) | |
tree | 507a57162bf939e71f00e31379a544ced68d3cbe /buildscripts/burn_in_tests_multiversion.py | |
parent | ebd79c62d842b78b8d918e84ae3269a6c308b284 (diff) | |
download | mongo-c848b16c777e78fa3b21d7b0ad538ee2072346d4.tar.gz |
SERVER-47827 Request for a local burn_in_tests.py that locally runs all tests changed since master, including those committed in the local branch
Diffstat (limited to 'buildscripts/burn_in_tests_multiversion.py')
-rw-r--r-- | buildscripts/burn_in_tests_multiversion.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/buildscripts/burn_in_tests_multiversion.py b/buildscripts/burn_in_tests_multiversion.py index 519be44f831..613153e13de 100644 --- a/buildscripts/burn_in_tests_multiversion.py +++ b/buildscripts/burn_in_tests_multiversion.py @@ -16,7 +16,7 @@ import buildscripts.evergreen_gen_multiversion_tests as gen_multiversion import buildscripts.evergreen_generate_resmoke_tasks as gen_resmoke from buildscripts.burn_in_tests import GenerateConfig, DEFAULT_PROJECT, CONFIG_FILE, _configure_logging, RepeatConfig, \ _get_evg_api, EVERGREEN_FILE, DEFAULT_REPO_LOCATIONS, _set_resmoke_cmd, create_tests_by_task, \ - run_tests + find_changed_tests, run_tests from buildscripts.ciconfig.evergreen import parse_evergreen_file from buildscripts.patch_builds.task_generation import validate_task_generation_limit from buildscripts.resmokelib.suitesconfig import get_named_suites_with_root_level_key @@ -166,7 +166,8 @@ def main(build_variant, run_build_variant, distro, project, generate_tasks_file, resmoke_cmd = _set_resmoke_cmd(repeat_config, list(resmoke_args)) - tests_by_task = create_tests_by_task(generate_config.build_variant, repos, evg_conf) + changed_tests = find_changed_tests(repos) + tests_by_task = create_tests_by_task(generate_config.build_variant, evg_conf, changed_tests) LOGGER.debug("tests and tasks found", tests_by_task=tests_by_task) if generate_tasks_file: |