Skip to content

Commit

Permalink
Fix coverage testing target
Browse files Browse the repository at this point in the history
  • Loading branch information
workanator committed Sep 5, 2017
1 parent cd9cdb1 commit 18290c1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ race:
@go test -v -race ./...

coverage:
@go test -v -race -covermode=count -coverprofile=coverage-tmp.out
@go test -v -covermode=count -coverprofile=coverage-tmp.out
@cat coverage-tmp.out > coverage.out

@go test -v -race -covermode=count -coverprofile=coverage-tmp.out ./guard
@go test -v -covermode=count -coverprofile=coverage-tmp.out ./guard
@sed -e '1d' < coverage-tmp.out >> coverage.out

@go test -v -race -covermode=count -coverprofile=coverage-tmp.out ./pred
@go test -v -covermode=count -coverprofile=coverage-tmp.out ./pred
@sed -e '1d' < coverage-tmp.out >> coverage.out

@go test -v -race -covermode=count -coverprofile=coverage-tmp.out ./run
@go test -v -covermode=count -coverprofile=coverage-tmp.out ./run
@sed -e '1d' < coverage-tmp.out >> coverage.out

@rm coverage-tmp.out

0 comments on commit 18290c1

Please sign in to comment.