Specify to include test utilities when testing

This commit is contained in:
Tim St. Clair 2016-02-11 14:08:17 -08:00
parent 0bc286dc93
commit e726534f1f
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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