github.com/cloudfoundry-attic/ltc@v0.0.0-20151123212628-098adc7919fc/scripts/test (about)

     1  #!/bin/bash
     2  set +e
     3  
     4  pushd $(dirname $(dirname $0)) > /dev/null
     5  
     6  if [ -z "$GO_PIPELINE_NAME" ]; then #Locally run with color.
     7      ginkgo -r --randomizeAllSpecs --randomizeSuites --failOnPending --trace --race
     8  else
     9      ginkgo -r --randomizeAllSpecs --randomizeSuites --failOnPending --trace --race --noColor
    10  fi
    11  TEST_RESULT=$?
    12  
    13  popd > /dev/null
    14  exit $TEST_RESULT