Create a function to execute smoke scripts in evergreen.yml

XMLWordPrintableJSON

    • None
    • None

      There are a few csuite tests that execute the smoke.sh script present in their folder. We could create the following function:

        "smoke test":
          command: shell.exec
          params:
            working_dir: "wiredtiger"
            script: |
              set -o errexit
              set -o verbose
              ${test_env_vars|} test/csuite/${test_binary}/smoke.sh 2>&1 

      And call it this way where necessary:

            - func: "smoke test"
              vars:
                test_binary: random_abort 

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

                Created:
                Updated:
                Resolved: