3
0

add(makefile): test.sam.db target

This commit is contained in:
Tit Petric
2018-10-02 16:31:42 +02:00
parent 77a6fbf6be
commit b8b530ed17

View File

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