-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
Different tasks call the same script compatibility_test_for_releases.sh with different arguments.
We could create one function:
"compatibility test":
- command: shell.exec
params:
working_dir: "wiredtiger"
script: |
set -o errexit
set -o verbose
test/evergreen/compatibility_test_for_releases.sh ${compat_test_args}
And reuse it this way:
- name: compatibility-test-for-newer-releases
commands:
- func: "get project"
- func: "compatibility test"
vars:
compat_test_args: -n