Specify to include test utilities when testing
This commit is contained in:
parent
0bc286dc93
commit
e726534f1f
2
Makefile
2
Makefile
@ -18,7 +18,7 @@ all: format build test
|
||||
|
||||
test:
|
||||
@echo ">> running tests"
|
||||
@$(GO) test -short -race $(pkgs)
|
||||
@$(GO) test -tags test -short -race $(pkgs)
|
||||
|
||||
test-integration: build test
|
||||
@./build/integration.sh
|
||||
|
@ -20,5 +20,5 @@ set -x
|
||||
./build/check_gofmt.sh .
|
||||
./build/check_boilerplate.sh
|
||||
go vet github.com/google/cadvisor/...
|
||||
godep go test -v -race -test.short github.com/google/cadvisor/...
|
||||
godep go test -tags test -v -race -test.short github.com/google/cadvisor/...
|
||||
godep go build github.com/google/cadvisor
|
||||
|
Loading…
Reference in New Issue
Block a user