revert test script

This commit is contained in:
Alex Dadgar 2016-08-11 19:24:37 -07:00
parent ffa69feb56
commit 86d320fee6

View file

@ -11,9 +11,8 @@ go build -o $TEMPDIR/nomad || exit 1
# Run the tests
echo "--> Running tests"
GOBIN="`which go`"
$GOBIN test -v -timeout=900s github.com/hashicorp/nomad/command/agent
#go list ./... | grep -v '^github.com/hashicorp/nomad/vendor/' | \
#sudo \
#-E PATH=$TEMPDIR:$PATH \
#-E GOPATH=$GOPATH \
#xargs $GOBIN test -v ${GOTEST_FLAGS:--cover -timeout=900s}
go list ./... | grep -v '^github.com/hashicorp/nomad/vendor/' | \
sudo \
-E PATH=$TEMPDIR:$PATH \
-E GOPATH=$GOPATH \
xargs $GOBIN test -v ${GOTEST_FLAGS:--cover -timeout=900s}