github.com/schwarzm/garden-linux@v0.0.0-20150507151835-33bca2147c47/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 scripts/remote-fly -nodes 4 $ARGS 9 elif [ -d $ARGS ] && 10 [ "$(find $ARGS -maxdepth 1 -name '*_linux_test.go')" != "" ]; then 11 scripts/test-in-docker $ARGS 12 else 13 ginkgo -r -race $ARGS 14 fi 15