Commit 0108770d authored by Luke Champine's avatar Luke Champine

add go vet to make test-long

parent ab21e6fb
......@@ -40,6 +40,10 @@ pkgs = ./api ./build ./compatibility ./crypto ./encoding ./modules ./modules/con
fmt:
go fmt $(pkgs)
# vet calls go vet on all packages.
vet:
go vet $(pkgs)
# REBUILD touches all of the build-dependent source files, forcing them to be
# rebuilt. This is necessary because the go tool is not smart enough to trigger
# a rebuild when build tags have been changed.
......@@ -72,7 +76,7 @@ test: REBUILD
go test -short -tags='debug testing' -timeout=3s $(pkgs) -run=$(run)
test-v: REBUILD
go test -race -v -short -tags='debug testing' -timeout=15s $(pkgs) -run=$(run)
test-long: clean fmt REBUILD
test-long: clean fmt vet REBUILD
go test -v -race -tags='testing debug' -timeout=300s $(pkgs) -run=$(run)
bench: clean fmt REBUILD
go test -tags='testing' -timeout=300s -run=XXX -bench=. $(pkgs)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment