github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/pkg/acceptance/run.sh (about)

     1  #!/usr/bin/env bash
     2  
     3  set -euxo pipefail
     4  
     5  "$(dirname "${0}")"/prepare.sh
     6  
     7  # The log files that should be created by -l below can only
     8  # be created if the parent directory already exists. Ensure
     9  # that it exists before running the test.
    10  mkdir -p artifacts/acceptance
    11  export TMPDIR=$PWD/artifacts/acceptance
    12  
    13  # For the acceptance tests that run without Docker.
    14  make build
    15  make test PKG=./pkg/acceptance TESTTIMEOUT="${TESTTIMEOUT-30m}" TAGS=acceptance TESTFLAGS="${TESTFLAGS--v} -l $TMPDIR"