github.com/cloudfoundry-attic/garden-linux@v0.333.2-candidate/scripts/test_from_vim (about) 1 #!/usr/bin/env bash 2 3 set -e 4 5 ARGS=$@ 6 7 if egrep -q integration <(echo "$ARGS"); then 8 (cd ../../../..; ./scripts/remote-fly ci/nested-garden-linux-tests.yml -- -nodes 4 $ARGS) 9 elif [ -d $ARGS ] && 10 [ "$(find $ARGS -maxdepth 1 -name '*_linux_test.go')" != "" ]; then 11 (cd ../../../..; ./scripts/remote-fly ci/nested-garden-linux-tests.yml $ARGS) 12 else 13 ginkgo -r -race $ARGS 14 fi 15