make test: disable -buildvcs to make sudo work
This commit is contained in:
parent
ff0020b47b
commit
e17be63d46
2
Makefile
2
Makefile
@ -46,7 +46,7 @@ test:
|
||||
go build -mod=mod ${PKGS} github.com/rtr7/tools/cmd/...
|
||||
go test -mod=mod -count=1 -v -race github.com/rtr7/router7/internal/...
|
||||
# integration tests
|
||||
${SUDO} $(shell go env GOROOT)/bin/go test -count=1 -v -race github.com/rtr7/router7/...
|
||||
${SUDO} $(shell go env GOROOT)/bin/go test -buildvcs=false -count=1 -v -race github.com/rtr7/router7/...
|
||||
|
||||
testdhcp:
|
||||
go test -v -coverprofile=/tmp/cov github.com/rtr7/router7/internal/dhcp4d
|
||||
|
Loading…
x
Reference in New Issue
Block a user