Skip to content

Commit

Permalink
exclude only cmd/smgen from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dpanayotov committed Nov 20, 2019
1 parent e594138 commit b3f167c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ GO_BUILD = env CGO_ENABLED=0 GOOS=$(PLATFORM) GOARCH=$(ARCH) \
$(GO) build $(GO_FLAGS) -ldflags '-s -w $(BUILD_LDFLAGS) $(VERSION_FLAGS) '

# TEST_FLAGS - extra "go test" flags to use
GO_INT_TEST = $(GO) test -p 1 -race -coverpkg $(shell go list ./... | egrep -v "fakes|test|cmd|parser" | paste -sd "," -) \
GO_INT_TEST = $(GO) test -p 1 -race -coverpkg $(shell go list ./... | egrep -v "fakes|test|smgen|parser" | paste -sd "," -) \
./test/... $(TEST_FLAGS) -coverprofile=$(INT_TEST_PROFILE)

GO_UNIT_TEST = $(GO) test -p 1 -race -coverpkg $(shell go list ./... | egrep -v "fakes|test|cmd|parser" | paste -sd "," -) \
GO_UNIT_TEST = $(GO) test -p 1 -race -coverpkg $(shell go list ./... | egrep -v "fakes|test|smgen|parser" | paste -sd "," -) \
$(shell go list ./... | egrep -v "test") -coverprofile=$(UNIT_TEST_PROFILE)

COUNTERFEITER ?= "v6.0.2"
Expand Down

0 comments on commit b3f167c

Please sign in to comment.