Create a compatibility test function in Evergreen

XMLWordPrintableJSON

    • 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 

              Assignee:
              Etienne Petrel
              Reporter:
              Etienne Petrel
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: