Skip to content

Commit

Permalink
Use anchored regexp for filtering vendored tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sean- committed Jul 12, 2016
1 parent b0fa994 commit 3ff6f63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ go build -o $TEMPDIR/nomad || exit 1
# Run the tests
echo "--> Running tests"
GOBIN="`which go`"
go list ./... | grep -v '/vendor/' | \
go list ./... | grep -v '^github.com/hashicorp/nomad/vendor/' | \
sudo \
-E PATH=$TEMPDIR:$PATH \
-E GOPATH=$GOPATH \
Expand Down

0 comments on commit 3ff6f63

Please sign in to comment.