diff options
author | Robert Guo <robert.guo@10gen.com> | 2017-06-19 14:14:40 -0400 |
---|---|---|
committer | Robert Guo <robert.guo@10gen.com> | 2017-06-22 18:29:34 -0400 |
commit | 4d8d1745c9430b7aeb167e4249b639b73b50e07f (patch) | |
tree | fdba48119fdb958e5ddad35ab4f3e61ce93f118d /buildscripts/burn_in_tests.py | |
parent | 669a3c4c28b74d8a68f1556c9e185439380be61a (diff) | |
download | mongo-4d8d1745c9430b7aeb167e4249b639b73b50e07f.tar.gz |
SERVER-28636 replace --executor with --suite in resmoke.py
Diffstat (limited to 'buildscripts/burn_in_tests.py')
-rw-r--r-- | buildscripts/burn_in_tests.py | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/buildscripts/burn_in_tests.py b/buildscripts/burn_in_tests.py index 99a3bbe5e42..8eb87d4eda1 100644 --- a/buildscripts/burn_in_tests.py +++ b/buildscripts/burn_in_tests.py @@ -67,11 +67,10 @@ def parse_command_line(): check_evergreen=False, evergreen_file="etc/evergreen.yml", selector_file="etc/burn_in_tests.yml", - executor_file="with_server", max_revisions=25, no_exec=False, report_file="report.json", - suite_files=None, + suite_files="with_server", test_list_file=None, test_list_outfile=None) @@ -179,7 +178,7 @@ def find_changed_tests(branch_name, base_commit, max_revisions, buildvariant, ch # The lines with untracked files start with '?? '. for line in untracked_files: if line.startswith("?"): - (status, line) = line.split(" ") + (status, line) = line.split(" ", 1) changed_files.append(line) for line in changed_files: @@ -325,12 +324,11 @@ def create_task_list(evergreen_file, buildvariant, suites, exclude_tasks): # function. This allows the storage engine to be overridden. task_arg = "{} {}".format(task_arg, test_flags) # Find the resmoke_args for matching suite names. - # Change the --suites to --executor - if (re.compile('--suites=' + suite + '(?:\s+|$)').match(task_arg) or - re.compile('--executor=' + suite + '(?:\s+|$)').match(task_arg)): + if (re.compile('--suites=' + suite + '(?:\s+|$)').match(task_arg)): tasks_to_run[task_name] = { - "resmoke_args": task_arg.replace("--suites", "--executor"), - "tests": suites[suite]} + "resmoke_args": task_arg, + "tests": suites[suite] + } return tasks_to_run @@ -373,7 +371,6 @@ def _save_report_data(saved_data, pathname, task): def main(): - values = collections.defaultdict(list) values, args = parse_command_line() # If a resmoke.py command wasn't passed in, use a simple version. |