mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 02:15:43 +03:00
only test command/agent
This commit is contained in:
@@ -11,8 +11,9 @@ go build -o $TEMPDIR/nomad || exit 1
|
||||
# Run the tests
|
||||
echo "--> Running tests"
|
||||
GOBIN="`which go`"
|
||||
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}
|
||||
$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}
|
||||
|
||||
Reference in New Issue
Block a user