add(makefile): test.sam.db target
This commit is contained in:
4
Makefile
4
Makefile
@@ -77,6 +77,10 @@ test.sam: $(GOTEST)
|
||||
$(GOTEST) -covermode count -coverprofile .cover.out -v ./sam/repository/...
|
||||
$(GO) tool cover -func=.cover.out | grep --color "^\|[^0-9]0.0%"
|
||||
|
||||
test.sam.db: $(GOTEST)
|
||||
$(GOTEST) -covermode count -coverprofile .cover.out -v ./sam/db/...
|
||||
$(GO) tool cover -func=.cover.out | grep --color "^\|[^0-9]0.0%"
|
||||
|
||||
test.pubsub: $(GOTEST)
|
||||
$(GOTEST) -run PubSubMemory -covermode count -coverprofile .cover.out -v ./sam/repository/pubsub*.go ./sam/repository/flags*.go ./sam/repository/error*.go
|
||||
perl -pi -e 's/command-line-arguments/.\/sam\/repository/g' .cover.out
|
||||
|
||||
Reference in New Issue
Block a user