Skip to content

Commit

Permalink
yet another coverage fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jdef committed Feb 25, 2017
1 parent 2c6c782 commit 5f7e920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ test-verbose: test
.PHONY: coverage $(COVERAGE_TARGETS)
coverage: TEST_FLAGS = -v -cover -race
coverage: $(COVERAGE_TARGETS)
cat _output/*.cover | sed -e '2,$$ s/^mode:.*$$//' >_output/coverage.out
cat _output/*.cover | sed -e '2,$$ s/^mode:.*$$//' -e '/^$$/d' >_output/coverage.out
$(COVERAGE_TARGETS):
mkdir -p _output && go test ./$(@:%.cover=%) $(TEST_FLAGS) -coverprofile=_output/$(subst /,___,$@)

Expand Down

0 comments on commit 5f7e920

Please sign in to comment.