Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-8505

Create a compatibility test function in Evergreen

      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@mongodb.com Etienne Petrel
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: