mirror of
https://github.com/rtr7/router7.git
synced 2024-05-06 15:54:52 +00:00
make test: disable -buildvcs to make sudo work
This commit is contained in:
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
|
||||
|
Reference in New Issue
Block a user