github.com/pf-qiu/concourse/v6@v6.7.3-0.20201207032516-1f455d73275f/fly/scripts/test (about)

     1  #!/bin/bash
     2  
     3  set -e
     4  
     5  not_installed() {
     6    ! command -v $1 > /dev/null 2>&1
     7  }
     8  
     9  if not_installed ginkgo; then
    10    echo "# ginkgo is not installed! run the following command:"
    11    echo "    go install github.com/onsi/ginkgo/ginkgo"
    12    exit 1
    13  fi
    14  
    15  cd $(dirname $0)/..
    16  ginkgo -r -p -race